-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
26 lines (26 loc) · 889 Bytes
/
.eslintrc.json
File metadata and controls
26 lines (26 loc) · 889 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
{
"extends": "airbnb",
"globals": {
"atom": true,
"electron": true
},
"rules": {
"arrow-parens": [ "error", "as-needed" ],
"class-methods-use-this": [0],
"comma-dangle": [ "error", "only-multiline" ],
"function-paren-newline": [ "error", "consistent" ],
"key-spacing": [ "error", { "mode": "minimum" } ],
"max-len": [ "error", { "code": 140 } ],
"no-unused-vars": [0],
"no-console": [0],
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["itemsConfig"] }],
"no-plusplus": [0],
"no-underscore-dangle": [ "error", { "allow": ["_links"] } ],
"semi": [0],
"import/extensions": [2, "never"],
"import/no-unresolved": [2, { "ignore": ["atom", "electron", "jasmine"] }],
"react/jsx-filename-extension": [0],
"react/no-string-refs": [0],
"jsx-a11y/tabindex-no-positive": [0]
}
}