-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.eslintrc
More file actions
28 lines (28 loc) · 763 Bytes
/
.eslintrc
File metadata and controls
28 lines (28 loc) · 763 Bytes
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
{
"extends": ["eslint:recommended"],
"env": {
"node": true,
"browser": true,
"es6": true
},
"globals": {
"AbortController": true,
"AbortSignal": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
},
"rules": {
"indent": [ "error", 2 ],
"linebreak-style": [ "error", "unix" ],
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"eqeqeq": "error",
"no-unused-vars": ["warn", { "vars": "all", "args": "none", "ignoreRestSiblings": true }],
"no-console": "off",
"no-debugger": "warn",
"comma-dangle": ["error", "only-multiline"],
"no-prototype-builtins": "off"
}
}