ahmadawais / create-guten-block

📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
https://Awais.dev/cgb-post
MIT License
3.16k stars 329 forks source link

Bump eslint-plugin-react from 7.6.1 to 7.13.0 #174

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps eslint-plugin-react from 7.6.1 to 7.13.0.

Release notes *Sourced from [eslint-plugin-react's releases](https://github.com/yannickcr/eslint-plugin-react/releases).* > ## v7.12.4 > ### Fixed > * [`no-unused-prop-types`][]: avoid a crash ([#2131][], [@​ljharb](https://github.com/ljharb)) > * [`prop-types`][]: avoid further crashes from nonexistent nodes in unusedPropTypes ([#2127][], [@​ljharb](https://github.com/ljharb)) > * [`prop-types`][]: Read name of callee object ([#2125][], [@​CrOrc](https://github.com/CrOrc)) > * [`prop-types`][]: Ignore reassignments when matching props declarations with components ([#2051][], [#1957][], [@​yannickcr](https://github.com/yannickcr)) > * [`prop-types`][], [`no-unused-prop-types`][], [`require-default-props`][]: Detect components with return statement in switch/case ([#2118][], [@​yannickcr](https://github.com/yannickcr)) > > ### Changed > * [`prop-types`][], [`no-typos`][]: add passing test cases ([#2123][], [#2128][], [#2136][], [#2134][], [@​ljharb](https://github.com/ljharb)) > > [#2136]: [#2136](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2136) > [#2134]: [#2134](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2134) > [#2131]: [#2131](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2131) > [#2128]: [#2128](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2128) > [#2127]: [#2127](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2127) > [#2125]: [#2125](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2125) > [#2123]: [#2123](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2123) > [#2118]: [#2118](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2118) > [#2051]: [#2051](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2051) > [#1957]: [#1957](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1957) > > [`display-name`]: docs/rules/display-name.md > [`forbid-component-props`]: docs/rules/forbid-component-props.md > [`forbid-elements`]: docs/rules/forbid-elements.md > [`forbid-foreign-prop-types`]: docs/rules/forbid-foreign-prop-types.md > [`forbid-prop-types`]: docs/rules/forbid-prop-types.md > [`no-array-index-key`]: docs/rules/no-array-index-key.md > [`no-children-prop`]: docs/rules/no-children-prop.md > [`no-danger`]: docs/rules/no-danger.md > [`no-danger-with-children`]: docs/rules/no-danger-with-children.md > [`no-deprecated`]: docs/rules/no-deprecated.md > [`no-did-mount-set-state`]: docs/rules/no-did-mount-set-state.md > [`no-did-update-set-state`]: docs/rules/no-did-update-set-state.md > [`no-direct-mutation-state`]: docs/rules/no-direct-mutation-state.md > [`no-find-dom-node`]: docs/rules/no-find-dom-node.md > [`no-is-mounted`]: docs/rules/no-is-mounted.md > [`no-multi-comp`]: docs/rules/no-multi-comp.md > [`no-render-return-value`]: docs/rules/no-render-return-value.md > [`no-set-state`]: docs/rules/no-set-state.md > [`no-string-refs`]: docs/rules/no-string-refs.md > [`no-unescaped-entities`]: docs/rules/no-unescaped-entities.md > [`no-unknown-property`]: docs/rules/no-unknown-property.md > [`no-unused-prop-types`]: docs/rules/no-unused-prop-types.md > [`no-will-update-set-state`]: docs/rules/no-will-update-set-state.md > [`prefer-es6-class`]: docs/rules/prefer-es6-class.md > [`prefer-stateless-function`]: docs/rules/prefer-stateless-function.md > [`prop-types`]: docs/rules/prop-types.md > [`react-in-jsx-scope`]: docs/rules/react-in-jsx-scope.md > [`require-optimization`]: docs/rules/require-optimization.md > ... (truncated)
Changelog *Sourced from [eslint-plugin-react's changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md).* > ## [7.13.0] - 2019-05-03 > > ### Added > * Make [`jsx-sort-props`][] fully fixable ([#2250][], [@​guliashvili](https://github.com/guliashvili)) > * [`boolean-prop-naming`][]: add `validateNested` option to validate shape prop names ([#2234][], [@​pawelnvk](https://github.com/pawelnvk)) > * add [`static-property-placement`][] rule ([#2193][], [@​dmason30](https://github.com/dmason30)) > * add "detect" for flow version ([#2233][], [@​jedwards1211](https://github.com/jedwards1211)) > * [`jsx-indent`][]: Add `indentLogicalExpressions` option ([#2227][], [@​mdnsk](https://github.com/mdnsk)) > * add [`jsx-props-no-spreading`][] ([#2191][], [@​ashbhir](https://github.com/ashbhir)) > * [`no-string-refs`][]: Added `noTemplateLiteral` option ([#2167][], [@​jenil94](https://github.com/jenil94)) > * add `linkComponents` setting ([#2116][], [@​gbakernet](https://github.com/gbakernet)) > * [`jsx-no-target-blank`][]: add support for `linkComponents` setting ([#2116][], [@​gbakernet](https://github.com/gbakernet)) > * Add [`state-in-constructor`][] rule ([#1945][], [@​lukyth](https://github.com/lukyth)) > * Add [`prefer-read-only-props`][] rule ([#2110][], [@​golopot](https://github.com/golopot)) > * [`no-unescaped-entities`][]: more friendly error message; add config to adjust ([#2016][], [@​stevemao](https://github.com/stevemao)) > > ### Fixed > * [`jsx-props-no-multi-spaces`][]: support generic components (ts) ([#2256][], [@​mateuszsokola](https://github.com/mateuszsokola)) > * [`prop-types`][]: fix case with destructuring and default param ([#2246][], [@​golopot](https://github.com/golopot)) > * [`prefer-stateless-function`][]: Ignoring pure components without props and context usage ([#2238][], [@​pawelnvk](https://github.com/pawelnvk)) > * `propTypes`: resolveSuperParameterPropsType: add null check ([#2232][], [@​jedwards1211](https://github.com/jedwards1211)) > * [`self-closing-comp`][]: stop reporting single-line spaces ([#2210][], [@​golopot](https://github.com/golopot)) > * [`require-render-return`][]: more accurate report location ([#2229][], [@​golopot](https://github.com/golopot)) > * [`sort-prop-types`][]: Fix sorting props with numeric keys ([#2230][], [@​pawelnvk](https://github.com/pawelnvk)) > * [`display-name`][]: fix false negative around nested functions ([#2225][], [@​dwelle](https://github.com/dwelle)) > * [`no-unknown-property`][]: fix case like `` ([#2207][], [@​golopot](https://github.com/golopot)) > * [`jsx-curly-brace-presence`][]: accept multiline template string ([#2203][], [@​golopot](https://github.com/golopot)) > * [`jsx-one-expression-per-line`][]: fix when using tabs ([#2198][], [@​Ohar](https://github.com/Ohar)) > * [`prop-types`][]: Fix false positive on computed member expression ([#2202][], [@​golopot](https://github.com/golopot)) > * [`jsx-sort-default-props`][]: fix case with spread ([#2182][], [@​VincentLanglet](https://github.com/VincentLanglet)) > * [`no-this-in-sfc`][]: Fix false positive on SFC defined as object property ([#2147][], [@​yannickcr](https://github.com/yannickcr)) > * [`sort-comp`][]: correctly recognize instance variables declared without explicit value ([#2183][], [@​yannickcr](https://github.com/yannickcr)) > * [`no-unused-state`][]: fix set state callback destructing & state use inside callback ([#2151][], [@​barakyosi](https://github.com/barakyosi)) > * [`no-multi-comp`][]: correctly ignore wrapped stateless components: ([#2145][], [@​yannickcr](https://github.com/yannickcr)) > * [`display-name`][]: avoid crash on for..of ([#2137][], [@​ljharb](https://github.com/ljharb)) > > ### Changed > * [Docs] [`no-access-state-in-setstate`][]: Use syntax highlighting for examples ([#2160][], [@​pReya](https://github.com/pReya)) > * [Docs] [`jsx-fragments`][]: add "fixable" note ([#2143][], [@​joshunger](https://github.com/joshunger)) > * [Docs] Added shared settings info, React version default note ([#2180][], [@​samsch](https://github.com/samsch)) > * [Tests] [`jsx-curly-spacing`][]: add regression test case ([#2206][], [@​ColCh](https://github.com/ColCh)) > > [#2256]: [#2256](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2256) > [#2250]: [#2250](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2250) > [#2246]: [#2246](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2246) > [#2238]: [#2238](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2238) > [#2234]: [#2234](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2234) > [#2233]: [#2233](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2233) > [#2232]: [#2232](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2232) > [#2230]: [#2230](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2230) > ... (truncated)
Commits - [`f39829f`](https://github.com/yannickcr/eslint-plugin-react/commit/f39829ffb3134fb1298c7e96a4349eb835f15877) Update CHANGELOG and bump version - [`9e81dde`](https://github.com/yannickcr/eslint-plugin-react/commit/9e81dde3a4ce9de8727610386569caeeccfd9469) [Deps] update `jsx-ast-utils`, `resolve` - [`e73a692`](https://github.com/yannickcr/eslint-plugin-react/commit/e73a692ad027e76d703b5b07890deb403ea62c5b) Merge pull request [#2256](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2256) from mateuszsokola/master - [`b5fc9bf`](https://github.com/yannickcr/eslint-plugin-react/commit/b5fc9bf3fef833cc390f8e0d815bf1bd6c754922) [fix] `jsx-props-no-multi-spaces`: support generic components (ts) - [`8bd3837`](https://github.com/yannickcr/eslint-plugin-react/commit/8bd383736dd0387ce1c1442d928643b4862bdc68) Fix Node 4 compatibility - [`005dad3`](https://github.com/yannickcr/eslint-plugin-react/commit/005dad3194ef648a60ce677d428b3b313ee1b38b) Revert "Replace mocha by jest" - [`6e4f43e`](https://github.com/yannickcr/eslint-plugin-react/commit/6e4f43ef4739191a2157659de178d1cd9a28a42e) Replace mocha by jest - [`09f580c`](https://github.com/yannickcr/eslint-plugin-react/commit/09f580ca941d5363fe661d8ee749446956e3cba3) Replace typescript-eslint-parser by [@​typescript](https://github.com/typescript)-eslint/parser - [`861fdef`](https://github.com/yannickcr/eslint-plugin-react/commit/861fdef2d76a94bac9d310b92adfd672ed15ea9e) [fix] `prop-types`: fix case with destructuring and defualt param - [`9fbd037`](https://github.com/yannickcr/eslint-plugin-react/commit/9fbd037193d9f5c0980e11e80825e726d61c8ab3) Fix ESLint 6 compat by providing parser as absolute path to RuleTester - Additional commits viewable in [compare view](https://github.com/yannickcr/eslint-plugin-react/compare/v7.6.1...v7.13.0)


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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@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](https://app.dependabot.com): - 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 has been acquired by GitHub  🎉

dependabot-preview[bot] commented 5 years ago

Looks like eslint-plugin-react is up-to-date now, so this is no longer needed.