mirror of https://github.com/IoTcat/DPlayer.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.6 KiB
63 lines
1.6 KiB
{ |
|
"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, |
|
"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, |
|
"no-trailing-spaces": 1, |
|
"quotes": [1, "single"] |
|
}, |
|
"globals": { |
|
"require": false, |
|
"module": false, |
|
"Hls": false, |
|
"flvjs": false, |
|
"dashjs": false, |
|
"WebTorrent": false |
|
} |
|
} |