-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
59 lines (59 loc) · 1.54 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"impliedStrict": true,
"classes": true
}
},
"env": {
"browser": true,
"node": true
},
"globals": {
"google": "readonly"
},
"rules": {
"no-unused-vars": 1,
"no-console": 0,
"global-require": 0,
"consistent-return": 0,
"camelcase": [0],
"no-use-before-define": 0,
"no-empty": [1, { "allowEmptyCatch": true }],
"react/destructuring-assignment": 0,
"prettier/prettier": 0,
"react/jsx-filename-extension": 0,
"react/jsx-props-no-spreading": 0,
"react/react-in-jsx-scope": 0,
"react/forbid-prop-types": 0,
"react/no-unused-state": 0,
"react/no-array-index-key": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"import/prefer-default-export": 0,
"import/named": 0,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 1,
"react/prop-types": 0,
"react/jsx-curly-brace-presence": 0,
"no-shadow": 0
},
"plugins": ["react-hooks", "prettier"],
"ignorePatterns": ["node_modules/", ".next/"],
"settings": {
"import/resolver": {
"alias": [
["@/api", "./src/data/tasks"],
["@/config", "./src/config"],
["@/lib", "./src/lib/index"],
["@/ui", "./src/components/ui/index"]
]
}
}
}