-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
37 lines (37 loc) · 759 Bytes
/
Copy path.eslintrc
File metadata and controls
37 lines (37 loc) · 759 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
29
30
31
32
33
34
35
36
37
{
"root": true,
"env": {
"es6": true,
"node": true,
"browser": true,
"jest/globals": true
},
"plugins": ["jest"],
"extends": ["airbnb-base", "plugin:import/warnings"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"linebreak-style": ["error", "windows"],
"brace-style": ["error", "1tbs"],
"comma-dangle": ["error", "never"],
"no-console": ["off"],
"no-var": ["off"],
"one-var": ["off"],
"no-unused-vars": 2,
"no-undef": 2,
"max-len": [
"error",
{
"code": 120
}
],
"max-classes-per-file": ["off"]
}
}