You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2024/09/01 08:00:40 UTC
[PR] build(deps-dev): bump eslint-plugin-react-prefer-function-component from 0.0.7 to 3.3.0 in /superset-frontend [superset]
dependabot[bot] opened a new pull request, #30102:
URL: https://github.com/apache/superset/pull/30102
Bumps [eslint-plugin-react-prefer-function-component](https://github.com/tatethurston/eslint-plugin-react-prefer-function-component) from 0.0.7 to 3.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/releases">eslint-plugin-react-prefer-function-component's releases</a>.</em></p>
<blockquote>
<h2>v3.3.0</h2>
<p>Adds ESLint's <a href="https://eslint.org/blog/2022/08/new-config-system-part-1/">new configuration system</a>, <code>flat config</code>. If you're using the new flat config:</p>
<p><code>eslint.config.js</code>:</p>
<pre lang="js"><code>import eslint from "@eslint/js";
import reactRecommended from "eslint-plugin-react/configs/recommended.js";
import preferFC from "eslint-plugin-react-prefer-function-component/config";
<p>export default [
{ files: ["**/*.{js,jsx}"] },
eslint.configs.recommended,
reactRecommended,
preferFC.configs.recommended,
];
</code></pre></p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.2.0...v3.3.0">https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.2.0...v3.3.0</a></p>
<h2>v3.2.0</h2>
<ul>
<li>
<p>The plugin's recommended configuration has been fixed, so <code>plugins</code> can be dropped from your <code>.eslintrc</code> when using the recommended settings:</p>
<pre lang="diff"><code>module.exports = {
- plugins: ["react-prefer-function-component"],
extends: ["plugin:react-prefer-function-component/recommended"],
};
</code></pre>
<p>Thanks <a href="https://github.com/alecmev"><code>@alecmev</code></a>!</p>
</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/alecmev"><code>@alecmev</code></a> made their first contribution in <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/13">tatethurston/eslint-plugin-react-prefer-function-component#13</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.1.0...v3.2.0">https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.1.0...v3.2.0</a></p>
<h2>v3.1.0</h2>
<ul>
<li>
<p>New option: <code>allowJsxUtilityClass</code>. This configuration option permits JSX utility classes: classes that have methods that return JSX but are not themselves components (they do not extend from a Component class or have a render method).</p>
<p>The following is now permitted when enabling this configuration option:</p>
<pre lang="jsx"><code>class Foo {
getBar() {
return <Bar />;
}
}
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/blob/main/CHANGELOG.md">eslint-plugin-react-prefer-function-component's changelog</a>.</em></p>
<blockquote>
<h2>v3.3.0</h2>
<p>Adds ESLint's <a href="https://eslint.org/blog/2022/08/new-config-system-part-1/">new configuration system</a>, <code>flat config</code>. If you're using the new flat config:</p>
<pre><code>`eslint.config.js`:
<pre lang="js"><code>import eslint from &quot;@eslint/js&quot;;
import reactRecommended from &quot;eslint-plugin-react/configs/recommended.js&quot;;
import preferFC from &quot;eslint-plugin-react-prefer-function-component/config&quot;;
export default [
{ files: [&quot;**/*.{js,jsx}&quot;] },
eslint.configs.recommended,
reactRecommended,
preferFC.configs.recommended,
];
</code></pre>
<p></code></pre></p>
<h2>v3.2.0</h2>
<ul>
<li>
<p>The plugin's recommended configuration has been fixed, so <code>plugins</code> can be dropped from your <code>.eslintrc</code> when using the recommended settings:</p>
<pre lang="diff"><code>module.exports = {
- plugins: ["react-prefer-function-component"],
extends: ["plugin:react-prefer-function-component/recommended"],
};
</code></pre>
<p>Thanks <a href="https://github.com/alecmev"><code>@alecmev</code></a>!</p>
</li>
</ul>
<h2>v3.1.0</h2>
<ul>
<li>
<p>New option: <code>allowJsxUtilityClass</code>. This configuration option permits JSX utility classes: classes that have methods that return JSX but are not themselves components(they do not extend from a Component class or have a render method).</p>
<p>The following is now permitted when enabling this configuration option:</p>
<pre lang="jsx"><code>class Foo {
getBar() {
return <Bar />;
}
}
</code></pre>
<p>Thanks <a href="https://github.com/noahm">noahm</a> for the contribution!</p>
</li>
</ul>
<h2>v3.0.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/48caca6a20fddf9b05b02988c175b450f3aed813"><code>48caca6</code></a> add flat config export (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/16">#16</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/15c53ec6cdd888ee3ab8d6097c3074b62256c736"><code>15c53ec</code></a> import type from eslint to avoid silly errors like <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/13">#13</a> (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/15">#15</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/6cfbc597b37bb4b53522d793adfdf9eceb3c3480"><code>6cfbc59</code></a> switch to pnpm (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/14">#14</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/092a97b0339a8cc103cf9ffc19d4935917d0c7c1"><code>092a97b</code></a> Fix recommended config (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/13">#13</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/abbe094c04554c6d6e881411fa9e3b7b88bc5812"><code>abbe094</code></a> Update README.md</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/c2b155e4825ed84c91d62cc3a24d929a7fc4a99e"><code>c2b155e</code></a> new option: allowJsxUtilityClass (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/12">#12</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/b1f7961d871cf5c48bbfa5a10006a75bfb5264fb"><code>b1f7961</code></a> update test suite to run all by all for options (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/11">#11</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/962043b4cb9295ca0d3337bb4d933d2d457fdec8"><code>962043b</code></a> Add config to allow jsx in classes (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/10">#10</a>)</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/fc415e323e5177575b0afab5864403d161ccb578"><code>fc415e3</code></a> update deps</li>
<li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/3ea8a5673b1fd1486ef528a1177e043e4730681a"><code>3ea8a56</code></a> update dev deps (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/8">#8</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v0.0.7...v3.3.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] build(deps-dev): bump eslint-plugin-react-prefer-function-component from 0.0.7 to 3.3.0 in /superset-frontend [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas merged PR #30102:
URL: https://github.com/apache/superset/pull/30102
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org