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