@@ -3,6 +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.20.0] - 2020-05-12
7
+
8
+ ### Added
9
+ * support eslint v7 ([ #2635 ] [ ] @ljharb , @toshi-toma )
10
+ * [ ` forbid-component-props ` ] [ ] /[ ` forbid-dom-props ` ] [ ] : Allow a custom message with forbid props ([ #2615 ] [ ] @mtamhankar1 )
11
+ * [ ` jsx-no-literals ` ] [ ] : add ` ignoreProps ` option to ignore props validation ([ #2146 ] [ ] @iiison )
12
+
13
+ ### Fixed
14
+ * [ ` jsx-sort-props ` ] [ ] : only use localeCompare when case is ignored ([ #2556 ] [ ] @tanmoyopenroot )
15
+ * [ ` jsx-key ` ] [ ] : add a failing test case for optional chaining ([ #2610 ] [ ] @JonathanLee-LX )
16
+ * [ ` no-unused-state ` ] [ ] : handle optional chaining ([ #2588 ] [ ] @golopot )
17
+ * [ ` jsx-pascal-case ` ] [ ] : Do not consider namespaces when checking for DOM ([ #2638 ] [ ] @yacinehmito )
18
+ * [ ` jsx-curly-spacing ` ] [ ] , [ ` jsx-no-bind ` ] [ ] , ` usedPropTypes ` util: avoid node.start and node.end ([ 25b1936] [ ] @toshi-toma )
19
+ * [ ` jsx-no-target-blank ` ] [ ] : allow ` no-referrer ` without ` noopener ` by default ([ #2043 ] [ ] @seancrater )
20
+ * [ ` button-has-type ` ] [ ] : improve message when non-static value is used ([ aecff62] [ ] @golopot )
21
+ * [ ` no-adjacent-inline-elements ` ] [ ] : prevent crash on nullish children ([ #2621 ] [ ] @Rogdham )
22
+ * [ ` prop-types ` ] [ ] : avoid crash when spreading any type ([ #2606 ] [ ] @golopot ))
23
+ * [ ` require-render-return ` ] [ ] : add missing "a" ([ #2604 ] [ ] @leothorp )
24
+ * [ ` jsx-no-comment-textnodes ` ] [ ] : fix for ` @typescript-eslint/parser ` ([ #2601 ] [ ] @Axnyff )
25
+ * [ ` displayName ` ] [ ] : avoid a crash when using React.memo ([ #2587 ] [ ] @golopot )
26
+
27
+ ### Docs
28
+ * Clean up examples in rule docs ([ #2546 ] [ ] @silvenon )
29
+ * [ readme] Add Rules of Hooks to Other useful plugins section ([ #2633 ] [ ] @petetnt )
30
+ * [ ` no-this-in-sfc ` ] [ ] : backtick ` this ` ([ #2616 ] [ ] @mrflip )
31
+ * [ ` function-component-definition ` ] [ ] : Fix unnamedComponents option examples ([ #2608 ] [ ] @vkrol ))
32
+
33
+ ### Changed
34
+ * [ Deps] Move "semver" to devDependencies ([ #2595 ] [ ] @rajivshah3 )
35
+ * [ eslint] remove ` operator-linebreak ` override ([ #2578 ] [ ] @golopot )
36
+ * [ Tests] ` button-has-type ` : ensure no mistakenly allowed identifiers named ` button ` /` submit ` /` reset ` ([ #2625 ] [ ] @golopot )
37
+ * [ Tests] ` displayName ` : add a test case ([ #2593 ] [ ] @golopot )
38
+ * [ Dev Deps] update ` @types/eslint ` , ` @types/estree ` , ` @types/node ` , ` @typescript-eslint/parser ` , ` coveralls ` , ` eslint-config-airbnb-base ` , ` eslint-plugin-import ` , ` typescript `
39
+
40
+ [ 7.20.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0
41
+ [ #2638 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2638
42
+ [ #2635 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2635
43
+ [ #2633 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2633
44
+ [ #2625 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2625
45
+ [ #2621 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2621
46
+ [ #2616 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2616
47
+ [ #2615 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2615
48
+ [ #2610 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2610
49
+ [ #2608 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2608
50
+ [ #2606 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2606
51
+ [ #2604 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2604
52
+ [ #2601 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2601
53
+ [ #2595 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2595
54
+ [ #2593 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2593
55
+ [ #2588 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2588
56
+ [ #2587 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2587
57
+ [ #2578 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2578
58
+ [ #2556 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2556
59
+ [ #2546 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2546
60
+ [ #2146 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2146
61
+ [ #2043 ] : https://github.com/yannickcr/eslint-plugin-react/pull/2043
62
+ [ 25b1936 ] : https://github.com/yannickcr/eslint-plugin-react/commit/25b19365e6cc3f188d6a5ed6cecc70fe6f1af7cd
63
+ [ aecff62 ] : https://github.com/yannickcr/eslint-plugin-react/commit/aecff625bf0590ed4d80ed6b58b81af11901f5f6
64
+
6
65
## [ 7.19.0] - 2020-03-06
7
66
8
67
### Added
0 commit comments