Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-plugin-react from 7.11.1 to 7.12.0 #216

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps eslint-plugin-react from 7.11.1 to 7.12.0.

Release notes

Sourced from eslint-plugin-react's releases.

v7.12.0

Added

  • [no-typos]: Support createClass ([#1828][], alexzherdev)
  • Support detecting React.forwardRef/React.memo ([#2089][], jomasti)
  • [jsx-indent][]: add checkAttributes 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][]: ensure allowInPropTypes 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 default ignoreTranspilerName 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)
... (truncated)
Changelog

Sourced from eslint-plugin-react's changelog.

[7.12.0] - 2018-12-27

Added

  • [no-typos]: Support createClass ([#1828][], alexzherdev)
  • Support detecting React.forwardRef/React.memo ([#2089][], jomasti)
  • [jsx-indent][]: add checkAttributes 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][]: ensure allowInPropTypes 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 default ignoreTranspilerName 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)
... (truncated)
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
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview
Copy link
Contributor Author

Superseded by #219.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/eslint-plugin-react-7.12.0 branch January 1, 2019 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants