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.12.4...v7.13.0)
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 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 is rebasing this PR ⚠️
If you make any changes to it yourself then they will take precedence over the rebase.
Bumps eslint-plugin-react from 7.12.4 to 7.13.0.
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 `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.12.4...v7.13.0)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 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.