-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.js
46 lines (46 loc) · 994 Bytes
/
.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
module.exports = {
extends: [
"airbnb",
"prettier",
],
rules: {
"import/no-named-as-default": 0,
"no-underscore-dangle": "off",
"no-console": 0,
"space-in-parens": 0,
"no-plusplus": 0,
"no-use-before-define": 0,
"padded-blocks": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"no-bitwise": 0,
"no-shadow": 0,
"react/jsx-filename-extension": [1, { extensions: [".js", ".jsx"] }],
"arrow-body-style": 0,
"no-tabs": 0,
"no-tabs": 0,
indent: ["error", "tab"],
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"function-paren-newline": ["error", "consistent"],
"jsx-a11y/anchor-is-valid": [
"error",
{
components: [],
specialLink: [],
aspects: ["noHref", "invalidHref", "preferButton"]
}
],
},
env: {
browser: true,
node: true,
jest: true,
mocha: true,
mongo: true
},
plugins: [
"import",
"prettier",
]
};