generated from JoshMerlino/ts-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
113 lines (112 loc) · 2.32 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
root: true
plugins:
- "@typescript-eslint"
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 12
sourceType: module
ignorePatterns:
- "**/node_modules/**"
- "**/lib/**"
rules:
indent:
- warn
- tab
- { "SwitchCase": 1 }
array-bracket-spacing:
- warn
- always
quotes:
- warn
- double
object-curly-spacing:
- warn
- always
- objectsInObjects: false
arraysInObjects: false
semi: warn
comma-dangle:
- warn
- only-multiline
array-bracket-newline:
- warn
- consistent
comma-spacing: warn
template-curly-spacing:
- warn
- always
eqeqeq:
- warn
- always
semi-spacing: warn
max-statements-per-line: warn
space-in-parens: warn
space-infix-ops: warn
keyword-spacing: warn
space-before-function-paren:
- warn
- never
key-spacing: warn
no-trailing-spaces:
- warn
- ignoreComments: true
skipBlankLines: true
arrow-parens:
- warn
- as-needed
func-call-spacing: warn
no-mixed-spaces-and-tabs:
- warn
no-multiple-empty-lines:
- warn
- max: 1
maxBOF: 0
no-regex-spaces: warn
no-multi-spaces: warn
space-unary-ops: warn
lines-around-comment:
- warn
- beforeBlockComment: true
beforeLineComment: true
afterBlockComment: false
afterLineComment: false
allowBlockStart: false
allowBlockEnd: false
no-whitespace-before-property: warn
spaced-comment:
- warn
- always
- line:
markers:
- "/"
exceptions:
- "-"
- "+"
block:
markers:
- "!"
exceptions:
- "*"
balanced: true
computed-property-spacing: warn
rest-spread-spacing: warn
function-call-argument-newline:
- warn
- consistent
nonblock-statement-body-position: warn
space-before-blocks: warn
no-dupe-args: warn
no-dupe-else-if: warn
brace-style: warn
no-undef: off
no-prototype-builtins: off
no-unused-vars: off
"@typescript-eslint/no-unused-vars":
- warn
- varsIgnorePattern: "^_.*"
no-empty: off
"@typescript-eslint/no-empty-function": off
no-fallthrough: off