chore(deps): update dependency lint-staged to ^15.4.1
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
lint-staged | ^15.3.0 -> ^15.4.1 |
Release Notes
lint-staged/lint-staged (lint-staged)
v15.4.1
Patch Changes
-
#1504
1c7a45e
Thanks @iiroj! - Default TypeScript config filenames match JS equivalents. -
#1504
9cc18c9
Thanks @iiroj! - Add missing conditional exports syntax for TypeScript types.
v15.4.0
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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.