eslint-config-prettier 6.8.0 → 6.11.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/@typescript-eslint.js +4 -2
- package/CHANGELOG.md +67 -120
- package/README.md +130 -201
- package/babel.js +2 -2
- package/bin/cli.js +23 -23
- package/bin/validators.js +1 -1
- package/flowtype.js +2 -2
- package/index.js +3 -3
- package/package.json +18 -17
- package/react.js +3 -3
- package/standard.js +2 -2
- package/unicorn.js +2 -2
- package/vue.js +3 -2
package/@typescript-eslint.js
CHANGED
|
@@ -5,13 +5,15 @@ module.exports = {
|
|
|
5
5
|
"@typescript-eslint/quotes": 0,
|
|
6
6
|
|
|
7
7
|
"@typescript-eslint/brace-style": "off",
|
|
8
|
+
"@typescript-eslint/comma-spacing": "off",
|
|
8
9
|
"@typescript-eslint/func-call-spacing": "off",
|
|
9
10
|
"@typescript-eslint/indent": "off",
|
|
11
|
+
"@typescript-eslint/keyword-spacing": "off",
|
|
10
12
|
"@typescript-eslint/member-delimiter-style": "off",
|
|
11
13
|
"@typescript-eslint/no-extra-parens": "off",
|
|
12
14
|
"@typescript-eslint/no-extra-semi": "off",
|
|
13
15
|
"@typescript-eslint/semi": "off",
|
|
14
16
|
"@typescript-eslint/space-before-function-paren": "off",
|
|
15
|
-
"@typescript-eslint/type-annotation-spacing": "off"
|
|
16
|
-
}
|
|
17
|
+
"@typescript-eslint/type-annotation-spacing": "off",
|
|
18
|
+
},
|
|
17
19
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,51 +1,57 @@
|
|
|
1
|
+
### Version 6.11.0 (2020-04-21)
|
|
2
|
+
|
|
3
|
+
- Added: [@typescript-eslint/keyword-spacing]. Thanks to Hans Bergren (@hbergren)!!
|
|
4
|
+
|
|
5
|
+
### Version 6.10.1 (2020-03-22)
|
|
6
|
+
|
|
7
|
+
- Improved: Recommend using `npx` when running the CLI helper tool.
|
|
8
|
+
- Updated: Mention that eslint-config-prettier has been tested with Prettier 2.0 and the latest versions of plugins.
|
|
9
|
+
|
|
10
|
+
### Version 6.10.0 (2020-01-28)
|
|
11
|
+
|
|
12
|
+
- Added: [@typescript-eslint/comma-spacing]. Thanks to Masafumi Koba (@ybiquitous)!!
|
|
13
|
+
|
|
14
|
+
### Version 6.9.0 (2019-12-27)
|
|
15
|
+
|
|
16
|
+
- Added: [vue/max-len]. Thanks to @xcatliu!
|
|
17
|
+
|
|
1
18
|
### Version 6.8.0 (2019-12-25)
|
|
2
19
|
|
|
3
20
|
- Added: [@typescript-eslint/no-extra-semi]. Thanks to @xcatliu!
|
|
4
21
|
|
|
5
22
|
### Version 6.7.0 (2019-11-19)
|
|
6
23
|
|
|
7
|
-
- Added: [@typescript-eslint/space-before-function-paren]. Thanks to Masafumi
|
|
8
|
-
Koba (@ybiquitous)!
|
|
24
|
+
- Added: [@typescript-eslint/space-before-function-paren]. Thanks to Masafumi Koba (@ybiquitous)!
|
|
9
25
|
|
|
10
26
|
### Version 6.6.0 (2019-11-17)
|
|
11
27
|
|
|
12
|
-
- Added: New [eslint-plugin-vue] rules: [vue/dot-location] and
|
|
13
|
-
[vue/keyword-spacing]. Thanks to @xcatliu!
|
|
28
|
+
- Added: New [eslint-plugin-vue] rules: [vue/dot-location] and [vue/keyword-spacing]. Thanks to @xcatliu!
|
|
14
29
|
|
|
15
30
|
### Version 6.5.0 (2019-10-26)
|
|
16
31
|
|
|
17
|
-
- Added: Support for [excluding deprecated rules]. Thanks to Alex Ilyaev
|
|
18
|
-
(@alexilyaev)!
|
|
32
|
+
- Added: Support for [excluding deprecated rules]. Thanks to Alex Ilyaev (@alexilyaev)!
|
|
19
33
|
|
|
20
34
|
### Version 6.4.0 (2019-10-05)
|
|
21
35
|
|
|
22
|
-
- Added: [unicorn/no-nested-ternary]. Thanks to Yang Mingshan
|
|
23
|
-
(@yangmingshan)!
|
|
36
|
+
- Added: [unicorn/no-nested-ternary]. Thanks to Yang Mingshan (@yangmingshan)!
|
|
24
37
|
|
|
25
38
|
### Version 6.3.0 (2019-09-10)
|
|
26
39
|
|
|
27
|
-
- Added: [@typescript-eslint/brace-style]. Thanks to Masafumi Koba
|
|
28
|
-
(@ybiquitous)!
|
|
40
|
+
- Added: [@typescript-eslint/brace-style]. Thanks to Masafumi Koba (@ybiquitous)!
|
|
29
41
|
|
|
30
42
|
### Version 6.2.0 (2019-09-03)
|
|
31
43
|
|
|
32
|
-
- Added: [@typescript-eslint/quotes] (as a [special
|
|
33
|
-
rule][@typescript-eslint/quotes-special]). Thanks to Masafumi Koba
|
|
34
|
-
(@ybiquitous)!
|
|
44
|
+
- Added: [@typescript-eslint/quotes] (as a [special rule][@typescript-eslint/quotes-special]). Thanks to Masafumi Koba (@ybiquitous)!
|
|
35
45
|
|
|
36
46
|
### Version 6.1.0 (2019-08-19)
|
|
37
47
|
|
|
38
|
-
- Added: [function-call-argument-newline] \(new in ESLint 6.2.0). Thanks to
|
|
39
|
-
Masafumi Koba (@ybiquitous)!
|
|
48
|
+
- Added: [function-call-argument-newline] \(new in ESLint 6.2.0). Thanks to Masafumi Koba (@ybiquitous)!
|
|
40
49
|
|
|
41
50
|
### Version 6.0.0 (2019-06-25)
|
|
42
51
|
|
|
43
|
-
- Changed: The CLI helper tool now considers [no-confusing-arrow] to conflict
|
|
44
|
-
if you use the default value of its `allowParens` option. The default was
|
|
45
|
-
changed to `true` in ESLint 6, which conflicts with Prettier.
|
|
52
|
+
- Changed: The CLI helper tool now considers [no-confusing-arrow] to conflict if you use the default value of its `allowParens` option. The default was changed to `true` in ESLint 6, which conflicts with Prettier.
|
|
46
53
|
|
|
47
|
-
If the CLI helper tool gives you errors about this after upgrading, the
|
|
48
|
-
solution is to change this:
|
|
54
|
+
If the CLI helper tool gives you errors about this after upgrading, the solution is to change this:
|
|
49
55
|
|
|
50
56
|
```json
|
|
51
57
|
{
|
|
@@ -67,10 +73,7 @@
|
|
|
67
73
|
|
|
68
74
|
The latter works in both ESLint 6 as well as in ESLint 5 and older.
|
|
69
75
|
|
|
70
|
-
- Improved: `eslint --print-config` usage instructions. The CLI tool help
|
|
71
|
-
text as well as the documentation has been updated to suggest commands that
|
|
72
|
-
work in ESLint 6.0 as well as in ESLint 5 and older. (Instead of `eslint
|
|
73
|
-
--print-config .`, use `eslint --print-config path/to/main.js`.)
|
|
76
|
+
- Improved: `eslint --print-config` usage instructions. The CLI tool help text as well as the documentation has been updated to suggest commands that work in ESLint 6.0 as well as in ESLint 5 and older. (Instead of `eslint --print-config .`, use `eslint --print-config path/to/main.js`.)
|
|
74
77
|
|
|
75
78
|
### Version 5.1.0 (2019-06-25)
|
|
76
79
|
|
|
@@ -78,38 +81,25 @@
|
|
|
78
81
|
|
|
79
82
|
### Version 5.0.0 (2019-06-15)
|
|
80
83
|
|
|
81
|
-
- Removed: [react/self-closing-comp]. This rule was added in v4.1.0 not
|
|
82
|
-
because it _conflicted_ with Prettier but because it was _unnecessary_ when
|
|
83
|
-
using Prettier. However, in v1.18.0 [Prettier stopped converting empty
|
|
84
|
-
elements to self-closing elements][prettier-self-closing]. So the rule is
|
|
85
|
-
not unnecessary anymore.
|
|
84
|
+
- Removed: [react/self-closing-comp]. This rule was added in v4.1.0 not because it _conflicted_ with Prettier but because it was _unnecessary_ when using Prettier. However, in v1.18.0 [Prettier stopped converting empty elements to self-closing elements][prettier-self-closing]. So the rule is not unnecessary anymore.
|
|
86
85
|
|
|
87
|
-
If you use Prettier v1.17.1 or older you should be able to upgrade
|
|
88
|
-
eslint-config-prettier to v5.0.0 without having to do anything else.
|
|
86
|
+
If you use Prettier v1.17.1 or older you should be able to upgrade eslint-config-prettier to v5.0.0 without having to do anything else.
|
|
89
87
|
|
|
90
|
-
If you use Prettier v1.18.0 or newer, you might get lint errors about for
|
|
91
|
-
example changing `<div></div>` into `<div />`. You have two options:
|
|
88
|
+
If you use Prettier v1.18.0 or newer, you might get lint errors about for example changing `<div></div>` into `<div />`. You have two options:
|
|
92
89
|
|
|
93
|
-
- Run `eslint --fix` if you prefer to enforce self-closing elements where
|
|
94
|
-
|
|
95
|
-
- Add `"react/self-closing-comp": "off"` to your ESLint config if you use
|
|
96
|
-
autofix from your editor and you face the same [issue as Prettier
|
|
97
|
-
did][prettier-self-closing].
|
|
90
|
+
- Run `eslint --fix` if you prefer to enforce self-closing elements where possible. This should fix all the errors.
|
|
91
|
+
- Add `"react/self-closing-comp": "off"` to your ESLint config if you use autofix from your editor and you face the same [issue as Prettier did][prettier-self-closing].
|
|
98
92
|
|
|
99
|
-
- Changed: Node.js 6 is no longer officially supported, but v5.0.0 should
|
|
100
|
-
still work with it.
|
|
93
|
+
- Changed: Node.js 6 is no longer officially supported, but v5.0.0 should still work with it.
|
|
101
94
|
|
|
102
95
|
### Version 4.3.0 (2019-05-16)
|
|
103
96
|
|
|
104
|
-
- Added: New [eslint-plugin-vue] rules: [vue/arrow-spacing],
|
|
105
|
-
|
|
106
|
-
- Added: New [@typescript-eslint/eslint-plugin] rules:
|
|
107
|
-
[@typescript-eslint/func-call-spacing] and [@typescript-eslint/semi].
|
|
97
|
+
- Added: New [eslint-plugin-vue] rules: [vue/arrow-spacing], [vue/block-spacing], [vue/brace-style] and [vue/comma-dangle].
|
|
98
|
+
- Added: New [@typescript-eslint/eslint-plugin] rules: [@typescript-eslint/func-call-spacing] and [@typescript-eslint/semi].
|
|
108
99
|
|
|
109
100
|
### Version 4.2.0 (2019-04-25)
|
|
110
101
|
|
|
111
|
-
- Added: [@typescript-eslint/no-extra-parens]. Thanks to Keiichiro Amemiya
|
|
112
|
-
(@Hoishin) and Jen Gorfine (@jgorfine)!
|
|
102
|
+
- Added: [@typescript-eslint/no-extra-parens]. Thanks to Keiichiro Amemiya (@Hoishin) and Jen Gorfine (@jgorfine)!
|
|
113
103
|
|
|
114
104
|
### Version 4.1.0 (2019-02-26)
|
|
115
105
|
|
|
@@ -118,59 +108,37 @@
|
|
|
118
108
|
|
|
119
109
|
### Version 4.0.0 (2019-01-26)
|
|
120
110
|
|
|
121
|
-
- Breaking change: Support for [eslint-plugin-typescript] has been removed and
|
|
122
|
-
|
|
123
|
-
Thanks to TANIGUCHI Masaya (@ta2gch) and everyone else who helped with this!
|
|
124
|
-
- Changed: [arrow-body-style] and [prefer-arrow-callback] are now marked as
|
|
125
|
-
[special rules][arrow-special], since they might cause problems if using
|
|
126
|
-
[eslint-plugin-prettier] and `--fix`. They are turned off by default, and the
|
|
127
|
-
CLI helper tool will _warn_ about them (but not error if you do enable them).
|
|
128
|
-
This won’t break your linting checks, but do note that these rules will be
|
|
129
|
-
disabled unless you explicitly enable them again, and that you might see new
|
|
130
|
-
warnings when running the CLI helper tool.
|
|
111
|
+
- Breaking change: Support for [eslint-plugin-typescript] has been removed and replaced with support for its successor [@typescript-eslint/eslint-plugin]. Thanks to TANIGUCHI Masaya (@ta2gch) and everyone else who helped with this!
|
|
112
|
+
- Changed: [arrow-body-style] and [prefer-arrow-callback] are now marked as [special rules][arrow-special], since they might cause problems if using [eslint-plugin-prettier] and `--fix`. They are turned off by default, and the CLI helper tool will _warn_ about them (but not error if you do enable them). This won’t break your linting checks, but do note that these rules will be disabled unless you explicitly enable them again, and that you might see new warnings when running the CLI helper tool.
|
|
131
113
|
|
|
132
114
|
### Version 3.6.0 (2019-01-19)
|
|
133
115
|
|
|
134
|
-
- Added: Support for [eslint-plugin-babel]. Thanks to Matija Marohnić
|
|
135
|
-
(@silvenon)!
|
|
116
|
+
- Added: Support for [eslint-plugin-babel]. Thanks to Matija Marohnić (@silvenon)!
|
|
136
117
|
|
|
137
118
|
### Version 3.5.0 (2019-01-16)
|
|
138
119
|
|
|
139
|
-
- Fixed: The eslint-plugin-vue change from 3.4.0 has been reverted. That change
|
|
140
|
-
requires eslint-plugin-vue@5, while many use eslint-plugin-vue@4. In other
|
|
141
|
-
words, it was an accidental breaking change. Also, after thinking about it
|
|
142
|
-
some more, it makes sense to have a Prettier-specific list of rules, rather
|
|
143
|
-
than using the `vue/no-layout-rules` list, since there can be layout rules
|
|
144
|
-
that don’t conflict with but rather complement Prettier.
|
|
120
|
+
- Fixed: The eslint-plugin-vue change from 3.4.0 has been reverted. That change requires eslint-plugin-vue@5, while many use eslint-plugin-vue@4. In other words, it was an accidental breaking change. Also, after thinking about it some more, it makes sense to have a Prettier-specific list of rules, rather than using the `vue/no-layout-rules` list, since there can be layout rules that don’t conflict with but rather complement Prettier.
|
|
145
121
|
- Added: New eslint-plugin-vue rules coming in the next version after 5.1.0.
|
|
146
122
|
|
|
147
123
|
### Version 3.4.0 (2019-01-13)
|
|
148
124
|
|
|
149
125
|
- Added: Support for [eslint-plugin-typescript]. Thanks to Jed Fox (@j-f1)!
|
|
150
|
-
- Improved: The eslint-plugin-vue integration is now using the
|
|
151
|
-
`vue/no-layout-rules` config behind the scenes, so it should automatically
|
|
152
|
-
stay up-to-date when new eslint-plugin-vue versions are released. Thanks to
|
|
153
|
-
Michał Sajnóg (@michalsnik)!
|
|
126
|
+
- Improved: The eslint-plugin-vue integration is now using the `vue/no-layout-rules` config behind the scenes, so it should automatically stay up-to-date when new eslint-plugin-vue versions are released. Thanks to Michał Sajnóg (@michalsnik)!
|
|
154
127
|
|
|
155
128
|
### Version 3.3.0 (2018-11-11)
|
|
156
129
|
|
|
157
|
-
- Added: The [vue/html-self-closing] rule (as a [special
|
|
158
|
-
rule][vue/html-self-closing-special]). Thanks to Yamagishi Kazutoshi (@ykzts)!
|
|
130
|
+
- Added: The [vue/html-self-closing] rule (as a [special rule][vue/html-self-closing-special]). Thanks to Yamagishi Kazutoshi (@ykzts)!
|
|
159
131
|
|
|
160
132
|
### Version 3.2.0 (2018-11-10)
|
|
161
133
|
|
|
162
134
|
- Added: Support for [eslint-plugin-vue].
|
|
163
|
-
- Fixed: The CLI helper tool should now work in Node.js 6 with npm 3 again.
|
|
164
|
-
Thanks to Grant Snodgrass (@meeber)!
|
|
135
|
+
- Fixed: The CLI helper tool should now work in Node.js 6 with npm 3 again. Thanks to Grant Snodgrass (@meeber)!
|
|
165
136
|
- Improved: Updated documentation.
|
|
166
137
|
|
|
167
138
|
### Version 3.1.0 (2018-09-22)
|
|
168
139
|
|
|
169
140
|
- Added: Support for [eslint-plugin-unicorn]. Thanks to John Mars (@j0hnm4r5)!
|
|
170
|
-
- Changed: The [quotes] rule is now allowed to be used to forbid unnecessary
|
|
171
|
-
backticks. This means that the CLI helper tool no longer can automatically
|
|
172
|
-
validate it, so you’ll need to refer the [quotes special rule
|
|
173
|
-
documentation][quotes-special]. Thanks to Nick Petruzzelli (@npetruzzelli)!
|
|
141
|
+
- Changed: The [quotes] rule is now allowed to be used to forbid unnecessary backticks. This means that the CLI helper tool no longer can automatically validate it, so you’ll need to refer the [quotes special rule documentation][quotes-special]. Thanks to Nick Petruzzelli (@npetruzzelli)!
|
|
174
142
|
|
|
175
143
|
### Version 3.0.1 (2018-08-13)
|
|
176
144
|
|
|
@@ -196,12 +164,8 @@
|
|
|
196
164
|
|
|
197
165
|
### Version 2.7.0 (2017-11-01)
|
|
198
166
|
|
|
199
|
-
- Added: The [lines-around-comment] rule (as a [special
|
|
200
|
-
|
|
201
|
-
(@mauricedb)!
|
|
202
|
-
- Added: The [no-unexpected-multiline] rule (as a [special
|
|
203
|
-
rule][no-unexpected-multiline-special]). Thanks to Suhas Karanth
|
|
204
|
-
(@sudo-suhas)!
|
|
167
|
+
- Added: The [lines-around-comment] rule (as a [special rule][lines-around-comment-special]). Thanks to Maurice de Beijer (@mauricedb)!
|
|
168
|
+
- Added: The [no-unexpected-multiline] rule (as a [special rule][no-unexpected-multiline-special]). Thanks to Suhas Karanth (@sudo-suhas)!
|
|
205
169
|
|
|
206
170
|
### Version 2.6.0 (2017-09-23)
|
|
207
171
|
|
|
@@ -209,18 +173,15 @@
|
|
|
209
173
|
|
|
210
174
|
### Version 2.5.0 (2017-09-16)
|
|
211
175
|
|
|
212
|
-
- Added: Support for [eslint-plugin-standard]. Thanks to Christian Pekeler
|
|
213
|
-
(@pekeler)!
|
|
176
|
+
- Added: Support for [eslint-plugin-standard]. Thanks to Christian Pekeler (@pekeler)!
|
|
214
177
|
|
|
215
178
|
### Version 2.4.0 (2017-09-02)
|
|
216
179
|
|
|
217
|
-
- Added: The [function-paren-newline] rule (new in [ESLint 4.6.0]). Thanks to
|
|
218
|
-
Pierre Vanduynslager (@vanduynslagerp)!
|
|
180
|
+
- Added: The [function-paren-newline] rule (new in [ESLint 4.6.0]). Thanks to Pierre Vanduynslager (@vanduynslagerp)!
|
|
219
181
|
|
|
220
182
|
### Version 2.3.0 (2017-06-30)
|
|
221
183
|
|
|
222
|
-
- Added: The (deprecated) [indent-legacy] rule. Thanks to M. Ian Graham
|
|
223
|
-
(@miangraham)!
|
|
184
|
+
- Added: The (deprecated) [indent-legacy] rule. Thanks to M. Ian Graham (@miangraham)!
|
|
224
185
|
|
|
225
186
|
### Version 2.2.0 (2017-06-17)
|
|
226
187
|
|
|
@@ -237,33 +198,23 @@
|
|
|
237
198
|
|
|
238
199
|
### Version 2.1.0 (2017-05-13)
|
|
239
200
|
|
|
240
|
-
- Added: The [no-tabs] rule (as a [special rule][no-tabs-special]). Thanks to
|
|
241
|
-
Alex Meah (@AlexMeah)!
|
|
201
|
+
- Added: The [no-tabs] rule (as a [special rule][no-tabs-special]). Thanks to Alex Meah (@AlexMeah)!
|
|
242
202
|
|
|
243
203
|
### Version 2.0.0 (2017-05-07)
|
|
244
204
|
|
|
245
205
|
- Changed/Improved: The CLI helper tool is now more helpful.
|
|
246
206
|
|
|
247
|
-
- The options of special rules are now validated if possible. If a special
|
|
248
|
-
|
|
249
|
-
it.
|
|
250
|
-
- If only special rules that cannot be automatically checked are found, the
|
|
251
|
-
CLI no longer exists with a non-zero exit code. Instead, it only warns about
|
|
252
|
-
the rules.
|
|
207
|
+
- The options of special rules are now validated if possible. If a special rule is enabled with non-conflicting options, the CLI no longer warns about it.
|
|
208
|
+
- If only special rules that cannot be automatically checked are found, the CLI no longer exists with a non-zero exit code. Instead, it only warns about the rules.
|
|
253
209
|
|
|
254
|
-
- Changed: The [no-confusing-arrow] is now a special rule again, since it might
|
|
255
|
-
conflict with recent Prettier versions.
|
|
210
|
+
- Changed: The [no-confusing-arrow] is now a special rule again, since it might conflict with recent Prettier versions.
|
|
256
211
|
|
|
257
|
-
- Removed: The `react/wrap-multilines` rule (which has been deprecated for a
|
|
258
|
-
while), since it was removed in eslint-plugin-react@7.
|
|
212
|
+
- Removed: The `react/wrap-multilines` rule (which has been deprecated for a while), since it was removed in eslint-plugin-react@7.
|
|
259
213
|
|
|
260
214
|
### Version 1.7.0 (2017-04-19)
|
|
261
215
|
|
|
262
|
-
- Changed: The [no-confusing-arrow] is no longer a special rule, but simply
|
|
263
|
-
|
|
264
|
-
- Improved: The CLI helper tool now has a more helpful message for special
|
|
265
|
-
rules, and exits with a different status code if only special rules were
|
|
266
|
-
found. The exit codes are now documented as well.
|
|
216
|
+
- Changed: The [no-confusing-arrow] is no longer a special rule, but simply turned off, since recent Prettier versions make it redundant.
|
|
217
|
+
- Improved: The CLI helper tool now has a more helpful message for special rules, and exits with a different status code if only special rules were found. The exit codes are now documented as well.
|
|
267
218
|
|
|
268
219
|
### Version 1.6.0 (2017-04-05)
|
|
269
220
|
|
|
@@ -275,26 +226,20 @@
|
|
|
275
226
|
|
|
276
227
|
### Version 1.4.1 (2017-02-28)
|
|
277
228
|
|
|
278
|
-
- Improved: eslint-config-prettier is now part of the [prettier] organization!
|
|
279
|
-
This version updates all URLs to point to the new home of the project.
|
|
229
|
+
- Improved: eslint-config-prettier is now part of the [prettier] organization! This version updates all URLs to point to the new home of the project.
|
|
280
230
|
|
|
281
231
|
### Version 1.4.0 (2017-02-26)
|
|
282
232
|
|
|
283
|
-
- Added: The [no-confusing-arrow] rule (as a
|
|
284
|
-
|
|
285
|
-
(@dferber90)!
|
|
286
|
-
- Added: Deprecated or removed rules that might conflict with prettier. Thanks
|
|
287
|
-
to Dominik Ferber (@dferber90)!
|
|
233
|
+
- Added: The [no-confusing-arrow] rule (as a [special rule][no-confusing-arrow-special]). Thanks to Dominik Ferber (@dferber90)!
|
|
234
|
+
- Added: Deprecated or removed rules that might conflict with prettier. Thanks to Dominik Ferber (@dferber90)!
|
|
288
235
|
|
|
289
236
|
### Version 1.3.0 (2017-02-21)
|
|
290
237
|
|
|
291
|
-
- Added: The [template-tag-spacing] rule. Thanks to Thibault Derousseaux
|
|
292
|
-
(@tibdex)!
|
|
238
|
+
- Added: The [template-tag-spacing] rule. Thanks to Thibault Derousseaux (@tibdex)!
|
|
293
239
|
|
|
294
240
|
### Version 1.2.0 (2017-02-14)
|
|
295
241
|
|
|
296
|
-
- Added: The [one-var-declaration-per-line] rule. Thanks to Ruben Oostinga
|
|
297
|
-
(@0xR)!
|
|
242
|
+
- Added: The [one-var-declaration-per-line] rule. Thanks to Ruben Oostinga (@0xR)!
|
|
298
243
|
|
|
299
244
|
### Version 1.1.1 (2017-02-12)
|
|
300
245
|
|
|
@@ -303,8 +248,7 @@
|
|
|
303
248
|
### Version 1.1.0 (2017-02-10)
|
|
304
249
|
|
|
305
250
|
- Fixed: The [eslint-plugin-react] exclusion rules now actually work.
|
|
306
|
-
- Fixed: The CLI helper tool now works in Node.js 4. Thanks to Nathan Friedly
|
|
307
|
-
(@nfriedly)!
|
|
251
|
+
- Fixed: The CLI helper tool now works in Node.js 4. Thanks to Nathan Friedly (@nfriedly)!
|
|
308
252
|
- Added: Support for [eslint-plugin-flowtype].
|
|
309
253
|
- Improved: Minor things for the CLI helper tool.
|
|
310
254
|
- Improved: There are now tests for everything.
|
|
@@ -326,8 +270,10 @@
|
|
|
326
270
|
- Initial release.
|
|
327
271
|
|
|
328
272
|
[@typescript-eslint/brace-style]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/brace-style.md
|
|
273
|
+
[@typescript-eslint/comma-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-spacing.md
|
|
329
274
|
[@typescript-eslint/eslint-plugin]: https://github.com/typescript-eslint/typescript-eslint
|
|
330
275
|
[@typescript-eslint/func-call-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/func-call-spacing.md
|
|
276
|
+
[@typescript-eslint/keyword-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/keyword-spacing.md
|
|
331
277
|
[@typescript-eslint/no-extra-parens]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md
|
|
332
278
|
[@typescript-eslint/no-extra-semi]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-semi.md
|
|
333
279
|
[@typescript-eslint/quotes-special]: https://github.com/prettier/eslint-config-prettier/blob/857257179fe69715362dfa9300762d6e534c0603/README.md#quotes
|
|
@@ -340,8 +286,8 @@
|
|
|
340
286
|
[arrow-special]: https://github.com/prettier/eslint-config-prettier/blob/2c842675e55b91aecaef6f997d234ebf2d220ffb/README.md#arrow-body-style-and-prefer-arrow-callback
|
|
341
287
|
[curly]: https://eslint.org/docs/rules/curly
|
|
342
288
|
[end-of-line]: https://prettier.io/docs/en/options.html#end-of-line
|
|
343
|
-
[
|
|
344
|
-
[
|
|
289
|
+
[eslint 4.0.0]: https://eslint.org/blog/2017/06/eslint-v4.0.0-released
|
|
290
|
+
[eslint 4.6.0]: https://eslint.org/blog/2017/09/eslint-v4.6.0-released
|
|
345
291
|
[eslint-plugin-babel]: https://github.com/babel/eslint-plugin-babel
|
|
346
292
|
[eslint-plugin-flowtype]: https://github.com/gajus/eslint-plugin-flowtype
|
|
347
293
|
[eslint-plugin-prettier]: https://github.com/prettier/eslint-plugin-prettier
|
|
@@ -391,3 +337,4 @@
|
|
|
391
337
|
[vue/html-self-closing-special]: https://github.com/prettier/eslint-config-prettier/blob/d5e7af986221df5faedc12893d8dc3150a808693/README.md#vuehtml-self-closing
|
|
392
338
|
[vue/html-self-closing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/html-self-closing.md
|
|
393
339
|
[vue/keyword-spacing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/keyword-spacing.md
|
|
340
|
+
[vue/max-len]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/max-len.md
|