-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
31 lines (31 loc) · 927 Bytes
/
.eslintrc.json
File metadata and controls
31 lines (31 loc) · 927 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
{
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true
},
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"semi": [2, "never"],
"brace-style": [2, "stroustrup"],
"arrow-parens": [2, "always"],
"no-console": ["error", { "allow": ["debug", "warn", "error"]}],
"camelcase": [0, {"properties":"never", "ignoreDestructuring": true} ],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-uses-vars": [2],
"react/forbid-prop-types": { "forbid": ["any", "array"] }
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"globals": {}
}