renovate #27

Merged
root merged 1 commits from renovate into master 2025-01-16 10:20:15 +00:00
Contributor

npm

lint-staged

  • ^15.3.0 => ^15.4.0 (dvf)

Minor Changes

  • #1500 a8ec1dd Thanks @iiroj! - Lint-staged now provides TypeScript types for the configuration and main Node.js API. You can use the JSDoc syntax in your JS configuration files:

    /**
     * @filename: lint-staged.config.js
     * @type {import('lint-staged').Configuration}
     */
    export default {
      '*': 'prettier --write',
    }
    

    It's also possible to use the .ts file extension for the configuration if your Node.js version supports it. The --experimental-strip-types flag was introduced in Node.js v22.6.0 and unflagged in v23.6.0, enabling Node.js to execute TypeScript files without additional configuration.

    export NODE_OPTIONS="--experimental-strip-types"
    npx lint-staged --config lint-staged.config.ts
    

Patch Changes

  • #1501 9b79364 Thanks @iiroj! - Handle possible failures when logging user shell for debug info.
<h1>npm</h1> <h2>lint-staged</h2> <ul> <li> ^15.3.0 => ^15.4.0 (dvf)</li> </ul> > <h3>Minor Changes</h3> > <ul> > <li><p><a href="https://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">@iiroj</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><code class="language-js">/** > * @filename: lint-staged.config.js > * @type {import(&#39;lint-staged&#39;).Configuration} > */ > export default { > &#39;*&#39;: &#39;prettier --write&#39;, > } > </code></pre> > <p>It&#39;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><code class="language-shell">export NODE_OPTIONS=&quot;--experimental-strip-types&quot; > npx lint-staged --config lint-staged.config.ts > </code></pre> > </li> > </ul> > <h3>Patch Changes</h3> > <ul> > <li><a href="https://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">@iiroj</a>! - Handle possible failures when logging user shell for debug info.</li> > </ul>
m.schnitzler added 1 commit 2025-01-16 10:19:42 +00:00
root merged commit bfed619b1f into master 2025-01-16 10:20:14 +00:00
root referenced this issue from a commit 2025-01-16 10:20:17 +00:00
root deleted branch renovate 2025-01-16 10:20:24 +00:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/dvf#27
No description provided.