forked from waves-exchange/neutrino-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·91 lines (91 loc) · 1.85 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"__": true
},
"rules": {
"semi": [ "warn", "always" ],
"quotes": [ "warn", "single" ],
"jsx-quotes": ["warn", "prefer-single"],
"strict": 0,
"no-console": "warn",
"no-debugger": "warn",
"no-undef": "warn",
"no-empty": "warn",
"no-tabs": "warn",
"valid-jsdoc": [
"warn",
{
"requireReturn": false,
"requireParamDescription": false,
"requireReturnDescription": false
}
],
"no-lonely-if": "warn",
"no-multiple-empty-lines": "warn",
"no-duplicate-case": "error",
"no-extra-boolean-cast": "error",
"no-dupe-keys": "error",
"no-dupe-args": "error",
"no-unsafe-negation": "error",
"indent": [
"warn",
4,
{
"SwitchCase": 1
}
],
"comma-style": "warn",
"block-spacing": "warn",
"no-unused-vars": [
"warn",
{
"vars": "all",
"args": "after-used",
"ignore": ["React"]
}
],
"linebreak-style": 0,
"object-curly-spacing": 0,
"quote-props": 0,
"comma-dangle": 0,
"padded-blocks": 0,
"react/prefer-stateless-function": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/jsx-no-undef": 1,
"react/react-in-jsx-scope": 1,
"import/no-extraneous-dependencies": 0,
"arrow-parens": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"no-underscore-dangle": 0,
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js"]
}
],
"react/jsx-indent": [
"error",
4
],
"react/jsx-indent-props": [
"error",
4
]
},
"plugins": [
"react"
],
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
}
}
}