forked from Joel2B/Custom-Video-Player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 838 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"parser": "babel-eslint",
"extends": ["standard"],
"env": {
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"semi": [2, "always"],
"comma-dangle": [2, "always-multiline"],
"indent": ["warn", 4, { "SwitchCase": 1 }],
"eqeqeq": ["warn", "always"],
"no-undef": "warn",
"no-throw-literal": "warn",
"no-prototype-builtins": "warn",
"prefer-const": "warn",
"no-unused-vars": "warn",
"max-len": ["warn", { "code": 120 }],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
]
}
}