-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
28 lines (28 loc) · 794 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": ["plugin:@typescript-eslint/recommended"],
"plugins": ["react", "react-hooks", "@typescript-eslint", "import", "simple-import-sort"],
"env": {
"browser": true,
"es6": true
},
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"linebreak-style": ["error", "unix"],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
},
"ignorePatterns": []
}