-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
34 lines (33 loc) · 916 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "no-only-tests", "import"],
"rules": {
"no-unused-expressions": "error",
"no-console": "warn",
"no-unreachable": "error",
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "^_" }],
"@typescript-eslint/explicit-member-accessibility": "error",
"@typescript-eslint/member-ordering": [
"off",
{
"default": [
"static-field",
"instance-field",
"abstract-field",
"constructor",
"static-method",
"instance-method",
"abstract-method"
]
}
],
"no-only-tests/no-only-tests": "error",
"import/no-default-export": "error",
"import/group-exports": "error",
"import/exports-last": "error"
}
}