@@ -3,25 +3,95 @@ 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.5.0] - 2017-11-18
7
+ ### Added
8
+ * Add [ ` jsx-one-expression-per-line ` ] [ ] rule ([ #1497 ] [ ] @TSMMark )
9
+ * Add [ ` destructuring-assignment ` ] [ ] rule ([ #1462 ] [ ] @DianaSuvorova )
10
+ * Add [ ` no-access-state-in-setstate ` ] [ ] rule ([ #1374 ] [ ] @jaaberg )
11
+ * Add [ ` button-has-type ` ] [ ] rule ([ #1525 ] [ ] @Hypnosphi )
12
+ * Add warnings for ` React.DOM ` factories in [ ` no-deprecated ` ] [ ] ([ #1530 ] [ ] @backjo )
13
+ * Add ` sortShapeProp ` option to [ ` sort-prop-types ` ] [ ] ([ #1476 ] [ ] @jomasti )
14
+ * Add ` parens-new-line ` option to [ ` jsx-wrap-multilines ` ] [ ] ([ #1475 ] [ ] @jomasti )
15
+ * Add ` checkContextTypes ` and ` checkChildContextTypes ` options to [ ` forbid-prop-types ` ] [ ] ([ #1533 ] [ ] @jomasti )
16
+ * Add ` forbidDefaultForRequired ` option to [ ` require-default-props ` ] [ ] ([ #1524 ] [ ] @jomasti )
17
+ * Add new nodes support to [ ` jsx-wrap-multilines ` ] [ ] ([ #1384 ] [ ] @evgeny-petukhov )
18
+
19
+ ### Fixed
20
+ * Fix [ ` jsx-curly-brace-presence ` ] [ ] auto fix by bailing out when some chars exist ([ #1479 ] [ ] [ #1449 ] [ ] @jackyho112 )
21
+ * Fix [ ` boolean-prop-naming ` ] [ ] crash with Object spread ([ #1485 ] [ ] @track0x1 )
22
+ * Fix [ ` no-unused-state ` ] [ ] to correctly handle arrow function class method ([ #1363 ] [ ] @jackyho112 )
23
+ * Fix incompatibility with [ ` typescript-eslint-parser ` ] [ https://github.com/eslint/typescript-eslint-parser ] ([ #1496 ] [ ] @timothykang )
24
+ * Fix [ ` jsx-no-bind ` ] [ ] to only warn for props and account for variable declaration ([ #1444 ] [ ] [ #1395 ] [ ] [ #1417 ] [ ] @jackyho112 )
25
+ * Fix [ ` no-props-unused-props ` ] [ ] to handle props usage in custom prop validators ([ #1518 ] [ ] @petersendidit )
26
+ * Fix [ ` prefer-stateless-function ` ] [ ] to account for ` contextTypes ` and ` defaultProps ` ([ #1521 ] [ ] @jomasti )
27
+ * Fix [ ` jsx-no-comment-textnodes ` ] [ ] to not warn when using two slashes via html entities at the beginning of a literal ([ #1517 ] [ ] @jomasti )
28
+ * Fix [ ` default-props-match-prop-types ` ] [ ] crash ([ #1499 ] [ ] @jomasti )
29
+ * Fix [ ` no-unused-prop-types ` ] [ ] to handle props used in the ` setState ` update callback ([ #1507 ] [ ] @petersendidit )
30
+ * Fix alignment bug in [ ` jsx-indent ` ] [ ] ([ #1246 ] [ ] @jseminck )
31
+
32
+ ### Changed
33
+ * Documentation improvements ([ #1438 ] [ ] @jseminck , [ #1464 ] [ ] @AlaaAttya , [ #1494 ] [ ] @piperchester , [ #1467 ] [ ] @felicio , [ #1512 ] [ ] @adam-golab )
34
+ * Code refactoring ([ #1423 ] [ ] [ #1398 ] [ ] @jseminck , [ #1500 ] [ ] [ #1514 ] [ ] @Aladdin-ADD , [ #1502 ] [ ] @SimenB , [ #1508 ] [ ] [ #1526 ] [ ] @jomasti , @ljharb )
35
+ * Update dependencies ([ #1450 ] [ ] @leebyron , @ljharb )
36
+
37
+ [ 7.5.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.4.0...v7.5.0
38
+ [ #1497 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1497
39
+ [ #1462 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1462
40
+ [ #1374 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1374
41
+ [ #1525 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1525
42
+ [ #1530 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1530
43
+ [ #1476 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1476
44
+ [ #1475 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1475
45
+ [ #1533 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1533
46
+ [ #1524 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1524
47
+ [ #1384 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1384
48
+ [ #1479 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1479
49
+ [ #1449 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1449
50
+ [ #1485 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1485
51
+ [ #1363 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1363
52
+ [ #1496 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1496
53
+ [ #1444 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1444
54
+ [ #1395 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1395
55
+ [ #1417 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1417
56
+ [ #1518 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1518
57
+ [ #1521 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1521
58
+ [ #1517 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1517
59
+ [ #1499 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1499
60
+ [ #1507 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1507
61
+ [ #1246 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1246
62
+ [ #1438 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1438
63
+ [ #1464 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1464
64
+ [ #1494 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1494
65
+ [ #1467 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1467
66
+ [ #1512 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1512
67
+ [ #1423 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1423
68
+ [ #1500 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1500
69
+ [ #1514 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1514
70
+ [ #1502 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1502
71
+ [ #1508 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1508
72
+ [ #1526 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1526
73
+ [ #1398 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1398
74
+ [ #1450 ] : https://github.com/yannickcr/eslint-plugin-react/pull/1450
75
+
6
76
## [ 7.4.0] - 2017-09-24
7
77
### Added
8
- - Add Flow 0.53 support ([ #1376 ] [ ] @jseminck )
9
- - Add [ ` jsx-curly-brace-presence ` ] [ ] rule ([ #1310 ] [ ] @jackyho112 )
10
- - Add support for Flow IntersectionTypeAnnotation to [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] ([ #1364 ] [ ] [ #1323 ] [ ] @jseminck )
11
- - Add support for Flow TypedArgument to [ ` no-unused-prop-types ` ] [ ] ([ #1412 ] [ ] @jseminck )
12
- - Add support for Flow ClassExpressions to [ ` prop-types ` ] [ ] ([ #1400 ] [ ] @jseminck )
13
- - Add support for Flow read-only props to [ ` no-unused-prop-types ` ] [ ] ([ #1388 ] [ ] @jseminck )
14
- - Add more tests for [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] ([ #1381 ] [ ] @DianaSuvorova )
15
- - Add support for increment and decrement operations to [ ` no-direct-mutation-state ` ] [ ] ([ #1386 ] [ ] @zpao )
78
+ * Add Flow 0.53 support ([ #1376 ] [ ] @jseminck )
79
+ * Add [ ` jsx-curly-brace-presence ` ] [ ] rule ([ #1310 ] [ ] @jackyho112 )
80
+ * Add support for Flow IntersectionTypeAnnotation to [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] ([ #1364 ] [ ] [ #1323 ] [ ] @jseminck )
81
+ * Add support for Flow TypedArgument to [ ` no-unused-prop-types ` ] [ ] ([ #1412 ] [ ] @jseminck )
82
+ * Add support for Flow ClassExpressions to [ ` prop-types ` ] [ ] ([ #1400 ] [ ] @jseminck )
83
+ * Add support for Flow read-only props to [ ` no-unused-prop-types ` ] [ ] ([ #1388 ] [ ] @jseminck )
84
+ * Add more tests for [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] ([ #1381 ] [ ] @DianaSuvorova )
85
+ * Add support for increment and decrement operations to [ ` no-direct-mutation-state ` ] [ ] ([ #1386 ] [ ] @zpao )
16
86
17
87
### Fixed
18
- - Fix [ ` no-unused-state ` ] [ ] to ignore computed property keys ([ #1361 ] [ ] @jackyho112 )
19
- - Fix [ ` no-typos ` ] [ ] crash ([ #1406 ] [ ] @jseminck )
20
- - Fix [ ` boolean-prop-naming ` ] [ ] crash ([ #1409 ] [ ] @EvHaus )
21
- - Fix [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] crash with IntersectionTypeAnnotation ([ #1413 ] [ ] @jseminck )
88
+ * Fix [ ` no-unused-state ` ] [ ] to ignore computed property keys ([ #1361 ] [ ] @jackyho112 )
89
+ * Fix [ ` no-typos ` ] [ ] crash ([ #1406 ] [ ] @jseminck )
90
+ * Fix [ ` boolean-prop-naming ` ] [ ] crash ([ #1409 ] [ ] @EvHaus )
91
+ * Fix [ ` prop-types ` ] [ ] and [ ` no-unused-prop-types ` ] [ ] crash with IntersectionTypeAnnotation ([ #1413 ] [ ] @jseminck )
22
92
23
93
### Changed
24
- - Documentation improvements ([ #1392 ] [ ] @xcatliu , [ #1403 ] [ ] @piperchester , [ #1432 ] [ ] @jneuendorf )
94
+ * Documentation improvements ([ #1392 ] [ ] @xcatliu , [ #1403 ] [ ] @piperchester , [ #1432 ] [ ] @jneuendorf )
25
95
26
96
[ 7.4.0 ] : https://github.com/yannickcr/eslint-plugin-react/compare/v7.3.0...v7.4.0
27
97
[ #1376 ] : https://github.com/yannickcr/eslint-plugin-react/issues/1376
@@ -1958,3 +2028,7 @@ If you're still not using React 15 you can keep the old behavior by setting the
1958
2028
[ `no-comment-textnodes` ] : docs/rules/jsx-no-comment-textnodes.md
1959
2029
[ `wrap-multilines` ] : docs/rules/jsx-wrap-multilines.md
1960
2030
[ `jsx-curly-brace-presence` ] : docs/rules/jsx-curly-brace-presence.md
2031
+ [ `jsx-one-expression-per-line` ] : docs/rules/jsx-one-expression-per-line.md
2032
+ [ `destructuring-assignment` ] : docs/rules/destructuring-assignment.md
2033
+ [ `no-access-state-in-setstate` ] : docs/rules/no-access-state-in-setstate.md
2034
+ [ `button-has-type` ] : docs/rules/button-has-type.md
0 commit comments