-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
35 lines (35 loc) · 1.05 KB
/
.eslintrc
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
{
"parser": "@babel/eslint-parser",
"extends": [
"eslint:recommended",
"airbnb"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"node": true,
"es6": true,
"mocha": true,
"browser": true,
"jest": true
},
"rules": {
"import/prefer-default-export": [0],
"array-bracket-spacing": [2, "always"],
"template-curly-spacing": [2, "always"],
"object-curly-newline": [2, { "multiline": true, "consistent": true }],
"operator-linebreak": [2, "after", { "overrides": { "?": "before", ":": "before" } }],
"react/jsx-curly-spacing": [2, { "when": "always", "children": true }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-boolean-value": [0],
"max-len": [2, { "code": 100 }],
"import/no-named-as-default": 0
},
"ignorePatterns": ["node_modules/**/*", "build/**/*"]
}