generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
51 lines (50 loc) · 1.49 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
{
"root": true,
"ignorePatterns": [
"node_modules/**",
"dist/**",
"test/**"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"@stylistic"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@stylistic/all-extends"
],
"rules": {
"@stylistic/quote-props": ["off"],
"@stylistic/brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"@stylistic/padded-blocks": ["off"],
"@stylistic/indent": ["error", 2],
"@stylistic/quotes": ["error", "single"],
"@stylistic/semi": ["error", "never"],
"@stylistic/object-curly-spacing": ["error", "always"],
"@stylistic/no-multiple-empty-lines": ["error"],
"@stylistic/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "comma"
},
"singleline": {
"delimiter": "comma"
},
"multilineDetection": "brackets",
"overrides": {
"interface": {
"multiline": {
"delimiter": "none"
}
}
}
}],
// FIXME: turn this on if we decide on a conventional nomenclature for our types
//"@typescript-eslint/naming-convention": ["error", { "selector": "typeLike", "format": ["PascalCase"] }]
// FIXME: turn this back on once we have resolved all the any-quirks
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off"
}
}