@@ -3,6 +3,80 @@ 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.13.0] - 2019-05-03
7
+
8
+ ### Added
9
+ * Make [ ` jsx-sort-props ` ] [ ] fully fixable ([ #2250 ] [ ] , @guliashvili )
10
+ * [ ` boolean-prop-naming ` ] [ ] : add ` validateNested ` option to validate shape prop names ([ #2234 ] [ ] , @pawelnvk )
11
+ * add [ ` static-property-placement ` ] [ ] rule ([ #2193 ] [ ] , @dmason30 )
12
+ * add "detect" for flow version ([ #2233 ] [ ] , @jedwards1211 )
13
+ * [ ` jsx-indent ` ] [ ] : Add ` indentLogicalExpressions ` option ([ #2227 ] [ ] , @mdnsk )
14
+ * add [ ` jsx-props-no-spreading ` ] [ ] ([ #2191 ] [ ] , @ashbhir )
15
+ * [ ` no-string-refs ` ] [ ] : Added ` noTemplateLiteral ` option ([ #2167 ] [ ] , @jenil94 )
16
+ * add ` linkComponents ` setting ([ #2116 ] [ ] , @gbakernet )
17
+ * [ ` jsx-no-target-blank ` ] [ ] : add support for ` linkComponents ` setting ([ #2116 ] [ ] , @gbakernet )
18
+ * Add [ ` state-in-constructor ` ] [ ] rule ([ #1945 ] [ ] , @lukyth )
19
+ * Add [ ` prefer-read-only-props ` ] [ ] rule ([ #2110 ] [ ] , @golopot )
20
+ * [ ` no-unescaped-entities ` ] [ ] : more friendly error message; add config to adjust ([ #2016 ] [ ] , @stevemao )
21
+
22
+ ### Fixed
23
+ * [ ` jsx-props-no-multi-spaces ` ] [ ] : support generic components (ts) ([ #2256 ] [ ] , @mateuszsokola )
24
+ * [ ` prop-types ` ] [ ] : fix case with destructuring and default param ([ #2246 ] [ ] , @golopot )
25
+ * [ ` prefer-stateless-function ` ] [ ] : Ignoring pure components without props and context usage ([ #2238 ] [ ] , @pawelnvk )
26
+ * ` propTypes ` : resolveSuperParameterPropsType: add null check ([ #2232 ] [ ] , @jedwards1211 )
27
+ * [ ` self-closing-comp ` ] [ ] : stop reporting single-line spaces ([ #2210 ] [ ] , @golopot )
28
+ * [ ` require-render-return ` ] [ ] : more accurate report location ([ #2229 ] [ ] , @golopot )
29
+ * [ ` sort-prop-types ` ] [ ] : Fix sorting props with numeric keys ([ #2230 ] [ ] , @pawelnvk )
30
+ * [ ` display-name ` ] [ ] : fix false negative around nested functions ([ #2225 ] [ ] , @dwelle )
31
+ * [ ` no-unknown-property ` ] [ ] : fix case like ` <Foo.bar> ` ([ #2207 ] [ ] , @golopot )
32
+ * [ ` jsx-curly-brace-presence ` ] [ ] : accept multiline template string ([ #2203 ] [ ] , @golopot )
33
+ * [ ` jsx-one-expression-per-line ` ] [ ] : fix when using tabs ([ #2198 ] [ ] , @Ohar )
34
+ * [ ` prop-types ` ] [ ] : Fix false positive on computed member expression ([ #2202 ] [ ] , @golopot )
35
+ * [ ` jsx-sort-default-props ` ] [ ] : fix case with spread ([ #2182 ] [ ] , @VincentLanglet )
36
+ * [ ` no-this-in-sfc ` ] [ ] : Fix false positive on SFC defined as object property ([ #2147 ] [ ] , @yannickcr )
37
+ * [ ` sort-comp ` ] [ ] : correctly recognize instance variables declared without explicit value ([ #2183 ] [ ] , @yannickcr )
38
+ * [ ` no-unused-state ` ] [ ] : fix set state callback destructing & state use inside callback ([ #2151 ] [ ] , @barakyosi )
39
+ * [ ` no-multi-comp ` ] [ ] : correctly ignore wrapped stateless components: ([ #2145 ] [ ] , @yannickcr )
40
+ * [ ` display-name ` ] [ ] : avoid crash on for..of ([ #2137 ] [ ] , @ljharb )
41
+
42
+ ### Changed
43
+ * [ Docs] [ ` no-access-state-in-setstate ` ] [ ] : Use syntax highlighting for examples ([ #2160 ] [ ] , @pReya )
44
+ * [ Docs] [ ` jsx-fragments ` ] [ ] : add "fixable" note ([ #2143 ] [ ] , @joshunger )
45
+ * [ Docs] Added shared settings info, React version default note ([ #2180 ] [ ] , @samsch )
46
+ * [ Tests] [ ` jsx-curly-spacing ` ] [ ] : add regression test case ([ #2206 ] [ ] , @ColCh )
47
+
48
+ [ #2256 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2256
49
+ [ #2250 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2250
50
+ [ #2246 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2246
51
+ [ #2238 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2238
52
+ [ #2234 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2234
53
+ [ #2233 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2233
54
+ [ #2232 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2232
55
+ [ #2230 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2230
56
+ [ #2229 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2229
57
+ [ #2227 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2227
58
+ [ #2225 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2225
59
+ [ #2210 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2210
60
+ [ #2207 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2207
61
+ [ #2206 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2206
62
+ [ #2203 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2203
63
+ [ #2202 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2202
64
+ [ #2198 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2198
65
+ [ #2193 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2193
66
+ [ #2191 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2191
67
+ [ #2183 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2183
68
+ [ #2182 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2182
69
+ [ #2180 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2180
70
+ [ #2167 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2167
71
+ [ #2147 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2147
72
+ [ #2145 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2145
73
+ [ #2143 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2143
74
+ [ #2137 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2137
75
+ [ #2116 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2116
76
+ [ #2110 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2110
77
+ [ #2016 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2016
78
+ [ #1945 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1945
79
+
6
80
## [ 7.12.4] - 2019-01-16
7
81
8
82
### Fixed
@@ -2498,3 +2572,7 @@ If you're still not using React 15 you can keep the old behavior by setting the
2498
2572
[ `no-unsafe` ] : docs/rules/no-unsafe.md
2499
2573
[ `jsx-fragments` ] : docs/rules/jsx-fragments.md
2500
2574
[ `jsx-props-no-spreading` ] : docs/rules/jsx-props-no-spreading.md
2575
+ [ `prefer-read-only-props` ] : docs/rules/prefer-read-only-props.md
2576
+ [ `state-in-constructor` ] : docs/rules/state-in-constructor.md
2577
+ [ `jsx-props-no-spreading` ] : docs/rules/jsx-props-no-spreading.md
2578
+ [ `static-property-placement` ] : docs/rules/static-property-placement.md
0 commit comments