/
.eslintrc.json
43 lines (42 loc) · 1.06 KB
/
.eslintrc.json
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
{
"extends": [
"airbnb",
"airbnb/hooks",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"overrides": [
{
"files":
"**/*.test.js"
,
"env": {
"jest": true
}
}
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "prettier"],
"rules": {
"import/extensions": ["off", "always", { "ignorePackages": true }],
"react/react-in-jsx-scope": 0,
"react/prop-types": 0,
"react/button-has-type": 0,
"react/jsx-no-comment-textnodes": 0,
"prettier/prettier": ["warn", { "endOfLine": "auto", "parser": "flow" }],
"linebreak-style": "off",
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"consistent-return": "off",
"func-names": "off",
"react/jsx-filename-extension": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": "off"
}
}