mirror of
https://github.com/DIYgod/DPlayer
synced 2024-11-22 18:56:54 +00:00
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
{
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"no-console": 0,
|
|
"no-extra-parens": 1,
|
|
"block-scoped-var": 1,
|
|
"curly": 1,
|
|
"eqeqeq": 1,
|
|
"no-global-assign": 1,
|
|
"no-implicit-globals": 1,
|
|
"no-labels": 1,
|
|
"no-multi-str": 1,
|
|
"no-unused-expressions": 1,
|
|
"comma-spacing": 1,
|
|
"comma-style": 1,
|
|
"func-call-spacing": 1,
|
|
"indent": 1,
|
|
"keyword-spacing": 1,
|
|
"linebreak-style": 1,
|
|
"lines-around-comment": 1,
|
|
"no-multiple-empty-lines": 1,
|
|
"space-infix-ops": 1,
|
|
"arrow-spacing": 1,
|
|
"no-var": 1,
|
|
"prefer-const": 1,
|
|
"no-unsafe-negation": 1,
|
|
"array-callback-return": 1,
|
|
"dot-location": 1,
|
|
"dot-notation": 1,
|
|
"no-eval": 1,
|
|
"no-extend-native": 1,
|
|
"no-extra-label": 1,
|
|
"semi": 1,
|
|
"space-before-blocks": 1,
|
|
"space-before-function-paren": 1,
|
|
"space-in-parens": 1,
|
|
"space-unary-ops": 1,
|
|
"spaced-comment": 1,
|
|
"arrow-body-style": 1,
|
|
"arrow-parens": 1,
|
|
"no-restricted-imports": 1,
|
|
"no-duplicate-imports": 1,
|
|
"no-useless-computed-key": 1,
|
|
"no-useless-rename": 1,
|
|
"rest-spread-spacing": 1
|
|
},
|
|
"globals": {
|
|
"require": false,
|
|
"module": false,
|
|
"Hls": false,
|
|
"flvjs": false
|
|
}
|
|
} |