-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (30 loc) · 850 Bytes
/
.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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"brace-style": [2, "1tbs"],
"camelcase": 0,
"no-bitwise": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": 2,
"no-tabs": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 0,
"quote-props": [2, "as-needed"],
"quotes": [2, "single", "avoid-escape"],
"strict": 0,
"semi": ["error", "never"], // require or disallow use of semicolons instead of ASI,
"arrow-parens": ["error", "as-needed"], // require the use of parenthesis when needed
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
},
"parserOptions": {
"ecmaVersion": 2017
}
}