forked from Uscreen-video/atomic-builder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
73 lines (62 loc) · 1.52 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"plugins": [
"prefer-object-spread"
],
"rules": {
"comma-dangle": [1, "never"],
"space-before-function-paren": [2, {
"anonymous": "always",
"named": "never"
}],
"no-use-before-define": 0,
"no-else-return": 0,
"no-return-assign": 0,
"react/jsx-key": 1,
"react/jsx-no-literals": 0,
"react/prop-types": 0,
"react/no-direct-mutation-state": 2,
"jsx-a11y/img-uses-alt": 0,
"jsx-a11y/redundant-alt": 0,
"jsx-a11y/valid-aria-role": 0,
"jsx-quotes": [2, "prefer-single"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-void": 0,
"react/require-render-return": 0,
"react/jsx-no-undef": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-pascal-case": 0,
"import/no-extraneous-dependencies": 0,
"no-mixed-operators": 0,
"react/jsx-no-bind": [1, {
"ignoreRefs": true
}],
"react/sort-comp": 0,
"no-underscore-dangle": 0,
"no-undef": 2,
"import/no-unresolved": 0,
"no-unused-vars": [2, {
"args": "after-used",
"argsIgnorePattern": "^_"
}],
"jsx-sort-props": 0,
"id-length": 0,
"prefer-object-spread/prefer-object-spread": 2
},
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": [
"node_modules",
"app"
]
}
},
}