forked from rapyuta-robotics/zethus
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
72 lines (72 loc) · 1.86 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-airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"jsx-a11y/label-has-associated-control": "off",
"semi": 2,
"func-names": "off",
"no-plusplus": "off",
"comma-dangle": "off",
"import/prefer-default-export": "off",
"class-methods-use-this": "off",
"no-unused-vars": [
"warn",
{ "vars": "all", "args": "after-used", "ignoreRestSiblings": false }
],
"no-param-reassign": "off",
"no-unused-expressions": "warn",
"no-bitwise": "off",
"no-continue": "off",
"no-restricted-syntax": "off",
"no-multi-spaces": "off",
"no-undef": "warn",
"no-case-declarations": "off",
"array-callback-return": "off",
"prettier/prettier": "error",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"import/no-named-as-default": 0,
"react/sort-comp": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/no-did-mount-set-state": 0,
"import/first": 0,
"no-console": 0,
"react/prop-types": 0,
"react/no-unescaped-entities": 0,
"no-underscore-dangle": 0,
"default-case": 0,
"jsx-a11y/label-has-for": 0,
"function-paren-newline": 0,
"no-confusing-arrow": 0,
"arrow-parens": 0,
"space-before-function-paren": 0,
"object-curly-newline": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["to"]
}
]
},
"globals": {}
}