-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.eslintrc
44 lines (44 loc) · 1.1 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
36
37
38
39
40
41
42
43
44
{
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"extends": ["eslint:recommended", "airbnb"],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react", "import"],
"rules": {
"space-before-function-paren": 0,
"no-mixed-operators": "off",
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"global-require": 0,
"guard-for-in": 0,
"jsx-a11y/click-events-have-key-events": 0,
"quotes": ["error", "single"],
"semi": ["error", "always"],
"react/forbid-prop-types": "off",
"max-len": "off"
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["Containers", "./app/containers"],
["Components", "./app/components"],
["Assets", "./app/assets"],
["Store", "./app/store"],
["Utils", "./app/utils"],
["UI", "./app/components/UI"]
],
"extensions": [".jsx", ".js"]
}
}
}
}