@@ -3,6 +3,98 @@ 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.12.0] - 2018-12-27
7
+
8
+ ### Added
9
+ * [ ` no-typos ` ] : Support createClass ([ #1828 ] [ ] , @alexzherdev )
10
+ * Support detecting React.forwardRef/React.memo ([ #2089 ] [ ] , @jomasti )
11
+ * [ ` jsx-indent ` ] [ ] : add ` checkAttributes ` option for JSX attribute indentation ([ #2086 ] [ ] , @jomasti )
12
+ * Change allowed ` propWrapperFunctions ` setting values ([ #2065 ] [ ] , @jomasti )
13
+ * add [ ` jsx-fragments ` ] [ ] rule to enforce fragment syntax ([ #1994 ] [ ] , @alexzherdev )
14
+ * Support "detect" option for React version setting ([ #1978 ] [ ] , @alexzherdev )
15
+ * Support shorthand fragment syntax in many rules ([ #1956 ] [ ] , @alexzherdev )
16
+ * [ ` jsx-no-literals ` ] [ ] : print node value in warning message ([ #2008 ] [ ] , @jlgonzalezdev )
17
+
18
+ ### Fixed
19
+ * [ ` jsx-max-depth ` ] [ ] : Fix depth of JSX siblings in a JSXEpressionContainer ([ #1824 ] [ ] , @alexzherdev )
20
+ * [ ` no-array-index-key ` ] [ ] : fix in React.Children methods ([ #2085 ] [ ] , @himynameisdave )
21
+ * [ ` no-unused-state ` ] [ ] : handle functional setState ([ #2084 ] [ ] , @jomasti )
22
+ * version errors should log to stderr, not stdout ([ #2082 ] [ ] , @ljharb )
23
+ * [ ` no-deprecated ` ] [ ] : Disable legacy lifecycle methods linting for now ([ #2069 ] [ ] , @sergei-startsev )
24
+ * ensure that react and flow versions can be numbers ([ #2056 ] [ ] , @ljharb )
25
+ * [ ` forbid-foreign-prop-types ` ] [ ] : ensure ` allowInPropTypes ` option applies to class fields ([ #2040 ] [ ] , @Sheile )
26
+ * [ ` jsx-wrap-multilines ` ] [ ] : catch single missing newlines ([ #1984 ] [ ] , @MrHen )
27
+ * [ ` jsx-first-prop-new-line ` ] [ ] : Fix for parsers (like TypeScript) ([ #2026 ] [ ] , @HauptmannEck )
28
+ * [ ` jsx-sort-comp ` ] [ ] : Fix fixer in case of more than 10 props ([ #2012 ] [ ] , @tihonove )
29
+ * [ ` no-unused-state ` ] [ ] Don't depend on state parameter name ([ #1829 ] [ ] , @alexzherdev )
30
+ * [ ` no-this-in-sfc ` ] [ ] fix for class properties ([ #1995 ] [ ] , @sergei-startsev )
31
+ * [ ` no-this-in-sfc ` ] [ ] fix rule behavior for arrow functions inside a class field ([ #1989 ] [ ] , @sergei-startsev )
32
+ * [ ` destructuring-assignment ` ] [ ] : handle nested props usage ([ #1983 ] [ ] , @alexzherdev )
33
+ * [ ` sort-prop-types ` ] [ ] : fix string property order ([ #1977 ] [ ] , @metreniuk )
34
+ * [ ` jsx-no-target-blank ` ] [ ] : don’t crash when there’s no value ([ #1949 ] [ ] , @ljharb )
35
+ * [ ` prop-types ` ] [ ] , [ ` no-unused-prop-types ` ] [ ] : better handle object spread ([ #1939 ] [ ] , @alexzherdev )
36
+
37
+ ### Changed
38
+ * [ ` jsx-fragments ` ] [ ] : improve message text ([ #2032 ] [ ] , @alexzherdev )
39
+ * [ ` no-unsafe ` ] [ ] : handle all unsafe life-cycle methods ([ #2075 ] [ ] , @sergei-startsev )
40
+ * [ ` require-default-props ` ] [ ] : Change error message naming from singular defaultProp to plural defaultProps ([ #2064 ] [ ] , @jseminck )
41
+ * [ Refactor] Extract used ` propTypes ` detection ([ #1946 ] [ ] , @alexzherdev )
42
+ * [ Refactor] Extract ` defaultProps ` detection ([ #1942 ] [ ] , @alexzherdev )
43
+ * [ Refactor] Extract required ` propTypes ` detection ([ #2001 ] [ ] , @alexzherdev )
44
+ * [ Docs] [ ` no-did-mount-set-state ` ] [ ] , [ ` no-did-update-set-state ` ] [ ] , [ ` no-will-update-set-state ` ] [ ] : fix docs URLs ([ #2090 ] [ ] , @JBallin )
45
+ * [ Docs] Remove statement on GC in jsx-no-bind ([ #2067 ] [ ] , @rickhanlonii )
46
+ * [ Docs] [ ` jsx-sort-props ` ] [ ] : Fix small mistake ([ #2044 ] [ ] , @dimitarnestorov )
47
+ * [ Docs] [ ` no-unescaped-entities ` ] [ ] : add more escape examples ([ #2015 ] [ ] , @stevemao )
48
+ * [ Docs] [ ` display-name ` ] [ ] : mention default ` ignoreTranspilerName ` value ([ #2002 ] [ ] , @OliverJAsh )
49
+ * [ Docs] [ ` jsx-no-target-blank ` ] [ ] : Add full example ([ #1988 ] [ ] , @atomcorp )
50
+ * [ Docs] Update [ ` jsx-no-target-blank ` ] [ ] .md ([ #1953 ] [ ] , @brunocoelho )
51
+ * [ Changelog] fix "Ignore class properties" contributor ([ #1941 ] [ ] , @alexzherdev )
52
+ * [ Tests] Remove redundant ` require('babel-eslint') ` from tests ([ #2004 ] [ ] , @sergei-startsev )
53
+ * [ Tests] [ ` prop-types ` ] [ ] : Add tests for prop-types destructuring ([ #2029 ] [ ] , @sstern6 )
54
+ * [ Tests] [ ` display-name ` ] [ ] : add false positive component detection for destructured createElement ([ #1098 ] [ ] , @arian )
55
+
56
+ [ #2090 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2090
57
+ [ #2089 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2089
58
+ [ #2086 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2086
59
+ [ #2085 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2085
60
+ [ #2084 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2084
61
+ [ #2082 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2082
62
+ [ #2075 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2075
63
+ [ #2069 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2069
64
+ [ #2067 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2067
65
+ [ #2065 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2065
66
+ [ #2064 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2064
67
+ [ #2056 ] : https://github.com/yannickcr/eslint-plugin-react/issues/2056
68
+ [ #2044 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2044
69
+ [ #2040 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2040
70
+ [ #2032 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2032
71
+ [ #2029 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2029
72
+ [ #2026 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2026
73
+ [ #2015 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2015
74
+ [ #2012 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2012
75
+ [ #2008 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2008
76
+ [ #2004 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2004
77
+ [ #2002 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2002
78
+ [ #2001 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2001
79
+ [ #1995 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1995
80
+ [ #1994 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1994
81
+ [ #1989 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1989
82
+ [ #1988 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1988
83
+ [ #1984 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1984
84
+ [ #1983 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1983
85
+ [ #1978 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1978
86
+ [ #1977 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1977
87
+ [ #1956 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1956
88
+ [ #1953 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1953
89
+ [ #1949 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1949
90
+ [ #1946 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1946
91
+ [ #1942 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1942
92
+ [ #1941 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1941
93
+ [ #1939 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1939
94
+ [ #1828 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1828
95
+ [ #1824 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1824
96
+ [ #1098 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1098
97
+
6
98
## [ 7.11.1] - 2018-08-14
7
99
### Fixed
8
100
* stop crashing when assigning to propTypes ([ #1932 ] [ ] , @alexzherdev )
@@ -2331,3 +2423,4 @@ If you're still not using React 15 you can keep the old behavior by setting the
2331
2423
[ `jsx-max-depth` ] : docs/rules/jsx-max-depth.md
2332
2424
[ `jsx-props-no-multi-spaces` ] : docs/rules/jsx-props-no-multi-spaces.md
2333
2425
[ `no-unsafe` ] : docs/rules/no-unsafe.md
2426
+ [ `jsx-fragments` ] : docs/rules/jsx-fragments.md
0 commit comments