eslint-config-prettier 8.7.0 → 8.9.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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/index.js +41 -13
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,4 +6,6 @@ This lets you use your favorite shareable config without letting its stylistic c
6
6
 
7
7
  Note that this config _only_ turns rules _off,_ so it only makes sense using it together with some other config.
8
8
 
9
+ [prettier]: https://github.com/prettier/prettier
10
+
9
11
  **[➡️ Full readme](https://github.com/prettier/eslint-config-prettier/)**
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",
@@ -147,6 +135,7 @@ module.exports = {
147
135
  "unicorn/number-literal-case": "off",
148
136
  "vue/array-bracket-newline": "off",
149
137
  "vue/array-bracket-spacing": "off",
138
+ "vue/array-element-newline": "off",
150
139
  "vue/arrow-spacing": "off",
151
140
  "vue/block-spacing": "off",
152
141
  "vue/block-tag-newline": "off",
@@ -183,12 +172,51 @@ module.exports = {
183
172
  "vue/template-curly-spacing": "off",
184
173
 
185
174
  ...(includeDeprecated && {
175
+ // Removed in version 1.0.0.
176
+ // https://eslint.org/docs/latest/rules/generator-star
177
+ "generator-star": "off",
186
178
  // Deprecated since version 4.0.0.
187
179
  // https://github.com/eslint/eslint/pull/8286
188
180
  "indent-legacy": "off",
181
+ // Removed in version 2.0.0.
182
+ // https://eslint.org/docs/latest/rules/no-arrow-condition
183
+ "no-arrow-condition": "off",
184
+ // Removed in version 1.0.0.
185
+ // https://eslint.org/docs/latest/rules/no-comma-dangle
186
+ "no-comma-dangle": "off",
187
+ // Removed in version 1.0.0.
188
+ // https://eslint.org/docs/latest/rules/no-reserved-keys
189
+ "no-reserved-keys": "off",
190
+ // Removed in version 1.0.0.
191
+ // https://eslint.org/docs/latest/rules/no-space-before-semi
192
+ "no-space-before-semi": "off",
189
193
  // Deprecated since version 3.3.0.
190
194
  // https://eslint.org/docs/rules/no-spaced-func
191
195
  "no-spaced-func": "off",
196
+ // Removed in version 1.0.0.
197
+ // https://eslint.org/docs/latest/rules/no-wrap-func
198
+ "no-wrap-func": "off",
199
+ // Removed in version 1.0.0.
200
+ // https://eslint.org/docs/latest/rules/space-after-function-name
201
+ "space-after-function-name": "off",
202
+ // Removed in version 2.0.0.
203
+ // https://eslint.org/docs/latest/rules/space-after-keywords
204
+ "space-after-keywords": "off",
205
+ // Removed in version 1.0.0.
206
+ // https://eslint.org/docs/latest/rules/space-before-function-parentheses
207
+ "space-before-function-parentheses": "off",
208
+ // Removed in version 2.0.0.
209
+ // https://eslint.org/docs/latest/rules/space-before-keywords
210
+ "space-before-keywords": "off",
211
+ // Removed in version 1.0.0.
212
+ // https://eslint.org/docs/latest/rules/space-in-brackets
213
+ "space-in-brackets": "off",
214
+ // Removed in version 2.0.0.
215
+ // https://eslint.org/docs/latest/rules/space-return-throw-case
216
+ "space-return-throw-case": "off",
217
+ // Removed in version 0.10.0.
218
+ // https://eslint.org/docs/latest/rules/space-unary-word-ops
219
+ "space-unary-word-ops": "off",
192
220
  // Deprecated since version 7.0.0.
193
221
  // https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
194
222
  "react/jsx-space-before-closing": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-prettier",
3
- "version": "8.7.0",
3
+ "version": "8.9.0",
4
4
  "license": "MIT",
5
5
  "author": "Simon Lydell",
6
6
  "description": "Turns off all rules that are unnecessary or might conflict with Prettier.",