-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
81 lines (81 loc) · 2.44 KB
/
.eslintrc.json
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
73
74
75
76
77
78
79
80
81
{
"parser": "babel-eslint",
"extends": "airbnb",
"env":{
"browser": true,
"es6": true,
"node": true,
"commonjs": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"arrowFunctions": true,
"classes": true,
"modules": true,
"defaultParams": true
}
},
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"semi":"off",
"eol-last":"off",
"comma-dangle": 0,
"no-plusplus": 0,
"no-multi-spaces": 0,
"no-alert": 0,
"no-console": 0,
"indent": [2, 4, {"SwitchCase": 1}],
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/jsx-no-bind": 2,
"react/no-multi-comp": 2,
"react/no-string-refs": 2,
"react/jsx-pascal-case": 2,
"react/jsx-tag-spacing": 2,
"react/prefer-es6-class": 2,
"react/jsx-boolean-value": 2,
"react/self-closing-comp": 2,
"react/jsx-curly-spacing": 2,
"react/jsx-wrap-multilines": 2,
"react/require-render-return": 2,
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx"] }],
"react/prefer-stateless-function": 2,
"react/jsx-closing-bracket-location": 2,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"jsx-a11y/alt-text": 2,
"jsx-a11y/img-redundant-alt": 2,
"jsx-quotes": 2,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"no-return-assign": 0,
"jsx-a11y/no-static-element-interactions": 0,
"no-underscore-dangle": 0,
"import/prefer-default-export": 0,
"import/first": 0,
"import/no-webpack-loader-syntax": 0,
"react/no-array-index-key": 0,
"react/sort-comp": 0,
"class-methods-use-this": 0,
"no-unused-expressions": 0,
"no-shadow": 0,
"no-mixed-operators": 0,
"consistent-return": 0,
"jsx-a11y/href-no-hash": 0,
"no-undef": 0,
"no-unused-vars": 0,
"import/no-mutable-exports": 0,
"jsx-a11y/anchor-is-valid": 0,
"global-require": 0
}
}