forked from Smuzzies/seevechain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
executable file
·60 lines (60 loc) · 1.35 KB
/
.eslintrc.js
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
module.exports = {
"env": {
"browser": false,
"es6": true,
"node": true,
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2019,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
},
"plugins": [
"react"
],
"rules": {
"react/jsx-uses-vars": "error",
"react/jsx-uses-react": "error",
"indent": [
"error",
2,
{ "flatTernaryExpressions": true },
],
"linebreak-style": [
"error",
"unix"
],
"quotes": "off",
"semi": [
"error",
"never"
],
"no-console": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "^(h|_)$" }],
"no-unused-expressions": "off",
"react/react-in-jsx-scope": "off",
"space-before-function-paren": "off",
"react/jsx-wrap-multilines": "off",
"object-curly-spacing": "off",
"comma-dangle": "off",
"space-before-blocks": "off",
"curly": "off",
"prefer-reflect": "off",
"padded-blocks": "off",
"keyword-spacing": "off",
"max-nested-callbacks": "off",
"no-multi-spaces": "off",
"key-spacing": "off",
"no-use-before-define": "off",
"no-nested-ternary": "off",
"operator-linebreak": "off",
"no-return-assign": "off",
"camelcase": "off",
"quote-props": "off",
"no-new": "off",
}
};