forked from aleksei0807/react-images-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.23 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
{
"env": {"browser": true, "commonjs": true, node: true},
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"babel"
],
"rules": {
"indent": [2, "tab"],
"import/no-unresolved": [2, {"commonjs": true, "amd": true}],
"new-cap": 0,
"react/prop-types": 0,
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"react/jsx-closing-bracket-location": [1, {selfClosing: 'props-aligned', nonEmpty: 'after-props'}],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"react/prefer-stateless-function": 0,
"no-console": 0,
"global-require": 0,
"generator-star-spacing": 0,
"babel/new-cap": ["error", { "capIsNew": false }],
"array-bracket-spacing": 0,
"object-curly-spacing": 0,
"object-shorthand": 0,
"arrow-parens": 0,
"no-await-in-loop": 0,
"flow-object-type": 0,
"func-params-comma-dangle": 0,
"babel/generator-star-spacing": 1,
"babel/array-bracket-spacing": 1,
"babel/object-curly-spacing": 0,
"babel/object-shorthand": 1,
"babel/arrow-parens": 1,
"babel/no-await-in-loop": 1,
"babel/flow-object-type": 1,
"babel/func-params-comma-dangle": 1,
},
"settings": {
"import/ignore": "node_modules"
}
}