This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
63 lines (63 loc) · 1.39 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
{
"env": {
"browser": true,
"es6": true
},
"root": true,
"extends": [
"plugin:react/recommended",
"eslint-config-prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": ["bin", "node_modules"],
"plugins": [
"@typescript-eslint",
"react",
"react-hooks",
"prettier",
"eslint-plugin-prettier",
"import"
],
"rules": {
"react/react-in-jsx-scope": 0,
"@typescript-eslint/camelcase": 0,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 1,
"react/function-component-definition": [
1,
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"prettier/prettier": 1,
"react/jsx-filename-extension": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-fragments": 0,
"import/extensions": 0,
"react/jsx-boolean-value": 0,
"no-underscore-dangle": 0,
"arrow-body-style": 1,
"no-nested-ternary": 0,
"spaced-comment": 0,
"@typescript-eslint/ban-ts-comment": 1,
"no-plusplus": 0,
"@typescript-eslint/no-namespace": 0,
"no-console": 1
}
}