-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 968 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6
},
"extends": [
"prettier/react",
"prettier",
"prettier/standard",
"standard",
"plugin:prettier/recommended",
"plugin:react/recommended",
"eslint:recommended"
],
"plugins": ["react", "prettier", "standard", "babel", "promise", "mocha", "node"],
"globals": {
"expect": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"no-console": 0,
"no-var": 2,
"camelcase": 2,
"keyword-spacing": [2, { "before": true, "after": true }],
"object-curly-spacing": [2, "always"],
"no-unused-vars": ["error", { "varsIgnorePattern": "should|expect|React" }],
"prettier/prettier": "error",
"max-len": ["error", { "code": 120, "ignoreUrls": true, "ignoreComments": true, "ignoreTemplateLiterals": true }],
"quotes": ["error", "single", { "allowTemplateLiterals": true }]
}
}