-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc
50 lines (49 loc) · 1.17 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jasmine": true,
"jest": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": true
}
],
"prefer-const": ["error"],
"no-use-before-define": [
"error",
{
"functions": false
}
],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"no-debugger": ["off"],
"default-case": ["off"],
"global-require": ["off"],
"no-console": ["off"],
"one-var": ["error", { "initialized": "never", "uninitialized": "always" }],
"react/prop-types": "off",
"import/prefer-default-export": "off",
"import/newline-after-import": "off",
"consistent-return": "off",
"arrow-body-style": "off",
"no-underscore-dangle": "off",
"import/first": "off",
"jsx-a11y/no-static-element-interactions": ["off"],
"jsx-a11y/alt-text": ["off"],
"jsx-a11y/no-noninteractive-element-interactions": ["off"],
"sx-a11y/alt-text": ["off"]
}
}