forked from iircaz55/TronLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
91 lines (91 loc) · 3.1 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,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"react",
"import",
"class-property"
],
"settings": {
"react": {
"version": "16.6.0"
}
},
"rules": {
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"no-console": "off",
"object-curly-spacing": [ "error", "always" ],
"computed-property-spacing": [ "error", "always" ],
"key-spacing": [ "error", { "beforeColon": false, "afterColon": true } ],
"prefer-const": [ "error" ],
"no-empty": [ "error", { "allowEmptyCatch": true } ],
"no-unreachable": [ "error" ],
"curly": [ "error", "multi-or-nest" ],
"no-alert": [ "error" ],
"no-else-return": [ "error" ],
"no-extra-bind": [ "error" ],
"camelcase": [ "error" ],
"lines-between-class-members": [ "error" ],
"no-multiple-empty-lines": [ "error", { "max": 1 } ],
"no-tabs": [ "error" ],
"prefer-arrow-callback": [ "error" ],
"prefer-template": [ "error" ],
"space-before-blocks": [ "error", "always" ],
"space-infix-ops": [ "error" ],
"no-multi-spaces": [ "error" ],
"block-spacing": [ "error" ],
"no-var": [ "error" ],
"no-new-object": [ "error" ],
"object-shorthand": [ "error" ],
"quote-props": [ "error", "as-needed" ],
"no-array-constructor": [ "error" ],
"array-callback-return": [ "error" ],
"prefer-destructuring": [ "error", { "array": false } ],
"func-style": [ "error", "expression" ],
"arrow-spacing": [ "error" ],
"no-useless-constructor": [ "error" ],
"no-duplicate-imports": [ "error" ],
"import/first": [ "error" ],
"dot-notation": [ "error" ],
"one-var": [ "error", "never" ],
"no-multi-assign": [ "error" ],
"no-mixed-operators": [ "error" ],
"padded-blocks": [ "error", "never" ],
"comma-spacing": [ "error" ],
"func-call-spacing": [ "error" ],
"no-trailing-spaces": [ "error" ],
"no-new-wrappers": [ "error" ],
"new-cap": [ "error", { "properties": false } ],
"no-unused-vars": [ "error", { "args": "none", "ignoreRestSiblings": true } ],
"class-property/class-property-semicolon": [ "error" ],
"jsx-quotes": [ "error", "prefer-single" ],
"react/jsx-closing-bracket-location": [ "error" ],
"react/jsx-closing-tag-location": [ "error" ],
"react/no-children-prop": [ 0 ],
"react/prop-types": [ 0 ],
"no-param-reassign": [ 0 ]
},
"globals": {
"EXTENSION_ID": false,
"ENVIRONMENT": false,
"tronWeb": false,
"ga": false
}
}