mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
27 lines
729 B
JavaScript
27 lines
729 B
JavaScript
import antfu from "@antfu/eslint-config";
|
|
|
|
export default antfu({
|
|
ignores: [
|
|
"**/hint.less",
|
|
],
|
|
formatters: {
|
|
css: true,
|
|
html: true,
|
|
markdown: 'prettier',
|
|
},
|
|
rules: {
|
|
"eslint-comments/no-unlimited-disable": "off",
|
|
},
|
|
}, {
|
|
name: 'artplayer/frozen-vast-public-declaration',
|
|
files: ['packages/artplayer-plugin-vast/types/artplayer-plugin-vast.d.ts'],
|
|
// Keep actual npm 1.0.0 declaration bytes; strict consumers verify its contracts.
|
|
rules: {
|
|
'style/semi': 'off',
|
|
'style/indent': 'off',
|
|
'style/member-delimiter-style': 'off',
|
|
'ts/no-use-before-define': 'off',
|
|
'ts/consistent-type-definitions': 'off',
|
|
},
|
|
});
|