-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
43 lines (43 loc) · 989 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
40
41
42
43
env:
node: true
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 12
sourceType: module
project:
- 'tsconfig.json'
plugins:
- '@typescript-eslint'
rules:
'@typescript-eslint/no-explicit-any': 0
'@typescript-eslint/explicit-module-boundary-types': 0
'@typescript-eslint/ban-ts-comment': 0
'@typescript-eslint/switch-exhaustiveness-check': 1
'@typescript-eslint/no-inferrable-types': 0
no-fallthrough: 0
no-invalid-regexp: warn
no-unreachable: warn
no-eval: warn
vars-on-top: warn
'@typescript-eslint/no-unused-vars':
- warn
- args: none
indent:
- warn
- 2
- SwitchCase: 1
quotes:
- warn
- single
semi:
- warn
- always
- omitLastInOneLineBlock: true
no-var: error
prefer-const: warn
prefer-template: error
no-prototype-builtins: 0
max-len: ['warn', 100, 2, { 'ignoreComments': true, 'ignoreStrings': true }]