-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
29 lines (29 loc) · 696 Bytes
/
.eslintrc
File metadata and controls
29 lines (29 loc) · 696 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
{
parser: "babel-eslint",
"plugins": [
"react"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"quotes": [2, "single"],
"strict": [2, "never"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"no-invalid-regexp": 2,
"no-empty-function": 1,
"no-invalid-this": 1,
"no-self-compare": 1,
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"camelcase": [1, {properties: "always"}],
"indent": [1, 4, { "SwitchCase": 1 }],
"space-before-blocks": [2, "always"],
"block-spacing": [2, "always"],
"no-duplicate-imports": 2,
"no-unused-vars": 2
},
}