forked from sqlfluff/vscode-sqlfluff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
43 lines (43 loc) · 1.18 KB
/
.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
42
43
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"eslint-plugin-import",
"eslint-plugin-tsdoc",
"simple-import-sort"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
// @typescript
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-unused-vars": "off",
// import
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
// simple-import-sort
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"tsdoc/syntax": "warn",
// other
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}],
"eol-last": "error",
"no-unused-vars": "off",
"no-trailing-spaces": "error",
"quotes": ["error", "double", "avoid-escape"]
}
}