-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 1.06 KB
/
.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
33
34
35
36
37
{
"env": {
"browser": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"comma-dangle": 0,
"arrow-body-style": 0,
"no-shadow": 0,
"indent": ["error", 4, { "SwitchCase": 1 }],
"func-names": "off",
"no-underscore-dangle": "off",
"max-len": "off",
"no-bitwise": "off",
"no-param-reassign": ["warn", { "props": false }],
"padded-blocks": "off",
"no-use-before-define": "warn",
"no-plusplus": "off",
"prefer-template": "off",
"consistent-return": "off",
"no-console": "off",
"no-restricted-syntax": ["error", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
"dot-notation": "off",
"semi": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty": "error",
"no-unreachable": "error"
}
}