forked from wmira/react-icons-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (50 loc) · 1.39 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
45
46
47
48
49
50
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"classes": true,
"arrowFunctions": true,
"destructuring": true,
"modules": true,
"blockBindings": true,
"experimentalObjectRestSpread": true,
"forOf": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"mocha": true
},
"plugins": [ "react", "mocha" ],
"rules": {
"brace-style": [2, "1tbs"],
"no-trailing-spaces": "error",
"comma-style": 2,
"curly": [2, "multi-line"],
"indent": 2,
"no-unused-expressions": 0,
"no-underscore-dangle": 0,
"quotes": [2, "single", "avoid-escape"],
"eqeqeq": 2,
"strict": 2,
"no-undef": 2,
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"react/jsx-no-undef": 2,
"jsx-quotes": ["error", "prefer-single"],
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/react-in-jsx-scope": 2,
"react/prop-types": 2,
"semi": 2,
"space-before-blocks": 2,
"keyword-spacing": 2,
"space-in-parens": 0,
"mocha/no-exclusive-tests": "error",
"no-debugger": "error",
"no-console": "error"
}
}