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