An in-range update of eslint-plugin-react is breaking the build 🚨 #59
Description
Activity
After pinning to 7.14.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
- The
devDependencyeslint-plugin-react was updated from7.14.1to7.14.2.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
- The
- The
devDependencyeslint-plugin-react was updated from7.14.2to7.14.3.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Release Notes for v7.14.3
Fixed
- Fix
prop-typesto 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
memoandforwardRefare used together (#2349 @yannickcr)
Changed
Commits
The new version differs by 16 commits.
47c4c8bUpdate CHANGELOG and bump version98d4bf3Fix component detection when memo and forwardRef are used togetherfc70077Merge pull request #2354 from golopot/patch-1f2891d9[docs] remove outdated docs forno-unused-prop-types49343d4[meta] add github sponsorship562e441Add Tidelift badge to READMEb684e87Add SECURITY file22a3740Add FUNDING filee835aafadd note about global installs being deprecated0215c38Merge pull request #2336 from abhishekdev/handle-react-detect-errors8fbf50cversion detection: Do not throw a raw error after the first warningf59e927version detection: Add testsd6832d6Fix new required import orderbc67d42Fix prop-types to ignore validation when Flow indexers are used8432e5eUpdate CHANGELOG and bump version
There are 16 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.14.3to7.15.0.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Commits
The new version differs by 46 commits.
b45219aUpdate CHANGELOG and bump versiona01198f[Dev Deps] updateeslint-config-airbnb-base,eslint-plugin-import,sinon,typescriptab77870[Deps] updatejsx-ast-utils,resolve32e27b7[Fix]jsx-indent: Fix false positive when a jsx element is the last statement within a do expression (with tests)628a4a0[fix]jsx-curly-brace-presence: fix jsx tags in braces3124ce0[Docs]no-access-state-in-setstate: update grammar4a05fa2[fix]display-name: Fix false positivesc6521adChange istanbul output directory to ./coverage (default)5970651[new]jsx-handler-name: allowfalseto disableeventHandlerPrefix/eventHandlerPropPrefix489ced3[refactor]jsx-curly-braces-presence, jsx-one-expression-per-line, no-danger-with-children: addisWhiteSpacestolib/util/jsx9b2db61[fix]jsx-curly-brace-presence: report unnecessary curly braces with children on next line781bfff[new]sort-comp: addstatic-variablesgrouping7ccff10[New] addjsx-no-useless-fragmentrule66725bc[Fix]no-unused-prop-types: false positive with callback3c72a49[eslint] disable some options and manually fixvalid-jsdoc
There are 46 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.15.0to7.15.1.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Commits
The new version differs by 50 commits.
e336aefUpdate CHANGELOG and bump version04fbe74[Fix]jsx-curly-brace-presence: bail out checks when JSXElements are passed as props20cc016[Docs]prefer-es6-class: Fix typosfeba507[Fix]jsx-curly-brace-presence: bail out on JSX inside props, for nowb45219aUpdate CHANGELOG and bump versiona01198f[Dev Deps] updateeslint-config-airbnb-base,eslint-plugin-import,sinon,typescriptab77870[Deps] updatejsx-ast-utils,resolve32e27b7[Fix]jsx-indent: Fix false positive when a jsx element is the last statement within a do expression (with tests)628a4a0[fix]jsx-curly-brace-presence: fix jsx tags in braces3124ce0[Docs]no-access-state-in-setstate: update grammar4a05fa2[fix]display-name: Fix false positivesc6521adChange istanbul output directory to ./coverage (default)5970651[new]jsx-handler-name: allowfalseto disableeventHandlerPrefix/eventHandlerPropPrefix489ced3[refactor]jsx-curly-braces-presence, jsx-one-expression-per-line, no-danger-with-children: addisWhiteSpacestolib/util/jsx9b2db61[fix]jsx-curly-brace-presence: report unnecessary curly braces with children on next line
There are 50 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.15.1to7.16.0.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Commits
The new version differs by 56 commits.
fb3210bUpdate CHANGELOG and bump version6011505[new]jsx-sort-default-props: make rule fixable6f14e16[fix]jsx-no-useless-fragment: usearray-includesover.includesfor back compata1dee7c[fix]jsx-curly-brace-presence: allow necessary white-space literald7d2a01[Fix]jsx-curly-brace-presence: warns incorrectly on trailing whitespacec153a86[Fix]no-unused-prop-types: false positive when nested destructuringe336aefUpdate CHANGELOG and bump version04fbe74[Fix]jsx-curly-brace-presence: bail out checks when JSXElements are passed as props20cc016[Docs]prefer-es6-class: Fix typosfeba507[Fix]jsx-curly-brace-presence: bail out on JSX inside props, for nowb45219aUpdate CHANGELOG and bump versiona01198f[Dev Deps] updateeslint-config-airbnb-base,eslint-plugin-import,sinon,typescriptab77870[Deps] updatejsx-ast-utils,resolve32e27b7[Fix]jsx-indent: Fix false positive when a jsx element is the last statement within a do expression (with tests)628a4a0[fix]jsx-curly-brace-presence: fix jsx tags in braces
There are 56 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.16.0to7.17.0.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Release Notes for v7.17.0
Added
jsx-no-target-blank: addallowReferreroption (#2478 @eps1lon)jsx-handler-names: addcheckLocalVariablesoption (#2470 @aub)prop-types: Support Flow Type spread (#2446 @moroine)jsx-props-no-spreading: addexplicitSpreadoption to allow explicit spread of props (#2449 @pawelnvk)jsx-no-target-blank: warn ontarget={'_blank'}expressions (#2451 @timkraut)
Fixed
sort-prop-types,jsx-sort-default-props: disable broken autofix (#2505 @webOS101)no-typos: improve report location (#2468 @golopot)jsx-no-literals: trim whitespace forallowedStringscheck (#2436 @cainlevy)jsx-curly-brace-presence: Fix filter of undefined error with whitespace inside jsx attr curlies (#2460 @dustinyoste)no-render-return-value: should warn when used in assignment expression ([#2462][] @jichu4n)jsx-curly-brace-presence: allow trailing spaces in literal (#2448 @doochik)
Changed
- [Deps] update
jsx-ast-utils,object.fromentries,resolve - [eslint] fix func-names and change object-shorthand to 'always' (#2483 @golopot)
- [Docs]
jsx-first-prop-new-line: Fix documentation formatting (#2489 @pjg) - [Docs]
prop-types: Update 'skipUndeclared' in rule options (#2504 @cjnickel) - [Docs]
jsx-first-prop-new-line: fix wrong rule name (#2500 @zgayjjf) - [eslint] enable eslint-plugin-eslint-plugin (#2469 @golopot)
- [Docs]
jsx-props-no-multi-spaces: suggest using core rule instead (#2463 @golopot) - [Docs]
jsx-first-prop-new-line: add rule options (#2465 @SerdarMustafa1) - [Docs]
jsx-no-target-blank: Add section about overriding for trusted links (#2438 @aschriner) - [Docs] fix typo (#2453 @cainwatson)
- [Docs]
no-unused-prop-types: clean up prose (#2273 @coryhouse) - [Docs]
jsx-no-bind: add section about React Hooks (#2443 @kdex)
Commits
The new version differs by 82 commits.
027ebd9Update CHANGELOG and bump version89911de[Deps] updatejsx-ast-utils,object.fromentries,resolvecfef664[Dev Deps] update@types/eslint,@types/estree,@types/node,coveralls,typescriptd3b5d71[New]jsx-no-target-blank: addallowReferreroption83ac4c0[eslint] fix func-names and change object-shorthand to 'always'225b433[Docs]jsx-first-prop-new-line: Fix documentation formatting62df1dd[Docs]prop-types: Update 'skipUndeclared' in rule options87d4cab[Docs]jsx-first-prop-new-line: fix wrong rule name55b605f[Fix]sort-prop-types,jsx-sort-default-props: disable broken autofix71c7d01[Tests] temporarily pin eslint 6 tests to v6.68093565[New]jsx-handler-names: addcheckLocalVariablesoption5be539b[Fix]no-typos: improve report locationd9d2193[eslint] enable eslint-plugin-eslint-plugin39e4396[Docs]jsx-props-no-multi-spaces: suggest using core rule instead9e4ad21[Docs]jsx-first-prop-new-line: add rule options
There are 82 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.18.0to7.18.1.
Your tests are still failing with this version. Compare changes
Commits
The new version differs by 114 commits.
000d6b8Update CHANGELOG and bump versionffdf69a[Fix]jsx-indent: Does not check indents for JSXText182b045[Docs] usemarkdown-magicto automatically sort all rules alphabetically45b9d32[Docs]jsx-props-no-spreading: fix typo to use correct rulef9aee94[Fix]jsx-props-no-spreading: add support for namespaced jsx componentse69b113[Fix]jsx-no-target-blank: allow rel to be an expressionfc6e406[meta] fix changelog date50df78f[Fix]sort-comp:|isn’t a valid regex flag;uandsarea7f6a8b[Tests] onnodev136a45142Update CHANGELOG and bump versiond9e4941[Deps] updatearray-includes,object.entries,object.fromentries,object.values,resolved1dc277[Fix]no-unused-prop-types,no-unused-state: fix false positives when using TS type assertions99cea84[New]function-component-definition: Enforce a specific function type for function componentsc234d0f[Docs]no-render-return-value: Fix title5fac02c[Fix]jsx-pascal-case: false negative with namespacing
There are 114 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.18.1to7.18.2.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
- The
- The
devDependencyeslint-plugin-react was updated from7.18.2to7.18.3.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
- The
- The
devDependencyeslint-plugin-react was updated from7.18.3to7.19.0.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Commits
The new version differs by 18 commits.
e2ed536Update CHANGELOG and bump version5959b5f[fix]prefer-stateless-function: avoid crash on ts empty constructore231f44[tests]no-unescaped-entities: skip test cases that are now parsing errors in acorn-jsx@5.2.0434b45f[Dev Deps] update@types/eslint,@types/estree,@types/node,eslint-plugin-eslint-plugin,eslint-plugin-import,typescripta917dda[Deps] updateresolve,xregexp09608cc[Fix]no-adjacent-inline-elements: avoid a crashb833535[Fix]no-unused-prop-types: Change the reporting to point to a more accurate nodeedc5fe2[New]style-prop-object: Addallowoption9b5d6aa[Fix]self-closing-comp: consider JSXMemberExpression as component too598277e[New]jsx-pascal-case: Support unicode characters43e466c[readme] Small visual inconsistency03edb68[docs] addreact/prefix to rule name, for consistencyb517b9e[Fix]no-unused-prop-types: makemarkPropTypesAsUsedwork withTSEmptyBodyFunctionExpressionAST node66c0d66[Fix]displayName(but really,propTypesdetection): do not crash on empty flow type spreads0a717a5Update CHANGELOG and bump version
There are 18 commits in total.
See the full diff
- The
- The
devDependencyeslint-plugin-react was updated from7.19.0to7.20.0.
Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Release Notes for v7.20.0
Added
- support eslint v7 (#2635 @ljharb, @toshi-toma)
forbid-component-props/forbid-dom-props: Allow a custom message with forbid props (#2615 @mtamhankar1)jsx-no-literals: addignorePropsoption to ignore props validation (#2146 @iiison)
Fixed
jsx-sort-props: only use localeCompare when case is ignored (#2556 @tanmoyopenroot)jsx-key: add a failing test case for optional chaining (#2610 @JonathanLee-LX)no-unused-state: handle optional chaining (#2588 @golopot)jsx-pascal-case: Do not consider namespaces when checking for DOM (#2638 @yacinehmito)jsx-curly-spacing,jsx-no-bind,usedPropTypesutil: avoid node.start and node.end (25b1936 @toshi-toma)jsx-no-target-blank: allowno-referrerwithoutnoopenerby default (#2043 @seancrater)button-has-type: improve message when non-static value is used (aecff62 @golopot)no-adjacent-inline-elements: prevent crash on nullish children (#2621 @Rogdham)prop-types: avoid crash when spreading any type (#2606 @golopot))require-render-return: add missing "a" (#2604 @leothorp)jsx-no-comment-textnodes: fix for@typescript-eslint/parser(#2601 @Axnyff)- [
displayName][]: avoid a crash when using React.memo (#2587 @golopot)
Docs
- Clean up examples in rule docs (#2546 @silvenon)
- [readme] Add Rules of Hooks to Other useful plugins section (#2633 @petetnt)
no-this-in-sfc: backtickthis(#2616 @mrflip)function-component-definition: Fix unnamedComponents option examples (#2608 @vkrol))
Changed
- [Deps] Move "semver" to devDependencies (#2595 @rajivshah3)
- [eslint] remove
operator-linebreakoverride (#2578 @golopot) - [Tests]
button-has-type: ensure no mistakenly allowed identifiers namedbutton/submit/reset(#2625 @golopot) - [Tests]
displayName: add a test case (#2593 @golopot) - [Dev Deps] update
@types/eslint,@types/estree,@types/node,@typescript-eslint/parser,coveralls,eslint-config-airbnb-base,eslint-plugin-import,typescript
Commits
The new version differs by 45 commits.
25bf6ccUpdate CHANGELOG and bump version2598b1e[Dev Deps] update@types/eslint,@types/estree,@types/node,@typescript-eslint/parser,coveralls,eslint-config-airbnb-base,eslint-plugin-import,typescriptf94d851[Fix]jsx-sort-props: only use localeCompare when case is ignoredc481a26[Docs] Clean up examples in rule docs88d404d[eslint] removeoperator-linebreakoverride304590aMerge pull request #2635 from ljharb/eslint735030a0[Tests] fix mistaken error property and add output property906b474[New] support eslint v7d66f467[Fix]jsx-key: add a failing test case for optional chainingda7a045[Fix]no-unused-state: handle optional chaining9861469[New]forbid-component-props/forbid-dom-props: Allow a custom message with forbid propsab28224[Fix]jsx-pascal-case: Do not consider namespaces when checking for DOM25b1936[Fix]jsx-curly-spacing,jsx-no-bind,usedPropTypesutil: avoid node.start and node.enddb4e471[readme] Add Rules of Hooks to Other useful plugins sectionb9d2eb5[Fix]jsx-no-target-blank: allowno-referrerwithoutnoopenerby default
There are 45 commits in total.
See the full diff
- The
The devDependency eslint-plugin-react was updated from
7.14.0to7.14.1.🚨 View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Status Details
Release Notes for v7.14.1
Fixed
prop-typescrash on multiple destructuring (#2319 @golopot)Commits
The new version differs by 3 commits.
62255afUpdate CHANGELOG and bump version655eb01Merge pull request #2320 from golopot/issue-23199639d82[Fix]prop-types: fix crash on multiple destructuringSee the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴