This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 126
/
.eslintrc.yml
125 lines (120 loc) · 3.21 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
114
115
116
117
118
119
120
121
122
123
124
125
rules:
accessor-pairs: error
array-bracket-spacing: [error, never]
array-callback-return: error
arrow-parens: [error, as-needed]
arrow-spacing: error
block-spacing: [error, never]
brace-style: error
comma-dangle: error
comma-spacing: error
comma-style: error
computed-property-spacing: error
curly: error
dot-notation: error
dot-location: [error, property]
eol-last: error
eqeqeq: error
func-call-spacing: error
indent: [error, 2, {FunctionDeclaration: {body: 1, parameters: 1}, FunctionExpression: {body: 1, parameters: 1}, CallExpression: {arguments: 1}, SwitchCase: 1, MemberExpression: 1}]
key-spacing: error
keyword-spacing: error
linebreak-style: [error, unix]
max-statements-per-line: error
new-parens: error
no-caller: error
no-catch-shadow: error
no-console: error
no-duplicate-imports: error
no-else-return: error
no-eval: error
no-extra-bind: error
no-extra-label: error
no-extra-parens: [error, all, {nestedBinaryExpressions: false}]
no-floating-decimal: error
no-global-assign: error
no-implied-eval: error
no-label-var: error
no-lone-blocks: error
no-lonely-if: error
no-mixed-operators: error
no-multi-spaces: error
no-new: error
no-new-func: error
no-new-object: error
no-new-require: error
no-octal-escape: error
no-proto: error
no-prototype-builtins: error
no-restricted-properties: [error, {object: describe, property: only}, {object: it, property: only}]
no-script-url: error
no-self-compare: error
no-sequences: error
no-shadow: error
no-tabs: error
no-template-curly-in-string: error
no-trailing-spaces: error
no-unneeded-ternary: error
no-unsafe-negation: error
no-unused-expressions: error
no-unused-vars: error
no-useless-call: error
no-useless-computed-key: error
no-useless-concat: error
no-useless-constructor: error
no-useless-escape: error
no-useless-return: error
no-whitespace-before-property: error
no-var: error
no-void: error
no-with: error
object-curly-spacing: error
object-shorthand: error
operator-assignment: error
padded-blocks: [error, never]
prefer-arrow-callback: error
prefer-const: error
prefer-numeric-literals: error
prefer-rest-params: error
prefer-spread: error
quote-props: [error, as-needed]
quotes: [error, single, avoid-escape]
semi: [error, always]
semi-spacing: error
space-before-blocks: error
space-before-function-paren: error
space-in-parens: error
space-infix-ops: error
space-unary-ops: error
spaced-comment: error
strict: [error, global]
template-curly-spacing: error
unicode-bom: error
valid-typeof: [error, {requireStringLiterals: true}]
wrap-iife: error
yoda: error
import/prefer-default-export: error
import/newline-after-import: error
import/no-unassigned-import: error
promise/catch-or-return: error
promise/no-return-wrap: error
promise/param-names: error
promise/no-native: error
extends:
- eslint:recommended
- plugin:import/errors
- plugin:import/warnings
plugins:
- import
- promise
- '@typescript-eslint'
root: true
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2017
sourceType: module
ecmaFeatures:
experimentalObjectRestSpread: true
env:
node: true
es6: true