@@ -3,6 +3,70 @@ 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.6.0] - 2018-01-25
7
+ ### Added
8
+ * Add [ ` forbid-dom-props ` ] [ ] rule ([ #1562 ] [ ] @davazp )
9
+ * Add [ ` jsx-child-element-spacing ` ] [ ] rule ([ #1515 ] [ ] @pfhayes )
10
+ * Add [ ` no-this-in-sfc ` ] [ ] rule ([ #1435 ] [ ] @jomasti )
11
+ * Add [ ` jsx-sort-default-props ` ] [ ] rule ([ #281 ] [ ] @b0gok )
12
+ * Add ` message ` option to [ ` boolean-prop-naming ` ] [ ] ([ #1588 ] [ ] @louisscruz )
13
+ * Add ` beforeClosing ` option to [ ` jsx-tag-spacing ` ] [ ] ([ #1396 ] [ ] @cjskillingstad )
14
+ * Add ` instance-methods ` and ` instance-variables ` to [ ` sort-comp ` ] [ ] ([ #599 ] [ ] @RDGthree )
15
+ * Add ` propWrapperFunctions ` support for [ ` boolean-prop-naming ` ] [ ] ([ #1478 ] [ ] @jomasti )
16
+ * Add warning for ` React.addons.TestUtils ` in [ ` no-deprecated ` ] [ ] ([ #1644 ] [ ] @nirnaor )
17
+ * Add URL to rule documentation to the rules metadata ([ #1635 ] [ ] @Arcanemagus )
18
+
19
+ ### Fixed
20
+ * Fix crashes in [ ` no-access-state-in-setstate ` ] [ ] ([ #1559 ] [ ] @jomasti , [ #1611 ] [ ] @pfhayes )
21
+ * Fix crash in [ ` require-optimization ` ] [ ] when encountering arrays with empty items as values in object ([ #1621 ] [ ] @kamataryo )
22
+ * Fix crash in [ ` no-unused-prop-types ` ] [ ] when passing an empty function as a PropType ([ #1542 ] [ ] [ #1581 ] [ ] @kevinzwhuang )
23
+ * Fix crash in [ ` no-typos ` ] [ ] when using ` PropType.shape ` without arguments ([ #1471 ] [ ] @mrichmond )
24
+ * Fix crash when using Unions in flow propTypes ([ #1468 ] [ ] @justinanastos )
25
+ * Fix missing meta in [ ` jsx-tag-spacing ` ] [ ] ([ #1650 ] [ ] @flyerhzm )
26
+ * Fix [ ` no-unused-state ` ] [ ] to detect usage of ` this.state ` as an object ([ #1572 ] [ ] )
27
+ * Fix [ ` no-access-state-in-setstate ` ] [ ] to detect when the ` state ` variable is destructured from ` this.state ` ([ #1597 ] [ ] @jaaberg )
28
+ * Fix [ ` jsx-no-literals ` ] [ ] to correctly find string literals part of BinaryExpressions ([ #1511 ] [ ] @jaaberg )
29
+ * Fix [ ` no-typos ` ] [ ] false positive on custom propTypes with isRequired ([ #1607 ] [ ] @lfades )
30
+ * Fix [ ` prop-types ` ] [ ] to check for ` nextProps ` in ` componentWillReceiveProps ` ([ #1636 ] [ ] @xjmdoo )
31
+ * Fix [ ` no-unknown-property ` ] [ ] to not pascal-casing ` crossorigin ` attribute and only allow it on script/img/video ([ #1642 ] [ ] @ljharb )
32
+
33
+ ### Changed
34
+ * Improve [ ` jsx-wrap-multilines ` ] [ ] auto fix ([ #1576 ] [ ] @sharmilajesupaul )
35
+ * Export ` defaultConfig ` from [ ` sort-comp ` ] [ ] rule for programmatic use ([ #1578 ] [ ] @Andarist )
36
+ * Documentation improvements ([ #1552 ] [ ] @TSMMark , [ #1566 ] [ ] @lukeapage , [ #1624 ] [ ] @alexilyaev , @ljharb )
37
+ * Update dependencies (@ljharb )
38
+
39
+ [ 7.6.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.5.1...v7.6.0
40
+ [ #1562 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1562
41
+ [ #1515 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1515
42
+ [ #1435 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1435
43
+ [ #281 ] : https://github.com/yannickcr/eslint-plugin-react/issues/281
44
+ [ #1588 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1588
45
+ [ #1396 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1396
46
+ [ #599 ] : https://github.com/yannickcr/eslint-plugin-react/issues/599
47
+ [ #1478 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1478
48
+ [ #1644 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1644
49
+ [ #1635 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1635
50
+ [ #1559 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1559
51
+ [ #1611 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1611
52
+ [ #1621 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1621
53
+ [ #1542 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1542
54
+ [ #1581 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1581
55
+ [ #1471 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1471
56
+ [ #1468 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1468
57
+ [ #1650 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1650
58
+ [ #1572 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1572
59
+ [ #1597 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1597
60
+ [ #1511 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1511
61
+ [ #1607 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1607
62
+ [ #1636 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1636
63
+ [ #1642 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1642
64
+ [ #1576 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1576
65
+ [ #1578 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1578
66
+ [ #1552 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1552
67
+ [ #1566 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1566
68
+ [ #1624 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1624
69
+
6
70
## [ 7.5.1] - 2017-11-19
7
71
### Fixed
8
72
* Fix [ ` jsx-no-bind ` ] [ ] crash ([ #1543 ] [ ] @jomasti )
@@ -2045,3 +2109,7 @@ If you're still not using React 15 you can keep the old behavior by setting the
2045
2109
[ `destructuring-assignment` ] : docs/rules/destructuring-assignment.md
2046
2110
[ `no-access-state-in-setstate` ] : docs/rules/no-access-state-in-setstate.md
2047
2111
[ `button-has-type` ] : docs/rules/button-has-type.md
2112
+ [ `forbid-dom-props` ] : docs/rules/forbid-dom-props.md
2113
+ [ `jsx-child-element-spacing` ] : docs/rules/jsx-child-element-spacing.md
2114
+ [ `no-this-in-sfc` ] : docs/rules/no-this-in-sfc.md
2115
+ [ `jsx-sort-default-props` ] : docs/rules/jsx-sort-default-props.md
0 commit comments