-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
47 lines (45 loc) · 1.1 KB
/
.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
39
40
41
42
43
44
45
46
47
{
"settings": {
"import/resolver": {
"typescript": {
"extensions": [".js", ".ts"],
"moduleDirectory": ["node_modules"]
},
"alias": {
"extensions": [".js", ".ts"]
}
}
},
"parser": "@typescript-eslint/parser",
"extends": [
"prettier",
"plugin:import/typescript"
],
"env": {
"es6": true,
"node": true
},
"plugins": [
"simple-import-sort",
"import",
"@typescript-eslint"
],
"rules": {
"arrow-parens": "off",
"import/extensions": "off",
"semi": 0,
"simple-import-sort/imports": "warn",
"sort-imports": "off",
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"no-param-reassign": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-unused-vars": "off",
"no-unused-vars": "off",
"lines-between-class-members": "off",
"prefer-template": "warn",
"no-restricted-syntax": "warn"
}
}