-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 858 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
31
32
33
34
35
36
{
"extends": ["eslint:recommended", "plugin:react/recommended", "standard", "standard-react"],
"plugins": [
"react",
"html"
],
"settings": {
"html/indent": "0",
"es6": true
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"allowImportExportEverywhere": false,
"ecmaVersion": 6
},
"rules": {
"no-console": "warn",
"prefer-const": ["error", {
"destructuring": "any"
}],
"indent": ["warn", 2, { "SwitchCase": 1 }],
"react/jsx-indent": "warn",
"no-debugger": "warn",
"react/jsx-closing-bracket-location": "error",
"react/prop-types": 0,
"import/first": 0,
"standard/no-callback-literal": 0,
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
"no-mixed-operators": 0
}
}