-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
69 lines (69 loc) · 1.44 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
env:
es6: true
node: true
mocha: true
extends:
- google
- eslint:recommended
parser: babel-eslint
parserOptions:
ecmaVersion: 2018
sourceType: script
rules:
array-bracket-spacing:
- error
- always
camelcase: off
eol-last:
- error
- always
guard-for-in: off
max-len: off
no-multiple-empty-lines:
- error
- max: 2
maxBOF: 0
maxEOF: 1
no-template-curly-in-string: error
no-undef: error
no-useless-concat: error
object-curly-spacing:
- error
- always
one-var: off
padded-blocks:
- error
- blocks: never
switches: never
quotes:
- error
- single
- allowTemplateLiterals: false
require-jsdoc: off
semi:
- error
- never
strict:
- error
- global
overrides:
- files: '**/*.ts'
plugins:
- eslint-plugin-tsdoc
extends:
- plugin:@typescript-eslint/recommended
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
rules:
indent: off # conflicts with @typescript-eslint/indent
no-undef: off # conflicts with automatically imported types
valid-jsdoc: off # conflicts with tsdoc/syntax
tsdoc/syntax: error
'@typescript-eslint/explicit-module-boundary-types': off
'@typescript-eslint/indent':
- error
- 2
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-unused-vars': error
'@typescript-eslint/no-var-requires': off