-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 937 Bytes
/
.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
{
"extends": ["eslint:recommended", "react-app"],
"plugins": [
"react-hooks",
"react"
],
"rules": {
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
"no-trailing-spaces": 2,
"no-extra-semi": 2,
"semi": 2,
"indent": [2, 2],
"quotes": [2, "single"],
"jsx-quotes": [2, "prefer-single"],
"no-multi-spaces": 2,
"no-console": 1,
"spaced-comment": 2,
"block-spacing": 2,
"object-curly-spacing": [2, "always"],
"array-bracket-spacing": 2,
"brace-style": 2,
"comma-spacing": 2,
"no-mixed-spaces-and-tabs": 2,
"semi-spacing": 2,
"keyword-spacing": 2,
"comma-style": 2,
"no-unused-vars": 2,
"no-warning-comments": 0,
"comma-dangle": [
2,
"always-multiline",
"error",
{"functions": "ignore"}
],
"react/prop-types": [2]
}
}