Update eslint-plugin-react to the latest version 🚀 #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The devDependency eslint-plugin-react was updated from
7.11.1to7.12.0.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v7.12.0
Added
no-typos: Support createClass (#1828, @alexzherdev)jsx-indent: addcheckAttributesoption for JSX attribute indentation (#2086, @jomasti)propWrapperFunctionssetting values (#2065, @jomasti)jsx-fragmentsrule to enforce fragment syntax (#1994, @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)no-deprecated: Disable legacy lifecycle methods linting for now (#2069, @sergei-startsev)forbid-foreign-prop-types: ensureallowInPropTypesoption 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-stateDon't depend on state parameter name ([#1829][], @alexzherdev)no-this-in-sfcfix for class properties (#1995, @sergei-startsev)no-this-in-sfcfix 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)propTypesdetection (#1946, @alexzherdev)defaultPropsdetection (#1942, @alexzherdev)propTypesdetection (#2001, @alexzherdev)no-did-mount-set-state,no-did-update-set-state,no-will-update-set-state: fix docs URLs (#2090, @JBallin)jsx-sort-props: Fix small mistake (#2044, @dimitarnestorov)no-unescaped-entities: add more escape examples (#2015, @stevemao)display-name: mention defaultignoreTranspilerNamevalue (#2002, @OliverJAsh)jsx-no-target-blank: Add full example (#1988, @atomcorp)jsx-no-target-blank.md (#1953, @brunocoelho)require('babel-eslint')from tests (#2004, @sergei-startsev)prop-types: Add tests for prop-types destructuring (#2029, @sstern6)display-name: add false positive component detection for destructured createElement (#1098, @arian)Commits
The new version differs by 127 commits.
a83d65cUpdate CHANGELOG and bump version0c6160e[Dev Deps] updatecoveralls,babel-eslint,typescriptcd6c8e6[Deps] updateresolved2b5b73Merge pull request #1828 from alexzherdev/1721-no-typos-create-classe747459[Tests] remove node 5/7/9, add node 11b33ae84Merge pull request #1098 from arian/createElement-display-test84be80aMerge pull request #1824 from alexzherdev/1762-jsx-max-depth-false-positivea442067Merge pull request #2029 from sstern6/issue14227d07c37Merge pull request #2032 from alexzherdev/jsx-fragments-message8c6a8e2Merge pull request #2089 from jomasti/feature/support-react-forwardref-memo14451d4Merge pull request #2085 from himynameisdave/issues/20838be52c7📝 Addresses CR commentsf7e3121Merge branch 'master' of https://github.com/yannickcr/eslint-plugin-react into issues/208377e3fd0Merge pull request #2090 from JBallin/no-method-set-state-docs-url7da9e0dFix noMethodSetState docsUrl'sThere are 127 commits in total.
See 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 🌴