-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
34 lines (33 loc) · 907 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
{
"env": {
"es6": true,
"browser": false,
"node": true
},
"plugins": [ "jest" ],
"extends": [ "eslint:recommended", "google", "plugin:jest/recommended" ],
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"array-bracket-spacing": "off",
"comma-dangle": "off",
"indent": [ "error", 2, { "SwitchCase": 1 } ],
"linebreak-style": [ "error", "unix" ],
"max-len": "off",
"no-console": [ 0, { "allow": [ "warn", "error", "info", "dir" ] } ],
"no-constant-condition": "off",
"no-unused-vars": [
"error",
{ "vars": "local", "args": "after-used", "ignoreRestSiblings": false, "argsIgnorePattern": "next" }
],
"no-useless-escape": "off",
"object-curly-spacing": "off",
"quotes": "off",
"semi": [ "error", "always" ],
"valid-jsdoc": "off"
}
}