-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yml
More file actions
64 lines (64 loc) · 1.36 KB
/
.eslintrc.yml
File metadata and controls
64 lines (64 loc) · 1.36 KB
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
env:
es6: true
node: true
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 2017
sourceType: module
rules:
brace-style: error
no-console: 'off'
block-spacing: error
arrow-spacing: error
camelcase: error
comma-style: error
no-extra-boolean-cast: 'off'
complexity:
- error
- max: 8
dot-notation: error
eqeqeq: error
eol-last: error
key-spacing: error
keyword-spacing: error
max-depth: error
max-len:
- error
- code: 120
ignoreComments: true
max-nested-callbacks:
- error
- max: 3
max-params:
- error
- max: 4
no-shadow: 'off'
no-var: error
no-return-await: error
no-trailing-spaces: error
no-whitespace-before-property: error
quotes:
- error
- single
- allowTemplateLiterals: true
semi: error
space-in-parens:
- error
- never
'@typescript-eslint/explicit-function-return-type': 'off'
'@typescript-eslint/interface-name-prefix': 'off'
'@typescript-eslint/explicit-module-boundary-types': 'off'
'@typescript-eslint/ban-types': 'off'
'@typescript-eslint/no-shadow': 'error'
'@typescript-eslint/no-unused-vars':
- error
- argsIgnorePattern: '^_'
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
plugins:
- prettier