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