-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 963 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier"
],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "warn",
"@typescript-eslint/no-var-requires": "error",
"semi": "warn",
"react/jsx-filename-extension": [0, { "extensions": ["js", "jsx"] }],
"arrow-parens": "off",
"no-console": "warn",
"import/prefer-default-export": "off",
"react-hooks/exhaustive-deps": "off",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off",
"no-underscore-dangle": "warn",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "warn"
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx", ".js"]
},
"import/resolver": {
"typescript": "./tsconfig.json"
}
}
}