An in-range update of eslint-plugin-react is breaking the build π¨
greenkeeper opened this issue Β· comments
Version 6.10.0 of eslint-plugin-react just got published.
Branch | Build failing π¨ |
---|---|
Dependency | eslint-plugin-react |
Current Version | 6.9.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As eslint-plugin-react is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
Status Details
- β continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes
v6.10.0Added
- Add
forbid-foreign-prop-types
rule (#696 @iancmyers) - Add
void-dom-elements-no-children
rule (#709 @lencioni) - Add
forbid-elements
rule (#887 @kentor) - Add
noSortAlphabetically
option tojsx-sort-props
(#541 #786 @markus101) - Add
when
option tojsx-max-props-per-line
(#878 @kentor) - Add support for
nextProps
toprop-types
(#814)
Fixed
- Fix
require-default-props
crash (#1029) - Fix
require-default-props
rule when using Flow type from assignment (#1043 @wyze @CarlRosell) - Fix
style-prop-object
to not warn with explicitnull
orundefined
(#812 @ljharb) - Fix
no-unused-prop-types
props detection in stateless components (#885 @BarryThePenguin) - Fix
display-name
false positive withdocument.createElement
(#996 @jomasti) - Fix ESLint 2 compatibility (@ljharb)
Changed
Commits
The new version differs by 49 commits .
83d4c4b
Update CHANGELOG and bump version
ee144d6
Merge pull request #890 from kentor/forbid-elements
3e2421e
Merge pull request #946 from BarryThePenguin/no-unused-prop-types-in-jsx
3b25a3b
Merge pull request #882 from kentor/jsx-max-props-per-line-updates
54abb8b
Merge pull request #1055 from iancmyers/icm-forbid-foreign-prop-type
0b25b66
Add forbid-foreign-prop-types rule
c586273
Merge pull request #1062 from dguo/patch-2
8e207b8
Fix no-array-index-key typo
d884a98
Add new rule: forbid-elements
c97dd0f
Merge pull request #1051 from yannickcr/void-dom-elements-no-children
a84d5f5
jsx-max-props-per-line: Use json format in docs
9af8d25
fix comments
d5c3e91
detect used props in jsx
b52f3b8
jsx-max-props-per-line: Add additional test cases
b485e28
jsx-max-props-per-line: Add
when
option
There are 49 commits in total. See the full diff.
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Version 6.10.1 just got published.
Your tests are passing again with this version. Explicitly upgrade to this version π
Release Notes
v6.10.1Fixed
- Fix
jsx-indent
auto fix with tabs ([#1057][] @kentcdodds @webOS101) - Fix
jsx-indent
crash ([#1061][] @iancmyers) - Fix
void-dom-elements-no-children
crash and fix it to only checks for a createElement call from
React ([#1073][] @jomasti) - Fix component detection that caused a false positive in
no-multi-comp
([#1088][] @benstepp)
Commits
The new version differs by 11 commits .
ab03af8
Update CHANGELOG and bump version
b646485
Merge pull request #1089 from benstepp/bs-multicomp-false-positives
c038899
Bug fix for false positives with no-multi-comp
8148833
[Fix] Update void-dom-elements-no-children createElement checks
c45ab86
Merge pull request #1081 from webOS101/jsx-indent-fix
7863a5c
Fix jsx-indent single line jsx
416deff
Update void-dom-elements-no-children
22f3638
Merge pull request #1077 from iancmyers/fix-jsx-indent-template-conditional
c6f4a5e
Fix error caused by templates in ConditionalExpressions (jsx-indent)
a4b6a85
Merge pull request #1058 from kentcdodds/pr/jsx-indent-tabs-fix
6e5f688
[Fix] jsx-indent with tabs (fixes #1057)
See the full diff.
Version 6.10.2 just got published.
Your tests are passing again with this version. Explicitly upgrade to this version π
Commits
The new version differs by 13 commits .
5b75162
Update CHANGELOG and bump version
41bdb58
Fix jsx-indent indentation calculation with nested JSX (fixes #1117)
ab03af8
Update CHANGELOG and bump version
b646485
Merge pull request #1089 from benstepp/bs-multicomp-false-positives
c038899
Bug fix for false positives with no-multi-comp
8148833
[Fix] Update void-dom-elements-no-children createElement checks
c45ab86
Merge pull request #1081 from webOS101/jsx-indent-fix
7863a5c
Fix jsx-indent single line jsx
416deff
Update void-dom-elements-no-children
22f3638
Merge pull request #1077 from iancmyers/fix-jsx-indent-template-conditional
c6f4a5e
Fix error caused by templates in ConditionalExpressions (jsx-indent)
a4b6a85
Merge pull request #1058 from kentcdodds/pr/jsx-indent-tabs-fix
6e5f688
[Fix] jsx-indent with tabs (fixes #1057)
See the full diff.
Version 6.10.3 just got published.
Your tests are still failing with this version. Compare the changes π¨
Commits
The new version differs by 15 commits .
b9cfdd6
Update CHANGELOG and bump version
e9fb52d
Revert "[Fix] jsx-indent with tabs (fixes #1057)"
5b75162
Update CHANGELOG and bump version
41bdb58
Fix jsx-indent indentation calculation with nested JSX (fixes #1117)
ab03af8
Update CHANGELOG and bump version
b646485
Merge pull request #1089 from benstepp/bs-multicomp-false-positives
c038899
Bug fix for false positives with no-multi-comp
8148833
[Fix] Update void-dom-elements-no-children createElement checks
c45ab86
Merge pull request #1081 from webOS101/jsx-indent-fix
7863a5c
Fix jsx-indent single line jsx
416deff
Update void-dom-elements-no-children
22f3638
Merge pull request #1077 from iancmyers/fix-jsx-indent-template-conditional
c6f4a5e
Fix error caused by templates in ConditionalExpressions (jsx-indent)
a4b6a85
Merge pull request #1058 from kentcdodds/pr/jsx-indent-tabs-fix
6e5f688
[Fix] jsx-indent with tabs (fixes #1057)
See the full diff.
Version 7.2.1 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.2.1Fixed
- Fix
forbid-prop-types
crash on identifiers (#1352 @ljharb) - Fix
boolean-prop-naming
crash with propTypes wrapper (#1354 @dustinsoftware) - Fix
prop-types
false positive with local variableprops
(#1288 @DianaSuvorova) - Fix wrapped propTypes detection (#1366)
Changed
Commits
The new version differs by 335 commits.
8511835
Update CHANGELOG and bump version
0f6688b
Merge pull request #1124 from penx/patch-1
ecc5d89
Fix wrapped propTypes detection (fixes #1366)
4724d48
Merge pull request #1365 from DianaSuvorova/i1288
6272a1d
[prop types] fix an assignment to prop
b9bb564
Merge pull request #1358 from dustinsoftware/issue1354
99fd813
Fix propTypes wrapper crash in boolean-prop-naming
dae6574
[Tests] use
pretest
to run the linter2dcb73b
[Tests] fixup previous linter error
5ad93b4
[Fix]
forbid-prop-types
: propWrapperFunctions breaks on identifiers.73abadb
Update CHANGELOG and bump version
1a622ea
Merge pull request #1343 from DianaSuvorova/unusedPropsFlow
f9c22ef
Merge pull request #1273 from Overload119/master
d66808b
Modernize to use let and const
e305279
Merge pull request #1344 from DianaSuvorova/docs
There are 250 commits in total.
See the full diff
Version 7.3.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.3.0Added
- Add checks for
propTypes
,contextTypes
andchildContextTypes
tono-typos
(#213 @DianaSuvorova)
Fixed
- Fix
boolean-prop-naming
crash (#1369 @EvHaus) - Fix
no-typos
crash (#1353 @jseminck) - Fix
require-default-props
stopping when it finds a component without props (#1380 @brgibson) - Fix
no-direct-mutation-state
detection with nested components (#1382)
Changed
Commits
The new version differs by 25 commits.
162b92b
Update CHANGELOG and bump version
686ab89
Merge pull request #1375 from jseminck/more-robust-no-typos-fix
9805f70
Fix no-direct-mutation-state detection with nested components (fixes #1382)
6af4bca
Merge pull request #1383 from mjomble/patch-1
a05bc0a
Fixed links in changelog
48e8dc1
Merge pull request #1380 from brgibson/master
f371368
require-default-props - fixing an edge case where linting stops when it finds a component without props - should move on to the next component in the file
5e25a5e
Re-add FIXME and disable the warning through eslint-disable-next-line
d00e9e6
Remove FIXME as it fails linting
0cf2415
Add comment to the eslint parent definition issue
02ed7d0
Merge pull request #1371 from DianaSuvorova/i213
1292807
Add comment explaining try/catch
fa890cb
Tests and explaining the case that is currently not supported.
1301fe9
More robust no-typos fix
59a3f6a
[no-typo] rule enhancement checking for a correct prop type spelling
There are 25 commits in total.
See the full diff
Version 7.4.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.4.0Added
- Add Flow 0.53 support (#1376 @jseminck)
- Add
jsx-curly-brace-presence
rule (#1310 @jackyho112) - Add support for Flow IntersectionTypeAnnotation to
prop-types
andno-unused-prop-types
(#1364 #1323 @jseminck) - Add support for Flow TypedArgument to
no-unused-prop-types
(#1412 @jseminck) - Add support for Flow ClassExpressions to
prop-types
(#1400 @jseminck) - Add support for Flow read-only props to
no-unused-prop-types
(#1388 @jseminck) - Add more tests for
prop-types
andno-unused-prop-types
(#1381 @DianaSuvorova) - Add support for increment and decrement operations to
no-direct-mutation-state
(#1386 @zpao)
Fixed
- Fix
no-unused-state
to ignore computed property keys (#1361 @jackyho112) - Fix
no-typos
crash (#1406 @jseminck) - Fix
boolean-prop-naming
crash (#1409 @EvHaus) - Fix
prop-types
andno-unused-prop-types
crash with IntersectionTypeAnnotation (#1413 @jseminck)
Changed
- Documentation improvements (#1392 @xcatliu, #1403 @piperchester, #1432 @jneuendorf)
Commits
The new version differs by 112 commits.
dc9f85e
Update CHANGELOG and bump version
99b12a2
Merge pull request #1432 from jneuendorf/master
d2005b1
fixed typos in no-multi-comp
ddd05b1
Update CHANGELOG and bump version
7e336aa
Merge pull request #1415 from jseminck/intersection-imported-type
ad26580
Merge pull request #1387 from zpao/update-expression
09c4ed7
Add tests for {...} & Props in addition to Props & {...}
357dcda
buildReactDeclarationTypes to always return an object
0ee5e93
Rewrite reduce to ignorePropsValidation as some()
3e9aefe
Make buildTypeAnnotationDeclarationTypes always return an object instead of boolean or an object
3e4d184
Aadd support also for no-unused-prop-types
19a2911
Clean up the code a bit
20f75ee
Add support for TypeA & { ... }
a771125
Add similar supprt for no-used-prop-types
87aca04
Add support for multiple Flow IntersectionTypeAnnotations and skip propTypes when one of the intersected props is not found, e.g. when imported
There are 112 commits in total.
See the full diff
Version 7.5.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.5.0Added
- Add
jsx-one-expression-per-line
rule (#1497 @TSMMark) - Add
destructuring-assignment
rule (#1462 @DianaSuvorova) - Add
no-access-state-in-setstate
rule (#1374 @jaaberg) - Add
button-has-type
rule (#1525 @Hypnosphi) - Add warnings for
React.DOM
factories inno-deprecated
(#1530 @backjo) - Add
sortShapeProp
option tosort-prop-types
(#1476 @jomasti) - Add
parens-new-line
option tojsx-wrap-multilines
(#1475 @jomasti) - Add
checkContextTypes
andcheckChildContextTypes
options toforbid-prop-types
(#1533 @jomasti) - Add
forbidDefaultForRequired
option torequire-default-props
(#1524 @jomasti) - Add new nodes support to
jsx-wrap-multilines
(#1384 @evgeny-petukhov)
Fixed
- Fix
jsx-curly-brace-presence
auto fix by bailing out when some chars exist (#1479 #1449 @jackyho112) - Fix
boolean-prop-naming
crash with Object spread (#1485 @track0x1) - Fix
no-unused-state
to correctly handle arrow function class method (#1363 @jackyho112) - Fix incompatibility with
typescript-eslint-parser
(#1496 @timothykang) - Fix
jsx-no-bind
to only warn for props and account for variable declaration (#1444 #1395 #1417 @jackyho112) - Fix
no-props-unused-props
to handle props usage in custom prop validators (#1518 @petersendidit) - Fix
prefer-stateless-function
to account forcontextTypes
anddefaultProps
(#1521 @jomasti) - Fix
jsx-no-comment-textnodes
to not warn when using two slashes via html entities at the beginning of a literal (#1517 @jomasti) - Fix
default-props-match-prop-types
crash (#1499 @jomasti) - Fix
no-unused-prop-types
to handle props used in thesetState
update callback (#1507 @petersendidit) - Fix alignment bug in
jsx-indent
(#1246 @jseminck)
Changed
Commits
The new version differs by 176 commits.
c148893
Update CHANGELOG and bump version
f746d68
Update dependencies
771f534
Merge pull request #1539 from jseminck/jsx-indent-bug
acc4f24
Use the new function also in jsx-indent-props
c51087c
Extract isNodeFirstInLine to astUtil function
6d50fb6
Fix test by using the same isNodeFirstInLine function found in jsx-closing-tag-location rule
8f3dc55
Add failing test
27b8279
Merge pull request #1532 from jomasti/issue-1524
24190c6
Merge pull request #1398 from jseminck/components-as-class
cf2d6f6
Keep existing API of exporting Components
04a42a9
Move private functions out of the class
a0d47cf
Export an object with a single detect() function, removing the static class property
e3638ab
Remove @class jsdoc
c379156
Move detect to a static class property
8d66521
Re-write Components as a class
There are 176 commits in total.
See the full diff
Version 7.5.1 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.5.1Fixed
Changed
Commits
The new version differs by 7 commits.
3a94a95
Update CHANGELOG and bump version
32a050a
Merge pull request #1549 from jseminck/documentation-fix-2
31bfdf7
Add button-has-type to readme
56c0a0b
Merge pull request #1545 from jomasti/issue-1542
3c6d571
Fix crash in no-unused-prop-types
e0bae03
Merge pull request #1544 from jomasti/issue-1543
51ffcd0
Prevent jsx-no-bind crash
See the full diff
Version 7.6.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Commits
The new version differs by 106 commits.
7b742d0
Update CHANGELOG and bump version
692cdc8
Merge pull request #1643 from ljharb/fix_crossorigin
c558451
Merge pull request #1651 from xjmdoo/master
f4cab9a
Merge pull request #1652 from lfades/fix/no-typos
20dff22
Adds more checks to MethodDefinition case and adds new test case for default parser
942a92c
merged one of the previous tests and added 2 new tests for the default parser
1d12044
Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing
8360ffa
support isRequired for custom props and call expressions
f9cc10d
prop-types doesn't check nextProps of componentWillReceiveProps
d3840a5
add missing meta to jsx-tag-spacing
36beb6d
Merge pull request #1483 from b0gok/jsx-sort-default-props
c2c7a2a
Merge pull request #1616 from jaaberg/jsx-no-literals-binary
e24b53f
Add tests and examples with multiple spreads
558576c
Add more tests with spread, add examples
8237551
Merge pull request #1645 from nirnaor/master
There are 106 commits in total.
See the full diff
Version 7.6.1 just got published.
Your tests are still failing with this version. Compare the changes π¨
Commits
The new version differs by 11 commits.
f7441bb
Update CHANGELOG and bump version
e56376e
[Fix]
no-access-state-in-setstate
: handle object spreadd060041
Merge pull request #1659 from jzDev/jzDev/flip-crossorigin-rule
1d13218
Restore tests and crossorigin attribute map
843d71a
Merge pull request #1653 from jetpacmonkey/master
d64a16b
Added the missing tagName, link, to support the crossOrigin property.
a19b2ad
Removed unnecessary mapping and tests handled by React's existing warnings.
f947536
Fixed crossorigin naming convention to match React's supported HTML attributes.
509f2cb
Use typeof === 'undefined' instead of void 0
e4f7e30
Mark all recursive proptypes as acceptable with {}, not true
614d3bd
Support recursive type annotations, fixes #913
See the full diff
Version 7.7.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Commits
The new version differs by 29 commits.
abe8381
Update CHANGELOG and bump version
0e2e046
[Dev Deps] update
babel-eslint
,eslint
,istanbul
,mocha
34f83a5
[New] Add
jsx-max-depth
e4de360
[Fix] jsx-curly-spacing problem in new tests, fixes #1414
a2764d9
[Tests] number comments to more easily locate failures
b4141d8
[Tests] Added tests for jsx-curly-spacing that deal with comments in children.
c996740
Merge pull request #1690 from mindspacepdx/am-should-component-update
e26b7e2
[Tests] clean up some formatting
8ca344a
Rearranged tests to be at the bottom of componentWillReceiveProps tests. Added a default parser test.
3ac7943
[docs] add missing rule to readme
0fa0761
Added test & working
e77c97f
Test
fb2fefd
Merge pull request #1675 from yuri-sakharov/fix/react-no-unused-prop-types
3d83d13
Added more tests
24658b5
Added more valid tests
There are 29 commits in total.
See the full diff
Version 7.8.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.8.0Added
- Add support for fragments to
react-in-jsx-scope
(#1758) - Add support for Flow generic PropType to
require-default-props
(#1724 @Miziak) - Add component whitelist option to
forbid-component-props
(#1732 @ThiefMaster) - Add support for React 16.3 lifecycle methods to
no-unused-prop-types
(#1681 @bvaughn) - Add support for React 16.3 lifecycle methods to
sort-comp
(#1767 @joe-denea) - Add support for React 16.3 lifecycle methods to
no-typos
- Add support for
prevState
andnextState
tono-unused-state
(#1759) - Add warnings for
componentWillMount
,componentWillReceiveProps
andcomponentWillUpdate
lifecycle methods inno-deprecated
(#1750 @sergei-startsev)
Fixed
- Fix
no-typos
false positive on customPropType
classes (#1389 @brettdh) - Fix
boolean-prop-naming
to handle required props (#1389 @louisscruz) - Fix
jsx-curly-brace-presence
to allow whitespace JSX container (#1717 @sharmilajesupaul) - Fix
jsx-no-bind
to handle ternary conditions (#1722 @gwenaellarmet)
Changed
- Documentation improvements (#1699 @ronanmathew, #1743 @ybiquitous, #1753 @awthwathje, #1783 @chentsulin, #1703 @ferhatelmas)
Commits
The new version differs by 65 commits.
fb7411d
Update CHANGELOG and bump version
b5865e8
Replace static status badge by a dynamic one
79f32b1
Fix Code Climate badge in README
ab803e5
Update CHANGELOG and bump version
b26d1cc
Add prevState and nextState support to no-unused-state (fixes #1759)
3aac310
Add support for React 16.3 lifecycle methods to no-typos
5f3f04f
Merge pull request #1783 from chentsulin/patch-1
26dc5a6
fix typo containing
9519938
Add getSnapshotBeforeUpdate support to no-unused-prop-types (fixes #1751)
d51b0cc
Add fragment support to react-in-jsx-scope (fixes #1758)
fb7ce94
Merge pull request #1771 from joe-denea/master
230b0ad
[Tests] fix appveyor
768013e
Add support for React 16.3 lifecycle methods
d68ef96
Merge pull request #1750 from sergei-startsev/no-deprecated
8973758
[Tests] fix linting errors
There are 65 commits in total.
See the full diff
Version 7.8.1 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.8.1Fixed
Version 7.8.2 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.8.2Fixed
Version 7.9.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.9.0Added
- Add
jsx-props-no-multi-spaces
rule (#1755 @ThiefMaster) - Add
first
option tojsx-indent-props
(#398 @ThiefMaster) - Add
enforceDynamicLinks
option tojsx-no-target-blank
(#1737 @kenearley)
Fixed
- Fix static lifecycle methods validation in
sort-comp
(#1793 @lynxtaa) - Fix crash in
no-typos
when encountering anonymous react imports (#1796 @jsg2021) - Fix ESLint 3 support (#1779)
Changed
Commits
The new version differs by 41 commits.
0d34198
Update CHANGELOG and bump version
ab6b41a
Remove deprecated experimentalObjectRestSpread option from tests configuration
9d4e27a
Ignore no-typos test that only works with ESLint 5
f2d8729
Add SpreadElement support to sort-prop-types
29c248d
Add JSXText support to self-closing-comp
632941c
Add SpreadElement support to require-default-props
b3ed9d6
Add SpreadElement and RestElement support to no-unused-state
ce1fec7
Add JSXText support to no-unescaped-entities
ed3370b
Add SpreadElement and JSXText support to no-danger-with-children
0a028e4
Add JSXText support to jsx-one-expression-per-line
bd6caf0
Add JSXText support to jsx-no-literals
0a6cb51
Add JSXText support to jsx-indent
c734901
Add JSXText support to jsx-curly-brace-presence
3762258
Add JSXText support to jsx-child-element-spacing
e6e8955
Add SpreadElement support to default-props-match-prop-types
There are 41 commits in total.
See the full diff
Version 7.9.1 just got published.
Your tests are still failing with this version. Compare the changes π¨
Version 7.10.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Commits
The new version differs by 23 commits.
157cc93
Update CHANGELOG and bump version
7c5a16f
[Deps] update
has
,prop-types
93ce3c5
[Dev Deps] update
babel-eslint
5186b16
Merge pull request #1845 from alexzherdev/1844-no-set-state-unsafe-will-update
8122c8b
Account for UNSAFE_ method in no-will-update-set-state
c6cc4ab
[New] Allow eslint ^5
4121b59
[Tests] clean up test matrix
7869530
Merge pull request #1831 from sergei-startsev/no-unsafe-rule
0285eef
Excluded
no-unsafe
from the recommended for now to avoid breaking changese41500a
Added early termination for no-unsafe, adjusted tests to support ESLint3
5e17159
Added missed position details for
no-unsafe
5b08a1e
Adjusted
no-unsafe
ruleb5e86bf
Added
no-unsafe
rule48e386d
Merge pull request #1827 from alexzherdev/1677-no-typos-static-proptypes
d68b9e8
Remove unnecessary babel-eslint and fix typo
There are 23 commits in total.
See the full diff
Version 7.11.0 just got published.
Your tests are still failing with this version. Compare the changes π¨
Release Notes
v7.11.0Added
jsx-one-expression-per-line
: add "allow" option (#1924, @alexzherdev)sort-prop-types
: add autofix (#1891, @finnp)jsx-no-bind
: Add ignoreDOMComponents option (#1868, @alexzherdev)- Output a warning if React version is missing in settings (#1857, @alexzherdev)
Fixed
destructuring-assignment
: Ignore class properties (#1909, @alexzherdev)destructuring-assignment
, component detection: ignore components with confidence = 0 (#1907, @alexzherdev)boolean-prop-naming
: Handle inline Flow type (#1905, @alexzherdev)jsx-props-no-multi-spaces
: Handle member expressions ([#1890][], @alexzherdev)sort-comp
: Allow methods to belong to any matching group (#1858, @nosilleg)jsx-sort-props
: FixreservedFirst
(#1883, @fleischie)prop-types
: (flow) Stop crashing on undefined or null properties (#1860, @nicholas-l)no-unknown-property
: Make attribute "charset" valid (#1863, @silvenon)no-deprecated
: report identifier AST node instead of the class node (#1854, @jsnajdr)button-has-type
: Account for pragma (#1851, @alexzherdev)button-has-type
: improve error message when an identifier is used as the value (#1874, @ljharb)- support JSXText nodes alongside Literal nodes (@ljharb)
Changed
- Extract propTypes detection code (#1911, @alexzherdev)
- Fix broken links in changelog (#1849, @alexzherdev)
no-unused-state
: combine spread visitors (@ljharb)jsx-one-expression-per-line
: Fix JSX Syntax in docs (#1867, @peter-mouland)jsx-max-depth
,jsx-sort-default-props
: add missing docs urls (#1880, @flyerhzm)jsx-indent
: add test cases (#1892, @alexzherdev)prop-types
: add test cases (#1898, @alexzherdev)- Add a helper function for determining function-like expressions (#1914, @alexzherdev)
jsx-props-no-multi-spaces
: update docs (#1918, @ BenRichter)
Commits
The new version differs by 65 commits.
599c028
Update CHANGELOG and bump version
1eccf7f
Merge pull request #1924 from alexzherdev/1775-one-expression-options
c1c3d19
Merge pull request #1911 from alexzherdev/1674-prop-types-refactoring
3567c5b
[New] Add allow option to jsx-one-expression-per-line
9258d79
Merge pull request #1918 from BenRichter/patch-1
bc9a8ea
Update jsx-props-no-multi-spaces.md
a466a77
Merge pull request #1909 from alexandernanberg/fix/class-property-destructure-assignment
50cd5a6
Clean up and code review
5b5ebfa
Made prop-types pass
f2fdaa3
Extract declared propTypes detection code
9dbb834
Merge pull request #1914 from alexzherdev/is-function-helper
7edc982
Fix lint error
ef36ba9
Add a helper function for determining function-like expressions
4382aa5
fix: destructuring-assignment ignore class properties
efe0c0c
Merge pull request #1907 from alexzherdev/1637-destructuring-assignment-greedy
There are 65 commits in total.
See the full diff
Version 7.11.1 just got published.
Your tests are still failing with this version. Compare the changes π¨
Commits
The new version differs by 11 commits.
fb745ab
Update CHANGELOG and bump version
27f9e08
Merge pull request #1932 from alexzherdev/1928-fix-assignment-handling
44a3bf6
[Fix] stop crashing when assigning to propTypes
a33384d
Merge pull request #1929 from alexzherdev/patch-1
d78819d
Fix link in changelog
8a9d938
Merge pull request #1926 from ferhatelmas/fix-changelog
b812416
Update changelog
564107c
Merge pull request #1897 from christophehurpeau/patch-1
622470f
Update sort-prop-types.js
fa90fe5
Update sort-prop-types.md
6e8dadb
Rule sort-prop-types add noSortAlphabetically
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.11.1
to7.12.0
.
Your tests are still failing with this version. Compare changes
Release Notes for v7.12.0
Added
no-typos
: Support createClass (#1828, @alexzherdev)- Support detecting React.forwardRef/React.memo (#2089, @jomasti)
jsx-indent
: addcheckAttributes
option for JSX attribute indentation (#2086, @jomasti)- Change allowed
propWrapperFunctions
setting values (#2065, @jomasti) - add
jsx-fragments
rule to enforce fragment syntax (#1994, @alexzherdev) - Support "detect" option for React version setting (#1978, @alexzherdev)
- Support shorthand fragment syntax in many rules (#1956, @alexzherdev)
jsx-no-literals
: print node value in warning message (#2008, @jlgonzalezdev)
Fixed
jsx-max-depth
: Fix depth of JSX siblings in a JSXEpressionContainer (#1824, @alexzherdev)no-array-index-key
: fix in React.Children methods (#2085, @himynameisdave)no-unused-state
: handle functional setState (#2084, @jomasti)- version errors should log to stderr, not stdout (#2082, @ljharb)
no-deprecated
: Disable legacy lifecycle methods linting for now (#2069, @sergei-startsev)- ensure that react and flow versions can be numbers (#2056, @ljharb)
forbid-foreign-prop-types
: ensureallowInPropTypes
option applies to class fields (#2040, @Sheile)jsx-wrap-multilines
: catch single missing newlines (#1984, @MrHen)jsx-first-prop-new-line
: Fix for parsers (like TypeScript) (#2026, @HauptmannEck)- [
jsx-sort-comp
][]: Fix fixer in case of more than 10 props (#2012, @tihonove) no-unused-state
Don't depend on state parameter name ([#1829][], @alexzherdev)no-this-in-sfc
fix for class properties (#1995, @sergei-startsev)no-this-in-sfc
fix rule behavior for arrow functions inside a class field (#1989, @sergei-startsev)destructuring-assignment
: handle nested props usage (#1983, @alexzherdev)sort-prop-types
: fix string property order (#1977, @metreniuk)jsx-no-target-blank
: donβt crash when thereβs no value (#1949, @ljharb)prop-types
,no-unused-prop-types
: better handle object spread (#1939, @alexzherdev)
Changed
jsx-fragments
: improve message text (#2032, @alexzherdev)no-unsafe
: handle all unsafe life-cycle methods (#2075, @sergei-startsev)require-default-props
: Change error message naming from singular defaultProp to plural defaultProps (#2064, @jseminck)- [Refactor] Extract used
propTypes
detection (#1946, @alexzherdev) - [Refactor] Extract
defaultProps
detection (#1942, @alexzherdev) - [Refactor] Extract required
propTypes
detection (#2001, @alexzherdev) - [Docs]
no-did-mount-set-state
,no-did-update-set-state
,no-will-update-set-state
: fix docs URLs (#2090, @JBallin) - [Docs] Remove statement on GC in jsx-no-bind (#2067, @rickhanlonii)
- [Docs]
jsx-sort-props
: Fix small mistake (#2044, @dimitarnestorov) - [Docs]
no-unescaped-entities
: add more escape examples (#2015, @stevemao) - [Docs]
display-name
: mention defaultignoreTranspilerName
value (#2002, @OliverJAsh) - [Docs]
jsx-no-target-blank
: Add full example (#1988, @atomcorp) - [Docs] Update
jsx-no-target-blank
.md (#1953, @brunocoelho) - [Changelog] fix "Ignore class properties" contributor (#1941, @alexzherdev)
- [Tests] Remove redundant
require('babel-eslint')
from tests (#2004, @sergei-startsev) - [Tests]
prop-types
: Add tests for prop-types destructuring (#2029, @sstern6) - [Tests]
display-name
: add false positive component detection for destructured createElement (#1098, @arian)
Commits
The new version differs by 127 commits.
a83d65c
Update CHANGELOG and bump version
0c6160e
[Dev Deps] update
coveralls
,babel-eslint
,typescript
cd6c8e6
[Deps] update
resolve
d2b5b73
Merge pull request #1828 from alexzherdev/1721-no-typos-create-class
e747459
[Tests] remove node 5/7/9, add node 11
b33ae84
Merge pull request #1098 from arian/createElement-display-test
84be80a
Merge pull request #1824 from alexzherdev/1762-jsx-max-depth-false-positive
a442067
Merge pull request #2029 from sstern6/issue1422
7d07c37
Merge pull request #2032 from alexzherdev/jsx-fragments-message
8c6a8e2
Merge pull request #2089 from jomasti/feature/support-react-forwardref-memo
14451d4
Merge pull request #2085 from himynameisdave/issues/2083
8be52c7
π Addresses CR comments
f7e3121
Merge branch 'master' of https://github.com/yannickcr/eslint-plugin-react into issues/2083
77e3fd0
Merge pull request #2090 from JBallin/no-method-set-state-docs-url
7da9e0d
Fix noMethodSetState docsUrl's
There are 127 commits in total.
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.12.0
to7.12.1
.
Your tests are still failing with this version. Compare changes
Release Notes for v7.12.1
Fixed
no-unused-state
: Fix crash with class fields (#2098, @jomasti)prop-types
: Fix false positives inside lifecycle methods (#2099, @jomasti)jsx-max-depth
: avoid a crash (#2102, @ljharb)jsx-wrap-multilines
: avoid crash when no trailing newline (#2100, @ljharb)
Changed
- Fix CHANGELOG.md (#2097, @alexzherdev)
Commits
The new version differs by 9 commits.
0202de3
Update CHANGELOG and bump version
6f7cb51
[Tests] fix linter
695e534
[Fix]
jsx-wrap-multilines
: avoid crash when no trailing newline146d8d1
[Fix]
jsx-max-depth
: avoid a crashdfeeb81
Merge pull request #2099 from jomasti/issue-2094
55e5fc1
Fix false positives inside lifecycle methods
254a84a
Merge pull request #2098 from jomasti/issue-2096
72982f6
Fix no-unused-state crash
835fc05
Fix CHANGELOG.md
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.12.1
to7.12.2
.
Your tests are still failing with this version. Compare changes
Release Notes for v7.12.2
Fixed
prop-types
: avoid crash on used prevProps (#2095, @ljharb)- Version warning: Link does not end with '.' (#2103, @yoyo837))
forbid-prop-types
: fix crash with propWrapper check on MemberExpressions (#2104, @ljharb)
Commits
The new version differs by 5 commits.
c93cbc6
Update CHANGELOG and bump version
e71feb5
[Fix]
forbid-prop-types
: fix crash with propWrapper check on MemberExpressions11a66c0
Merge pull request #2103 from yoyo837/patch-1
e9cfc16
Link does not end with '.'
4da90ea
[Fix]
prop-types
: avoid crash on used prevProps
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.12.2
to7.12.3
.
Your tests are still failing with this version. Compare changes
Release Notes for v7.12.3
Fixed
jsx-indent
: Prevent crash on valueless props (#2120, @jomasti)jsx-fragments
: avoid crashing on self-closing fragments (#2113, @alexzherdev)no-unused-prop-types
: Fix propType detection inside class bodies (#2115, @drx)no-unused-prop-types
: fix issue with propTypes misclassifying props (#2111, @drx)display-name
: fix false positive forReact.memo
(#2109, @jomasti)
Changed
- [Docs] add a missing comma in the JSON settings (#2117, @haideralsh)
- [Docs] update README to document React version detection (#2114, @mohsinulhaq)
Commits
The new version differs by 14 commits.
2f5cec9
Update CHANGELOG and bump version
096161a
Merge pull request #2120 from jomasti/issue-2119
9d3955a
Prevent crash of jsx-indent rule
230c7e0
Merge pull request #2117 from haideralsh/patch-1
b4b0e72
fix: add a missing in the JSON settings
d2aa260
Merge pull request #2115 from drx/class_body_prop_types
41974e5
Fix propType detection inside class bodies
40f2565
[Docs] update README to document React version detection
dd0757f
Merge pull request #2113 from alexzherdev/2112-fix-self-closing-fragments
e997f6c
[Fix] avoid crashing on self-closing fragments
b48b479
Merge pull request #2111 from drx/prop_types_class_properties
e15bafa
[Fix]
no-unused-prop-types
: fix issue with propTypes misclassifying propsa86b339
Merge pull request #2109 from jomasti/issue-2105
5f9863e
Fix display-name false positive for React.memo
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.12.3
to7.12.4
.
Your tests are still failing with this version. Compare changes
Release Notes for v7.12.4
Fixed
no-unused-prop-types
: avoid a crash (#2131, @ljharb)prop-types
: avoid further crashes from nonexistent nodes in unusedPropTypes (#2127, @ljharb)prop-types
: Read name of callee object (#2125, @CrOrc)prop-types
: Ignore reassignments when matching props declarations with components (#2051, #1957, @yannickcr)prop-types
,no-unused-prop-types
,require-default-props
: Detect components with return statement in switch/case (#2118, @yannickcr)
Changed
Commits
The new version differs by 10 commits.
433cc3f
Update CHANGELOG and bump version
536bc35
[Tests]
prop-types
: add case from #2134df7ffc1
[Tests]
no-typos
: test case from #2136c7e5f38
[Tests] improve version detection tests.
2dd2277
[Tests]
prop-types
: add now-passing test case84652b6
[Fix]
no-unused-prop-types
: avoid a crash58ed9e9
[Fix]
prop-types
: avoid further crashes from nonexistent nodes in unusedPropTypes7f7b96d
[Fix]
prop-types
: Read name of callee object.5fc50aa
[Fix] Ignore reassignments when matching props declarations with components
ba80a4c
[Fix] Detect components with return statement in switch/case
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.12.4
to7.13.0
.
Your tests are still failing with this version. Compare changes
Commits
The new version differs by 74 commits.
f39829f
Update CHANGELOG and bump version
9e81dde
[Deps] update
jsx-ast-utils
,resolve
e73a692
Merge pull request #2256 from mateuszsokola/master
b5fc9bf
[fix]
jsx-props-no-multi-spaces
: support generic components (ts)8bd3837
Fix Node 4 compatibility
005dad3
Revert "Replace mocha by jest"
6e4f43e
Replace mocha by jest
09f580c
Replace typescript-eslint-parser by @typescript-eslint/parser
861fdef
[fix]
prop-types
: fix case with destructuring and defualt param9fbd037
Fix ESLint 6 compat by providing parser as absolute path to RuleTester
8041075
Fix jsx-curly-brace-presence schema defaults
9cec705
Add next ESLint version to Travis
0d4725e
Add Node 12 and remove Node 4/6 from Travis
9192ec3
Update devDependencies
d5d2e82
Merge pull request #2250 from guliashvili/master
There are 74 commits in total.
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.14.0
to7.14.1
.
Your tests are still failing with this version. Compare changes
Commits
The new version differs by 71 commits.
62255af
Update CHANGELOG and bump version
655eb01
Merge pull request #2320 from golopot/issue-2319
9639d82
[Fix]
prop-types
: fix crash on multiple destructuringdfaa92f
Update CHANGELOG and bump version
c52b61b
Merge pull request #2316 from kaykayehnn/jsx-key-fragments
8db631b
[Fix] Fix detection of annotated props with default value
bbebefd
[Tests] Remove AppVeyor
0d49f5a
[New] Add ESLint ^6.0.0 as valid peerDependency
0364ed2
Fix formatting issues
7c1abed
Add checkFragmentShorthand option
ed04c2f
Fix tests in eslint < 5
0d1aaf8
Handle fragments in jsx-key
7d449a9
[New]
jsx-sort-props
: Change reported range to only the identifier1e102f0
Change reported range to only the identifier
e6b4c33
Merge pull request #2301 from golopot/fix-cached-props-2
There are 71 commits in total.
See the full diff
- The
devDependency
eslint-plugin-react was updated from7.14.1
to7.14.2
.
Your tests are still failing with this version. Compare changes
- The
devDependency
eslint-plugin-react was updated from7.14.2
to7.14.3
.
Your tests are still failing with this version. Compare changes
Release Notes for v7.14.3
Fixed
- Fix
prop-types
to ignore validation when Flow indexers are used (#2330 @yannickcr) - Fix error being thrown after the first warning when react version cannot be detected (#2336 @abhishekdev)
- Fix component detection when
memo
andforwardRef
are used together (#2349 @yannickcr)
Changed
Commits
The new version differs by 14 commits.
47c4c8b
Update CHANGELOG and bump version
98d4bf3
Fix component detection when memo and forwardRef are used together
fc70077
Merge pull request #2354 from golopot/patch-1
f2891d9
[docs] remove outdated docs for
no-unused-prop-types
49343d4
[meta] add github sponsorship
562e441
Add Tidelift badge to README
b684e87
Add SECURITY file
22a3740
Add FUNDING file
e835aaf
add note about global installs being deprecated
0215c38
Merge pull request #2336 from abhishekdev/handle-react-detect-errors
8fbf50c
version detection: Do not throw a raw error after the first warning
f59e927
version detection: Add tests
d6832d6
Fix new required import order
bc67d42
Fix prop-types to ignore validation when Flow indexers are used
See the full diff