-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 1000 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"unused-imports"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-console": 1,
"quotes": [1, "single", { "avoidEscape": true }],
"no-useless-return": 1,
"no-unused-vars": 1,
"unused-imports/no-unused-imports": "error",
"no-duplicate-imports": 1,
"no-unreachable": 1,
"no-unreachable-loop": 1,
"no-use-before-define": 1,
"no-inline-comments": 1,
"max-params": ["error", 3],
"sort-imports": ["warn", {
"ignoreCase": false,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "single", "multiple"],
"allowSeparatedGroups": false
}]
}
}