-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
72 lines (71 loc) · 1.6 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
],
"plugins": [
"jest"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"es6": true,
"jquery": true,
"mocha": true,
"node": true,
"jest": true,
},
"rules": {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"arrow-body-style": [1, "as-needed"],
"arrow-parens": [1, "as-needed"],
"class-methods-use-this": 0,
"comma-dangle": [1, "always-multiline"],
"consistent-return": 0,
"eol-last": 0,
"func-names": 0,
"import/extensions": 0,
"import/imports-first": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"indent": ["error", 2, { "SwitchCase": 1, "VariableDeclarator": 1 }],
"jsx-a11y/href-no-hash": 0,
"jsx-quotes": 1,
"linebreak-style": 0,
"max-len":0,
"new-cap":0,
"no-alert": 0,
"no-console": 1,
"no-debugger": 1,
"no-global-assign": 0,
"no-lone-blocks": 0,
"no-multi-spaces": 1,
"no-shadow": 0,
"no-tabs": 0,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unsafe-negation": 0,
"no-unused-vars": [1, { "varsIgnorePattern": "(bindActionCreators|colors|chalk|dotenv|PropTypes)", "args": "none" }],
"no-use-before-define": 0,
"no-useless-constructor": 0,
"no-var": 1,
"object-curly-spacing": 1,
"one-var": 0,
"quotes": 0,
"semi": [1, "never"]
},
"settings": {
},
}