-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.eslintrc
113 lines (113 loc) · 2.98 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"root": true,
"extends": "airbnb-base",
"parser": "babel-eslint",
"plugins": [ "babel", "react" ],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"rules": {
"max-len": 0,
"comma-dangle": [
2,
"never"
],
"dot-notation": 0,
"arrow-parens": 0,
"linebreak-style": [
2,
"unix"
],
"no-param-reassign": 0,
"semi": [
2,
"never"
],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"array-callback-return": 0,
"arrow-body-style": 0,
"block-spacing": 0,
"brace-style": 0,
"consistent-return": 0,
"class-methods-use-this": 0,
"function-paren-newline": ["error", "consistent"],
"new-parens": 0,
"newline-per-chained-call": 0,
"no-bitwise": 0,
"no-case-declarations": 0,
"no-confusing-arrow": 0,
"no-console": 1,
"no-extra-boolean-cast": 0,
"no-nested-ternary": 0,
"no-shadow": 0,
"no-plusplus": 0,
"no-prototype-builtins": 0,
"no-lonely-if": 0,
"no-mixed-operators": 0,
"no-restricted-syntax": 0,
"no-return-assign": 0,
"no-tabs": 0,
"no-undef-init": 0,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 0,
"no-useless-escape": 0,
"no-useless-return": 0,
"object-property-newline": 0,
"object-curly-newline": 0,
"import/first": 0,
"import/no-duplicates": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"import/newline-after-import": 0,
"import/no-unresolved": 0,
"import/no-webpack-loader-syntax": 0,
"keyword-spacing": 0,
"global-require": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/img-has-alt": 0,
"jsx-a11y/img-redundant-alt": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-for": 0,
"prefer-rest-params": 0,
"prefer-template": 0,
"quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"rest-spread-spacing": 0,
"space-unary-ops": 0,
"template-curly-spacing": 0,
"valid-typeof": 0,
"react/jsx-no-bind": 0,
"react/no-danger": 0,
"react/no-string-refs": 0,
"react/no-find-dom-node": 0,
"react/jsx-curly-spacing": 0,
"react/jsx-filename-extension": 0,
"react/jsx-space-before-closing": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"react/no-array-index-key": 0,
"react/no-danger-with-children": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/sort-comp": 0,
"react/jsx-tag-spacing": 0,
"react/jsx-equals-spacing": 0,
"react/jsx-indent": 0,
"react/no-unused-prop-types": 0,
"react/jsx-first-prop-new-line": 0,
"react/self-closing-comp": 0,
"react/jsx-wrap-multilines": 0
}
}