forked from MastersAcademy/fe-react-2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
33 lines (33 loc) · 880 Bytes
/
.eslintrc.json
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
{
"parserOptions": {
"ecmaVersion": 2020
},
"env": {
"es2021": true
},
"ignorePatterns": ["!src/**/*.{ts,js}", "*.js", "node_modules", "vite.config.ts", "global.d.ts"],
"root": true,
"extends": [
"./.eslint/custom-style.eslintrc.json5",
"./.eslint/ordered-imports.eslintrc.json5",
"./.eslint/prettier.eslintrc.json",
"./.eslint/react.eslintrc.json",
"./.eslint/react-redux.eslintrc.json",
"./.eslint/sonarjs.eslintrc.json",
"./.eslint/typescript-naming-convention.eslintrc.js",
"./.eslint/unicorn.eslintrc.json",
"./.eslint/unicorn-react.eslintrc.json"
],
"rules": {
"consistent-return": "off",
"@typescript-eslint/consistent-type-imports": "error"
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}