-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
44 lines (44 loc) · 1.13 KB
/
.eslintrc.yml
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
env:
es2021: true
node: true
extends:
- google
- standard-with-typescript
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 12
sourceType: module
project: ["./tsconfig.json"]
plugins:
- "@typescript-eslint"
rules:
{
"max-len":
[
"error",
{
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
},
],
"no-invalid-this": 0,
"new-cap": 0,
"template-curly-spacing": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"object-curly-newline":
[
"error",
{
"ImportDeclaration": { "multiline": true, "minProperties": 3 },
"ObjectExpression": "always",
"ObjectPattern": { "multiline": true },
},
],
"object-property-newline":
["error", { "allowAllPropertiesOnSameLine": false }],
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 2 }],
"multiline-comment-style": ["error", "starred-block"],
"@typescript-eslint/semi": ["error", "always"],
"function-paren-newline": ["error", { "minItems": 2 }],
}