-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc
38 lines (38 loc) · 867 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",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:prettier/recommended",
"prettier"
],
"plugins": ["react", "@typescript-eslint", "prettier", "react-hooks"],
"parser": "@typescript-eslint/parser",
"env": { "browser": true, "node": true, "es6": true, "jest": true },
"parserOptions": {
"sourceType": "module"
},
"overrides": [
{
"files": ["*.ts", ".tsx"]
}
],
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"rules": {
"react-hooks/rules-of-hooks": "warn",
"prettier/prettier": [
"warn",
{
"endOfLine": "auto"
}
],
"linebreak-style": 0,
"endOfLine": 0,
"@typescript-eslint/explicit-function-return-type": 0
}
}