forked from gajus/slonik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
59 lines (59 loc) · 1.41 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
48
49
50
51
52
53
54
55
56
57
58
59
{
"parser": "@typescript-eslint/parser",
"parserOptions": {"ecmaVersion": 2018, "sourceType": "module"},
"extends": [
"canonical"
],
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"ignorePatterns": ["dist", "node_modules", "coverage"],
"root": true,
"rules": {
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/no-non-null-assertion": 1,
"@typescript-eslint/prefer-ts-expect-error": 1,
"unicorn/prevent-abbreviations": 0,
"no-undef": 0,
"linebreak-style": 0,
// https://github.com/typescript-eslint/typescript-eslint/issues/1624#issuecomment-589731039
"import/no-unresolved": 0,
"import/no-default-export": 1,
"no-extra-parens": 0,
"no-unused-vars": 0,
"@typescript-eslint/no-unused-vars": 1,
"require-await": 0,
"object-curly-newline": [
2,
{
"ExportDeclaration": {
"minProperties": 1,
"multiline": true
},
"ImportDeclaration": {
"minProperties": 1,
"multiline": true
}
}
],
"import/no-cycle": 0,
"no-continue": 0,
"no-restricted-syntax": 0,
"no-unused-expressions": [
2,
{
"allowTaggedTemplates": true
}
]
},
"overrides": [
{
"files": "*.d.ts",
"rules": {
"filenames/match-regex": 0,
"import/no-default-export": 0,
"import/unambiguous": 0
}
}
]
}