@@ -3,6 +3,58 @@ 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.15.0] - 2019-09-30
7
+
8
+ ### Added
9
+ * add [ ` jsx-no-useless-fragment ` ] [ ] rule ([ #2261 ] [ ] @golopot )
10
+ * [ ` jsx-handler-name ` ] [ ] : allow ` false ` to disable ` eventHandlerPrefix ` /` eventHandlerPropPrefix ` ([ #2410 ] [ ] @tanmoyopenroot )
11
+ * [ ` sort-comp ` ] [ ] : add ` static-variables ` grouping ([ #2408 ] [ ] @vedadeepta )
12
+ * [ ` jsx-no-literals ` ] [ ] : Add ` allowedStrings ` option ([ #2380 ] [ ] @benhollander )
13
+ * [ ` no-multi-comp ` ] [ ] : Added handling for ` forwardRef ` and ` memo ` wrapping components declared in the same file ([ #2184 ] [ ] @jenil94 )
14
+ * [ ` jsx-pascal-case ` ] [ ] : ` allowAllCaps ` option now allows ` SCREAMING_SNAKE_CASE ` ([ #2364 ] [ ] @TylerR909 )
15
+
16
+ ### Fixed
17
+ * [ ` jsx-indent ` ] [ ] : Fix false positive when a jsx element is the last statement within a do expression (with tests) ([ #2200 ] [ ] @Kenneth-KT )
18
+ * [ ` jsx-curly-brace-presence ` ] [ ] : fix jsx tags in braces ([ #2422 ] [ ] @tanmoyopenroot )
19
+ * [ ` display-name ` ] [ ] : Fix false positives ([ #2399 ] [ ] @BPScott )
20
+ * [ ` jsx-curly-brace-presence ` ] [ ] : report unnecessary curly braces with children on next line ([ #2409 ] [ ] @vedadeepta )
21
+ * [ ` no-unused-prop-types ` ] [ ] : false positive with callback ([ #2375 ] [ ] @golopot )
22
+ * Fix prop-types detection collision on renamed props ([ #2383 ] [ ] @yannickcr )
23
+ * [ ` jsx-sort-props ` ] [ ] : use localeCompare rather than comparison operator ([ #2391 ] [ ] @tanmoyopenroot )
24
+ * [ ` jsx-pascal-case ` ] [ ] : allow one-letter-named components ([ #2395 ] [ ] @Haegin )
25
+ * [ ` jsx-wrap-multilines ` ] [ ] : fix incorrect formatting ([ #2392 ] [ ] @tanmoyopenroot )
26
+ * [ ` require-optimization ` ] [ ] : fix when using arrow function in class components ([ #2385 ] [ ] @jenil94 )
27
+ * [ ` no-deprecated ` ] [ ] : Deprecate cWM/cWRP/cWU lifecycle methods since React 16.9.0 ([ #2378 ] [ ] @meowtec )
28
+ * [ ` jsx-key ` ] [ ] : improve docs and confusing error message ([ #2367 ] [ ] @kaykayehnn )
29
+ * Recognize props wrapped in flow $ReadOnly<> utility type ([ #2361 ] [ ] @lukeapage )
30
+ * [ ` prop-types ` ] [ ] : false positive with setState updator ([ #2359 ] [ ] @golopot )
31
+
32
+ ### Changed
33
+ * [ Docs] [ ` no-access-state-in-setstate ` ] [ ] : update grammar ([ #2418 ] [ ] @neaumusic )
34
+ * [ ` jsx-curly-brace-presence ` ] [ ] , [ ` jsx-one-expression-per-line ` ] [ ] , [ ` no-danger-with-children ` ] [ ] : add ` isWhiteSpaces ` to ` lib/util/jsx ` ([ #2409 ] [ ] @vedadeepta )
35
+
36
+ [ #2422 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2422
37
+ [ #2410 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2410
38
+ [ #2409 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2409
39
+ [ #2408 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2408
40
+ [ #2402 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2402
41
+ [ #2399 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2399
42
+ [ #2395 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2395
43
+ [ #2392 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2392
44
+ [ #2391 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2391
45
+ [ #2385 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2385
46
+ [ #2383 ] : https://github.com/yannickcr/eslint-plugin-react/issue/2383
47
+ [ #2380 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2380
48
+ [ #2378 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2378
49
+ [ #2375 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2375
50
+ [ #2367 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2367
51
+ [ #2364 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2364
52
+ [ #2361 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2361
53
+ [ #2359 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2359
54
+ [ #2261 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2261
55
+ [ #2200 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2200
56
+ [ #2184 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2184
57
+
6
58
## [ 7.14.3] - 2019-07-23
7
59
8
60
### Fixed
@@ -2674,3 +2726,4 @@ If you're still not using React 15 you can keep the old behavior by setting the
2674
2726
[ `jsx-props-no-spreading` ] : docs/rules/jsx-props-no-spreading.md
2675
2727
[ `static-property-placement` ] : docs/rules/static-property-placement.md
2676
2728
[ `jsx-curly-newline` ] : docs/rules/jsx-curly-newline.md
2729
+ [ `jsx-no-useless-fragment` ] : docs/rules/jsx-no-useless-fragment.md
0 commit comments