forked from dethcrypto/dethcode
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.json
More file actions
33 lines (29 loc) · 786 Bytes
/
.eslintrc.json
File metadata and controls
33 lines (29 loc) · 786 Bytes
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": ["no-only-tests", "simple-import-sort"],
"extends": ["typestrict"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"no-only-tests/no-only-tests": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/no-use-before-define": "off",
// TypeScript checks this
"no-invalid-this": "off"
},
"ignorePatterns": ["**/*.d.ts", "**/dist/**"],
"overrides": [
{
"files": ["./packages/vscode-host/src/**/*.ts"],
"rules": {
"simple-import-sort/imports": "off"
}
}
]
}