This repository has been archived by the owner on May 27, 2021. It is now read-only.
Update dependency eslint-plugin-react to v7.12.0 #670
Merged
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.
This PR contains the following updates:
7.11.1
->7.12.0
Release Notes
yannickcr/eslint-plugin-react
v7.12.0
Compare Source
Added
no-typos
]: Support createClass (#1828, @alexzherdev)jsx-indent
][]: addcheckAttributes
option for JSX attribute indentation (#2086, @jomasti)propWrapperFunctions
setting values (#2065, @jomasti)jsx-fragments
][] rule 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
][]: 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)propTypes
detection (#1946, @alexzherdev)defaultProps
detection (#1942, @alexzherdev)propTypes
detection (#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 defaultignoreTranspilerName
value (#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)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.