This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
91 lines (71 loc) · 1.58 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
env:
browser: true
es6: true
node: true
extends:
- google
- plugin:@typescript-eslint/recommended
- plugin:eslint-plugin-import/errors
- plugin:eslint-plugin-import/warnings
- plugin:eslint-plugin-import/typescript
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2021
sourceType: module
plugins:
- "@typescript-eslint"
rules:
"@typescript-eslint/no-unused-vars":
- error
- varsIgnorePattern: "^[_]+$"
argsIgnorePattern: "^[_]+$"
ignoreRestSiblings: true
"@typescript-eslint/no-explicit-any":
- off
# Needs to disable local no-unused-vars for this rule to work properly
no-unused-vars:
- off
linebreak-style:
- error
- unix
"@typescript-eslint/indent":
- error
- 2
- ignoredNodes:
- TSTypeParameterInstantiation
MemberExpression: 1
# Needs to disable local indent for this rule to work properly
indent:
- off
import/order:
- error
- groups:
- builtin
- external
- internal
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
import/newline-after-import:
- error
- count: 2
object-curly-spacing: off
"@typescript-eslint/object-curly-spacing":
- error
- never
semi:
- off
"@typescript-eslint/semi":
- error
space-in-parens:
- error
- never
require-jsdoc:
- off
max-len:
- 2
- code: 120