-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.yml
91 lines (90 loc) · 1.63 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
parser: "@typescript-eslint/parser"
extends:
- airbnb-base
parserOptions:
ecmaVersion: 2018
project: ./tsconfig.lint.json
plugins:
- import
env:
node: true
browser: true
rules:
"@typescript-eslint/lines-between-class-members": off
arrow-parens:
- error
- as-needed
class-methods-use-this: off
eol-last: error
import/extensions: off
import/no-cycle: off
import/no-unresolved: off
import/prefer-default-export: off
linebreak-style:
- error
- unix
lines-between-class-members: off
max-len: off
no-trailing-spaces: error
no-underscore-dangle: off
no-dupe-class-members: off
no-unused-vars: off
no-useless-constructor: off
no-empty-function: off
no-param-reassign: off
no-shadow: off
no-redeclare: off
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next:
- block
- block-like
- cjs-export
- class
- const
- export
- import
- let
- var
- blankLine: always
prev:
- block
- block-like
- cjs-export
- class
- const
- export
- import
- let
- var
next: "*"
- blankLine: any
prev:
- const
- let
- var
next:
- const
- let
- var
- blankLine: never
prev:
- import
next:
- import
- blankLine: always
prev:
- import
next:
- export
- blankLine: any
prev:
- export
next:
- export
settings:
import/parsers:
"@typescript-eslint/parser":
- .ts