-
Notifications
You must be signed in to change notification settings - Fork 20
/
.eslintrc.json
41 lines (41 loc) · 996 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
34
35
36
37
38
39
40
41
{
"plugins": ["no-relative-import-paths", "prettier"],
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/recommended",
"plugin:eslint-comments/recommended",
"plugin:promise/recommended",
"plugin:prettier/recommended"
],
"rules": {
"import/prefer-default-export": "off",
"import/no-default-export": "error",
"no-relative-import-paths/no-relative-import-paths": [
"error",
{ "allowSameFolder": true }
]
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"root": true,
"env": {
"browser": true,
"es2022": true,
"node": true
},
"settings": {
"import/resolver": {
"node": {
"paths": ["./", "./src"],
"extensions": [".ts", ".json"]
}
}
}
}