-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
25 lines (24 loc) · 724 Bytes
/
Copy path.eslintrc
File metadata and controls
25 lines (24 loc) · 724 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
{
"extends": ['airbnb'],
"parser": "babel-eslint",
"env": {
"browser": true,
},
"globals": {
},
"rules": {
"no-console": ["warn", { "allow": ["warn", "error"] }],
"max-len": ["warn", 180],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"no-param-reassign": ["error", { "props": false }],
"no-multi-spaces": ["error", { "exceptions": { "VariableDeclarator": true, "ImportDeclaration": true, "Property": true } }],
"key-spacing": ["error", { "mode": "minimum" }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
}