-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
39 lines (36 loc) · 923 Bytes
/
.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
env:
browser: true
es6: true
node: true
jest: true
extends:
- standard-with-typescript
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 2018
sourceType: module
project: tsconfig.json
# bugs
createDefaultProgram: true
plugins:
- '@typescript-eslint'
rules:
curly: [2, multi-or-nest, consistent]
no-return-assign: 0
symbol-description: 0
no-labels: 0
'@typescript-eslint/indent': [2, 2, {
flatTernaryExpressions: true,
ignoredNodes: ['TemplateLiteral > *.expressions']
}]
'@typescript-eslint/consistent-type-definitions': [2, type]
'@typescript-eslint/array-type': 0
'@typescript-eslint/restrict-plus-operands': 0
'@typescript-eslint/consistent-type-assertions': 0
'@typescript-eslint/explicit-function-return-type': 0
'@typescript-eslint/strict-boolean-expressions': 0
# bugs
no-undef: 0