@@ -3,10 +3,65 @@ All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
This change log adheres to standards from [ Keep a CHANGELOG] ( http://keepachangelog.com ) .
5
5
6
+ ## [ 7.14.0] - 2019-06-23
7
+
8
+ ### Added
9
+ * Add [ ` jsx-curly-newline ` ] [ ] rule ([ #1493 ] [ ] @golopot )
10
+ * Add support for nested destructuring to [ ` prop-types ` ] [ ] ([ #296 ] [ ] [ #1422 ] [ ] @golopot )
11
+ * Add support for variables defined as props to [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] ([ #442 ] [ ] [ #833 ] [ ] [ #1002 ] [ ] [ #1116 ] [ ] [ #1257 ] [ ] [ #1764 ] [ ] @golopot )
12
+ * Add ` checkFragmentShorthand ` option to [ ` jsx-key ` ] [ ] ([ #2316 ] [ ] @kaykayehnn )
13
+
14
+ ### Fixed
15
+ * Fix [ ` no-did-mount-set-state ` ] [ ] and [ ` no-did-update-set-state ` ] [ ] to handle cDU and cDM defined as class properties ([ #1595 ] [ ] @jaaberg )
16
+ * Fix [ ` sort-prop-types ` ] [ ] cash when a shape PropType is defined in a variable ([ #1749 ] [ ] @alexzherdev )
17
+ * Fix [ ` no-unused-state ` ] [ ] false positive when using state of non-lifecycle method ([ #2274 ] [ ] @golopot )
18
+ * Fix [ ` static-property-placement ` ] [ ] false positive when accessing static property inside method ([ #2283 ] [ ] @dmason30 )
19
+ * Fix [ ` prop-type ` ] [ ] detection for annotated props with default value ([ #2298 ] [ ] @yannickcr )
20
+
21
+ ### Changed
22
+ * Add ESLint 6.0.0 as valid peerDependency (@yannickcr )
23
+ * Improve [ ` no-render-return-value ` ] [ ] performance ([ #2259 ] [ ] @golopot )
24
+ * Change [ ` jsx-sort-props ` ] [ ] to report errors only on the identifier ([ #2312 ] [ ] @MrHen )
25
+ * Change to warn only once if react version cannot be detected ([ #2276 ] [ ] @ljharb )
26
+ * Documentation improvements ([ #2263 ] [ ] @dimitropoulos , [ #2262 ] [ ] @ybiquitous , [ #2295 ] [ ] @battaglr , [ #2302 ] [ ] @Jason-Cooke , [ #2303 ] [ ] @golopot )
27
+ * Code refactoring ([ #2265 ] [ ] [ #2267 ] [ ] [ #2286 ] [ ] [ #2294 ] [ ] @golopot , @ljharb )
28
+ * Tests improvements ([ #2304 ] [ ] [ #1047 ] [ ] @golopot , @yannickcr )
29
+
30
+ [ 7.14.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.13.0...v7.14.0
31
+ [ #296 ] : https://github.com/yannickcr/eslint-plugin-react/issues/296
32
+ [ #442 ] : https://github.com/yannickcr/eslint-plugin-react/issues/442
33
+ [ #833 ] : https://github.com/yannickcr/eslint-plugin-react/issues/833
34
+ [ #1002 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1002
35
+ [ #1047 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1047
36
+ [ #1116 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1116
37
+ [ #1257 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1257
38
+ [ #1422 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1422
39
+ [ #1493 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1493
40
+ [ #1595 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1595
41
+ [ #1749 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1749
42
+ [ #1764 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1764
43
+ [ #2259 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2259
44
+ [ #2262 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2262
45
+ [ #2263 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2263
46
+ [ #2265 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2265
47
+ [ #2267 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2267
48
+ [ #2274 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2274
49
+ [ #2276 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2276
50
+ [ #2283 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2283
51
+ [ #2286 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2286
52
+ [ #2294 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2294
53
+ [ #2295 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2295
54
+ [ #2298 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2298
55
+ [ #2302 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2302
56
+ [ #2303 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2303
57
+ [ #2304 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2304
58
+ [ #2312 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2312
59
+ [ #2316 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2316
60
+
6
61
## [ 7.13.0] - 2019-05-03
7
62
8
63
### Added
9
- * Make [ ` jsx-sort-props ` ] [ ] fully fixable ([ #2250 ] [ ] , @guliashvili )
64
+ * Make [ ` jsx-sort-props ` ] [ ] fully fixable ([ #2250 ] [ ] , @guliashvili )
10
65
* [ ` boolean-prop-naming ` ] [ ] : add ` validateNested ` option to validate shape prop names ([ #2234 ] [ ] , @pawelnvk )
11
66
* add [ ` static-property-placement ` ] [ ] rule ([ #2193 ] [ ] , @dmason30 )
12
67
* add "detect" for flow version ([ #2233 ] [ ] , @jedwards1211 )
@@ -45,6 +100,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
45
100
* [ Docs] Added shared settings info, React version default note ([ #2180 ] [ ] , @samsch )
46
101
* [ Tests] [ ` jsx-curly-spacing ` ] [ ] : add regression test case ([ #2206 ] [ ] , @ColCh )
47
102
103
+ [ 7.13.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.4...v7.13.0
48
104
[ #2256 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2256
49
105
[ #2250 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2250
50
106
[ #2246 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2246
@@ -89,6 +145,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
89
145
### Changed
90
146
* [ ` prop-types ` ] [ ] , [ ` no-typos ` ] [ ] : add passing test cases ([ #2123 ] [ ] , [ #2128 ] [ ] , [ #2136 ] [ ] , [ #2134 ] [ ] , @ljharb )
91
147
148
+ [ 7.12.4 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.3...v7.12.4
92
149
[ #2136 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2136
93
150
[ #2134 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2134
94
151
[ #2131 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2131
@@ -113,6 +170,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
113
170
* [ Docs] add a missing comma in the JSON settings ([ #2117 ] [ ] , @haideralsh )
114
171
* [ Docs] update README to document React version detection ([ #2114 ] [ ] , @mohsinulhaq )
115
172
173
+ [ 7.12.3 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.2...v7.12.3
116
174
[ #2120 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2120
117
175
[ #2117 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2117
118
176
[ #2115 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2115
@@ -128,6 +186,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
128
186
* Version warning: Link does not end with '.' ([ #2103 ] [ ] , @yoyo837 ))
129
187
* [ ` forbid-prop-types ` ] [ ] : fix crash with propWrapper check on MemberExpressions ([ #2104 ] [ ] , @ljharb )
130
188
189
+ [ 7.12.2 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.1...v7.12.2
131
190
[ #2104 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2104
132
191
[ #2103 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2103
133
192
[ #2095 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2095
@@ -143,6 +202,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
143
202
### Changed
144
203
* Fix CHANGELOG.md ([ #2097 ] [ ] , @alexzherdev )
145
204
205
+ [ 7.12.1 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.0...v7.12.1
146
206
[ #2102 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2102
147
207
[ #2100 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2100
148
208
[ #2099 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2099
@@ -199,6 +259,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
199
259
* [ Tests] [ ` prop-types ` ] [ ] : Add tests for prop-types destructuring ([ #2029 ] [ ] , @sstern6 )
200
260
* [ Tests] [ ` display-name ` ] [ ] : add false positive component detection for destructured createElement ([ #1098 ] [ ] , @arian )
201
261
262
+ [ 7.12.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.11.1...v7.12.0
202
263
[ #2090 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2090
203
264
[ #2089 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2089
204
265
[ #2086 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2086
@@ -250,6 +311,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
250
311
* Fix changelog links ([ #1926 ] [ ] , @ferhatelmas )
251
312
* Fix changelog links ([ #1929 ] [ ] , @alexzherdev )
252
313
314
+ [ 7.11.1 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.11.0...v7.11.1
253
315
[ #1932 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1932
254
316
[ #1929 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1929
255
317
[ #1926 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1926
@@ -286,6 +348,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
286
348
* Add a helper function for determining function-like expressions ([ #1914 ] [ ] , @alexzherdev )
287
349
* [ ` jsx-props-no-multi-spaces ` ] [ ] : update docs ([ #1918 ] [ ] , @BenRichter )
288
350
351
+ [ 7.11.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.10.0...v7.11.0
289
352
[ #1924 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1924
290
353
[ #1918 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1918
291
354
[ #1914 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1914
@@ -324,6 +387,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
324
387
### Changed
325
388
* Typo fixes in [ ` jsx-no-target-blank ` ] [ ] ([ #1805 ] [ ] @ferhatelmas ))
326
389
390
+ [ 7.10.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.9.1...v7.10.0
327
391
[ #1845 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1845
328
392
[ #1844 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1844
329
393
[ #1843 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1843
@@ -339,6 +403,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
339
403
## [ 7.9.1] - 2018-06-03
340
404
* Nothing was fixed; this is a republish with some updated deps. ([ #1804 ] [ ] @ljharb )
341
405
406
+ [ 7.9.1 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.9.0...v7.9.1
342
407
[ #1804 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1804
343
408
344
409
## [ 7.9.0] - 2018-06-03
0 commit comments