eslint-config-prettier 8.7.0 → 8.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +40 -13
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -15,6 +15,7 @@ module.exports = {
|
|
|
15
15
|
"no-tabs": 0,
|
|
16
16
|
"no-unexpected-multiline": 0,
|
|
17
17
|
"quotes": 0,
|
|
18
|
+
"@typescript-eslint/lines-around-comment": 0,
|
|
18
19
|
"@typescript-eslint/quotes": 0,
|
|
19
20
|
"babel/quotes": 0,
|
|
20
21
|
"vue/html-self-closing": 0,
|
|
@@ -37,7 +38,6 @@ module.exports = {
|
|
|
37
38
|
"func-call-spacing": "off",
|
|
38
39
|
"function-call-argument-newline": "off",
|
|
39
40
|
"function-paren-newline": "off",
|
|
40
|
-
"generator-star": "off",
|
|
41
41
|
"generator-star-spacing": "off",
|
|
42
42
|
"implicit-arrow-linebreak": "off",
|
|
43
43
|
"indent": "off",
|
|
@@ -48,19 +48,14 @@ module.exports = {
|
|
|
48
48
|
"multiline-ternary": "off",
|
|
49
49
|
"newline-per-chained-call": "off",
|
|
50
50
|
"new-parens": "off",
|
|
51
|
-
"no-arrow-condition": "off",
|
|
52
|
-
"no-comma-dangle": "off",
|
|
53
51
|
"no-extra-parens": "off",
|
|
54
52
|
"no-extra-semi": "off",
|
|
55
53
|
"no-floating-decimal": "off",
|
|
56
54
|
"no-mixed-spaces-and-tabs": "off",
|
|
57
55
|
"no-multi-spaces": "off",
|
|
58
56
|
"no-multiple-empty-lines": "off",
|
|
59
|
-
"no-reserved-keys": "off",
|
|
60
|
-
"no-space-before-semi": "off",
|
|
61
57
|
"no-trailing-spaces": "off",
|
|
62
58
|
"no-whitespace-before-property": "off",
|
|
63
|
-
"no-wrap-func": "off",
|
|
64
59
|
"nonblock-statement-body-position": "off",
|
|
65
60
|
"object-curly-newline": "off",
|
|
66
61
|
"object-curly-spacing": "off",
|
|
@@ -73,18 +68,11 @@ module.exports = {
|
|
|
73
68
|
"semi": "off",
|
|
74
69
|
"semi-spacing": "off",
|
|
75
70
|
"semi-style": "off",
|
|
76
|
-
"space-after-function-name": "off",
|
|
77
|
-
"space-after-keywords": "off",
|
|
78
71
|
"space-before-blocks": "off",
|
|
79
72
|
"space-before-function-paren": "off",
|
|
80
|
-
"space-before-function-parentheses": "off",
|
|
81
|
-
"space-before-keywords": "off",
|
|
82
|
-
"space-in-brackets": "off",
|
|
83
73
|
"space-in-parens": "off",
|
|
84
74
|
"space-infix-ops": "off",
|
|
85
|
-
"space-return-throw-case": "off",
|
|
86
75
|
"space-unary-ops": "off",
|
|
87
|
-
"space-unary-word-ops": "off",
|
|
88
76
|
"switch-colon-spacing": "off",
|
|
89
77
|
"template-curly-spacing": "off",
|
|
90
78
|
"template-tag-spacing": "off",
|
|
@@ -183,12 +171,51 @@ module.exports = {
|
|
|
183
171
|
"vue/template-curly-spacing": "off",
|
|
184
172
|
|
|
185
173
|
...(includeDeprecated && {
|
|
174
|
+
// Removed in version 1.0.0.
|
|
175
|
+
// https://eslint.org/docs/latest/rules/generator-star
|
|
176
|
+
"generator-star": "off",
|
|
186
177
|
// Deprecated since version 4.0.0.
|
|
187
178
|
// https://github.com/eslint/eslint/pull/8286
|
|
188
179
|
"indent-legacy": "off",
|
|
180
|
+
// Removed in version 2.0.0.
|
|
181
|
+
// https://eslint.org/docs/latest/rules/no-arrow-condition
|
|
182
|
+
"no-arrow-condition": "off",
|
|
183
|
+
// Removed in version 1.0.0.
|
|
184
|
+
// https://eslint.org/docs/latest/rules/no-comma-dangle
|
|
185
|
+
"no-comma-dangle": "off",
|
|
186
|
+
// Removed in version 1.0.0.
|
|
187
|
+
// https://eslint.org/docs/latest/rules/no-reserved-keys
|
|
188
|
+
"no-reserved-keys": "off",
|
|
189
|
+
// Removed in version 1.0.0.
|
|
190
|
+
// https://eslint.org/docs/latest/rules/no-space-before-semi
|
|
191
|
+
"no-space-before-semi": "off",
|
|
189
192
|
// Deprecated since version 3.3.0.
|
|
190
193
|
// https://eslint.org/docs/rules/no-spaced-func
|
|
191
194
|
"no-spaced-func": "off",
|
|
195
|
+
// Removed in version 1.0.0.
|
|
196
|
+
// https://eslint.org/docs/latest/rules/no-wrap-func
|
|
197
|
+
"no-wrap-func": "off",
|
|
198
|
+
// Removed in version 1.0.0.
|
|
199
|
+
// https://eslint.org/docs/latest/rules/space-after-function-name
|
|
200
|
+
"space-after-function-name": "off",
|
|
201
|
+
// Removed in version 2.0.0.
|
|
202
|
+
// https://eslint.org/docs/latest/rules/space-after-keywords
|
|
203
|
+
"space-after-keywords": "off",
|
|
204
|
+
// Removed in version 1.0.0.
|
|
205
|
+
// https://eslint.org/docs/latest/rules/space-before-function-parentheses
|
|
206
|
+
"space-before-function-parentheses": "off",
|
|
207
|
+
// Removed in version 2.0.0.
|
|
208
|
+
// https://eslint.org/docs/latest/rules/space-before-keywords
|
|
209
|
+
"space-before-keywords": "off",
|
|
210
|
+
// Removed in version 1.0.0.
|
|
211
|
+
// https://eslint.org/docs/latest/rules/space-in-brackets
|
|
212
|
+
"space-in-brackets": "off",
|
|
213
|
+
// Removed in version 2.0.0.
|
|
214
|
+
// https://eslint.org/docs/latest/rules/space-return-throw-case
|
|
215
|
+
"space-return-throw-case": "off",
|
|
216
|
+
// Removed in version 0.10.0.
|
|
217
|
+
// https://eslint.org/docs/latest/rules/space-unary-word-ops
|
|
218
|
+
"space-unary-word-ops": "off",
|
|
192
219
|
// Deprecated since version 7.0.0.
|
|
193
220
|
// https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
|
|
194
221
|
"react/jsx-space-before-closing": "off",
|