forked from netcosports/bo-technical-test
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
73 lines (72 loc) · 2.13 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
{
"extends": ["eslint-config-prettier"],
"plugins": ["prettier"],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"ecmaFeatures": {
"jsx": true,
"es6": true,
"classes": true
},
"rules": {
"comma-dangle": [0, "never"],
"no-unused-vars": [1],
"max-len": [1, 180, 4],
"key-spacing": [2, { "mode": "minimum" }],
"arrow-spacing": [1],
"prefer-template": [1],
"prefer-const": [1],
"arrow-body-style": [0],
"no-console": [1],
"no-else-return": [0],
"no-extra-semi": [1],
"object-shorthand": [1, "properties"],
"semi": [1],
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"object-curly-spacing": [0],
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"react/prop-types": [0],
"react/jsx-closing-bracket-location": [0],
"react/react-in-jsx-scope" : [0],
"object-curly-newline" : [0],
"react/jsx-filename-extension" : [0],
"react/jsx-props-no-spreading" : [0],
"react/no-array-index-key" : [0],
"import/prefer-default-export" : [0],
"implicit-arrow-linebreak" : [0],
"no-unneeded-ternary" : [0],
"operator-linebreak" : [0],
"react/jsx-boolean-value": [0],
"no-restricted-syntax" : [0],
"prefer-arrow-callback" :[0],
"no-param-reassign" : [0],
"guard-for-in" : [0],
"jsx-a11y/label-has-associated-control" : [0],
"react/no-unknown-property" : [0],
"operator-assignment" : [0],
"no-await-in-loop" : [0],
"jsx-a11y/click-events-have-key-events" : [0],
"no-underscore-dangle" : [0],
"max-classes-per-file" : [0],
"camelcase" : [0],
"func-names" : [0],
"no-extra-boolean-cast" : [0],
"import/no-cycle" : [0],
"no-shadow": [0],
"indent" : [0],
"no-lonely-if": [0],
"nonblock-statement-body-position": [0],
"no-plusplus":[0],
"react/jsx-curly-brace-presence" : [0],
"react/self-closing-comp" : [0],
"react/jsx-one-expression-per-line" : [0],
"jsx-a11y/no-static-element-interactions" : [0],
"function-paren-newline" : [0],
"react/jsx-curly-newline" : [0],
"jsnext:main" : [0],
}
}