-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
57 lines (57 loc) · 1.42 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
{
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true,
"commonjs": true,
},
"extends": [
"eslint:recommended",
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"plugins": [
],
"rules": {
"linebreak-style": [
"error",
"unix"
],
"no-cond-assign": [
"error",
"always"
],
// disable rules from base configurations
"no-console": 0,
"indent": [1, 4],
"quotes": [
2,
"double",
{
"allowTemplateLiterals": true
}
],
"one-var": 0,
"arrow-parens": [2, "always"],
"no-confusing-arrow": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/no-dynamic-require": 0,
"import/prefer-default-export": 0,
"import/no-webpack-loader-syntax": 0, // dynamic imports using bundle-loader
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/alt-text": 0,
"jsx-a11y/media-has-caption": 0,
"jsx-a11y/href-no-hash": 0,
"no-unused-vars": 1
}
}