-
Notifications
You must be signed in to change notification settings - Fork 142
Commit ac9eff1
authored
chore: Bump lint-staged from 15.3.0 to 15.4.1 (#278)
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from
15.3.0 to 15.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/lint-staged/lint-staged/releases">lint-staged's
releases</a>.</em></p>
<blockquote>
<h2>v15.4.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1"><code>1c7a45e</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Default TypeScript config filenames match JS equivalents.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393"><code>9cc18c9</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Add missing conditional exports syntax for TypeScript types.</p>
</li>
</ul>
<h2>v15.4.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1500">#1500</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/a8ec1ddb587d2c1c2420dbb4baff8160f0ac46c9"><code>a8ec1dd</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
<em>Lint-staged</em> now provides TypeScript types for the configuration
and main Node.js API. You can use the JSDoc syntax in your JS
configuration files:</p>
<pre lang="js"><code>/**
* @filename: lint-staged.config.js
* @type {import('lint-staged').Configuration}
*/
export default {
'*': 'prettier --write',
}
</code></pre>
<p>It's also possible to use the <code>.ts</code> file extension for the
configuration if your Node.js version supports it. The
<code>--experimental-strip-types</code> flag was introduced in <a
href="https://github.com/nodejs/node/releases/tag/v22.6.0">Node.js
v22.6.0</a> and unflagged in <a
href="https://github.com/nodejs/node/releases/tag/v23.6.0">v23.6.0</a>,
enabling Node.js to execute TypeScript files without additional
configuration.</p>
<pre lang="shell"><code>export
NODE_OPTIONS="--experimental-strip-types"
<p>npx lint-staged --config lint-staged.config.ts<br />
</code></pre></p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1501">#1501</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/9b793640e1f87b46e4f40fcfc1ecf9d6f6013ac9"><code>9b79364</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Handle possible failures when logging user shell for debug info.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md">lint-staged's
changelog</a>.</em></p>
<blockquote>
<h2>15.4.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1"><code>1c7a45e</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Default TypeScript config filenames match JS equivalents.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393"><code>9cc18c9</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Add missing conditional exports syntax for TypeScript types.</p>
</li>
</ul>
<h2>15.4.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1500">#1500</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/a8ec1ddb587d2c1c2420dbb4baff8160f0ac46c9"><code>a8ec1dd</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
<em>Lint-staged</em> now provides TypeScript types for the configuration
and main Node.js API. You can use the JSDoc syntax in your JS
configuration files:</p>
<pre lang="js"><code>/**
* @filename: lint-staged.config.js
* @type {import('lint-staged').Configuration}
*/
export default {
'*': 'prettier --write',
}
</code></pre>
<p>It's also possible to use the <code>.ts</code> file extension for the
configuration if your Node.js version supports it. The
<code>--experimental-strip-types</code> flag was introduced in <a
href="https://github.com/nodejs/node/releases/tag/v22.6.0">Node.js
v22.6.0</a> and unflagged in <a
href="https://github.com/nodejs/node/releases/tag/v23.6.0">v23.6.0</a>,
enabling Node.js to execute TypeScript files without additional
configuration.</p>
<pre lang="shell"><code>export
NODE_OPTIONS="--experimental-strip-types"
<p>npx lint-staged --config lint-staged.config.ts<br />
</code></pre></p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1501">#1501</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/9b793640e1f87b46e4f40fcfc1ecf9d6f6013ac9"><code>9b79364</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Handle possible failures when logging user shell for debug info.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/1c93c9e1272df8fe5fdc7ebb2e6bb846a45a0fd4"><code>1c93c9e</code></a>
chore(changeset): release (<a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1505">#1505</a>)</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/c0206646f1b1130bbe8bd25c839afe874f97f20d"><code>c020664</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1504">#1504</a>
from lint-staged/fix-typescript</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1"><code>1c7a45e</code></a>
fix: default TypeScript config filenames match JS equivalents</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393"><code>9cc18c9</code></a>
fix: add missing conditional export for TypeScript types</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/7ff1e584e69494656f53c1597a1b9ceebf3d60a9"><code>7ff1e58</code></a>
chore(changeset): release (<a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1502">#1502</a>)</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/b881830d6d0c3c6f33fcf70b1a086b2f0753a1d7"><code>b881830</code></a>
docs: adjust README regarding TypeScript</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/41c9fee6b1bc7e16bf6287451b2e57d7d48138f6"><code>41c9fee</code></a>
docs: sync changelog and README regarding TypeScript</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/6de75297b8ecff1e3d3a51cf779eeb681041e022"><code>6de7529</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1500">#1500</a>
from lint-staged/typescript-types</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/012916ef590f79fb9cb381746dfb98158bda3a58"><code>012916e</code></a>
feat: enable loading configuration from TS files (if Node.js supports
importi...</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/e95d5cdf82e8f661aa7a41347b5e0badaa471df5"><code>e95d5cd</code></a>
feat: add TypeScript types for the main lint-staged Node.js API</li>
<li>Additional commits viewable in <a
href="https://github.com/lint-staged/lint-staged/compare/v15.3.0...v15.4.1">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>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 941678a commit ac9eff1Copy full SHA for ac9eff1
2 files changed
+9
-8
lines changed+8-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
|
0 commit comments