forked from greatsuspender/thegreatsuspender
-
Notifications
You must be signed in to change notification settings - Fork 87
/
.eslintrc.json
40 lines (40 loc) · 982 Bytes
/
.eslintrc.json
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
38
39
40
{
"root": true,
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"browser": true,
"es6": true,
"webextensions": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"rules": {
"no-console": 0,
"no-unused-vars": [
"error",
{ "vars": "all", "args": "none", "ignoreRestSiblings": false }
],
"no-undef": ["error"],
"no-proto": ["error"],
// "prefer-arrow-callback": ["warn"], TODO: refactor to use arrow functions
// "no-var": ["error"], TODO: refactor to use let and const
"prefer-spread": ["warn"],
// "semi": ["error", "always"],
"padded-blocks": ["off", { "blocks": "never" }],
// "indent": ["error", 2],
"one-var": ["off", "never"],
"spaced-comment": ["off", "always"]
// "space-before-function-paren": [
// "error",
// {
// "anonymous": "always",
// "named": "never",
// "asyncArrow": "always"
// }
// ]
}
}