This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.2.0
->^15.0.0
Release Notes
okonet/lint-staged (lint-staged)
v15.2.0
Compare Source
Minor Changes
f3378be
Thanks @iiroj! - Using the--no-stash
flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag--no-hide-partially-staged
that is automatically enabled when--no-stash
is used.Patch Changes
#1362
17bc480
Thanks @antonk52! - update lilconfig@3.0.0#1368
7c55ca9
Thanks @iiroj! - Update most dependencies#1368
777d4e9
Thanks @iiroj! - To improve performance, only uselilconfig
when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.#1373
85eb0dd
Thanks @iiroj! - When determining git directory, usefs.realpath()
only for symlinks. It looks likefs.realpath()
changes some Windows mapped network filepaths unexpectedly, causing issues.v15.1.0
Compare Source
Minor Changes
0423311
Thanks @danielbayley! - Add support for loading configuration frompackage.yaml
andpackage.yml
files, supported bypnpm
.Patch Changes
105d901
Thanks @iiroj! - Suppress some warnings when using the "--quiet" flagv15.0.2
Compare Source
Patch Changes
8e82364
Thanks @iiroj! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged.v15.0.1
Compare Source
Patch Changes
d2e6f8b
Thanks @louneskmt! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead.v15.0.0
Compare Source
Major Changes
#1322
66b93aa
Thanks @iiroj! - Require at least Node.js 18.12.0This release drops support for Node.js 16, which is EOL after 2023-09-11.
Please upgrade your Node.js to the latest version.
Additionally, all dependencies have been updated to their latest versions.
v14.0.1
Compare Source
Bug Fixes
v14.0.0
Compare Source
Features
BREAKING CHANGES
16.14.0
.v13.3.0
Compare Source
Bug Fixes
Features
listr2@​6.6.0
(09844ca)v13.2.3
Compare Source
Bug Fixes
--diff
option implies--no-stash
(66a716d)v13.2.2
Compare Source
Bug Fixes
yaml@2.2.2
(GHSA-f9xv-q969-pqx4) (#1290) (cf691aa)v13.2.1
Compare Source
Bug Fixes
v13.2.0
Compare Source
Bug Fixes
colorette
withchalk
for better color support detection (f598725)Features
v13.1.4
Compare Source
v13.1.3
Compare Source
v13.1.2
Compare Source
Bug Fixes
v13.1.1
Compare Source
Bug Fixes
--stash
when using the--diff
option (99390c3)v13.1.0
Compare Source
Features
v13.0.4
Compare Source
Bug Fixes
v13.0.3
Compare Source
Bug Fixes
v13.0.2
Compare Source
Bug Fixes
--diff
and--diff-filter
options when checking task modifications (1a5a66a)v13.0.1
Compare Source
Bug Fixes
process.kill
when killing tasks on failure (f2c6bdd)Performance Improvements
EventsEmitter
instead ofsetInterval
for killing tasks on failure (c508b46)v13.0.0
Compare Source
Bug Fixes
execa@^6.1.0
(659c85c)yaml@^2.1.1
(2750a3d)Features
BREAKING CHANGES
lint-staged
will no longer support Node.js 12, which is EOL since 30 April 2022v12.5.0
Compare Source
Bug Fixes
--config <path>
(641d1c2)--diff
option (d4da24d)Features
--diff-filter
option for overriding list of (staged) files (753ef72)--diff
option for overriding list of (staged) files (35fcce9)v12.4.3
Compare Source
Bug Fixes
v12.4.2
Compare Source
Bug Fixes
v12.4.1
Compare Source
Bug Fixes
v12.4.0
Compare Source
Bug Fixes
parseGitZOutput
(a118817)Features
--max-arg-length
cli option (e8291b0)v12.3.8
Compare Source
Bug Fixes
v12.3.7
Compare Source
Bug Fixes
--silent
andFORCE_COLOR
settings (d327873)v12.3.6
Compare Source
Bug Fixes
v12.3.5
Compare Source
Bug Fixes
v12.3.4
Compare Source
Bug Fixes
package.json
to exports (#1059) (3395150)v12.3.3
Compare Source
Bug Fixes
v12.3.2
Compare Source
Bug Fixes
v12.3.1
Compare Source
Bug Fixes
v12.3.0
Compare Source
Features
--cwd
option for overriding task directory (62b5b83)v12.2.2
Compare Source
Bug Fixes
cwd
first (4afcda5)v12.2.1
Compare Source
Bug Fixes
v12.2.0
Compare Source
Bug Fixes
Features
v12.1.7
Compare Source
Bug Fixes
v12.1.6
Compare Source
Bug Fixes
v12.1.5
Compare Source
Bug Fixes
--debug
option enables debug mode (5cceeb6)v12.1.4
Compare Source
Bug Fixes
v12.1.3
Compare Source
Bug Fixes
v12.1.2
Compare Source
Bug Fixes
v12.1.1
Compare Source
Bug Fixes
v12.1.0
Compare Source
Features
.js
config file with ESM syntax (410c3ba)cosmiconfig
withlilconfig
+yaml
to reduce dependencies (e7f9fa0).mjs
config (8d3b176)v12.0.3
Compare Source
Bug Fixes
enquirer
(e01585f)v12.0.2
Compare Source
Bug Fixes
npm
version requirement (#1047) (e50d6d4)v12.0.1
Compare Source
Bug Fixes
v12.0.0
Compare Source
Features
BREAKING CHANGES
requires Node.js version
^12.20.0 || ^14.13.1 || >=16.0.0
.To update your Node.js integration, please use:
v11.2.6
Compare Source
Bug Fixes
cosmiconfig
fromlilconfig
(#1035) (e035b80), closes #1033 #981v11.2.5
Compare Source
Bug Fixes
js-yaml
to fix yaml config loading (#1033) (612d806)v11.2.4
Compare Source
Performance Improvements
cosmiconfig
withlilconfig
(#981) (04529e2)v11.2.3
Compare Source
Bug Fixes
v11.2.2
Compare Source
Bug Fixes
v11.2.1
Compare Source
Bug Fixes
v11.2.0
Compare Source
Features
v11.1.4
Compare Source
v11.1.3
Compare Source
v11.1.2
Compare Source
Bug Fixes
v11.1.1
Compare Source
Bug Fixes
v11.1.0
Compare Source
Features
v11.0.1
Compare Source
Bug Fixes
v11.0.0
Compare Source
Bug Fixes
Features
BREAKING CHANGES
v10.5.4
Compare Source
Bug Fixes
v10.5.3
Compare Source
Bug Fixes
v10.5.2
Compare Source
Bug Fixes
v10.5.1
Compare Source
Bug Fixes
v10.5.0
Compare Source
Features
v10.4.2
Compare Source
Bug Fixes
v10.4.1
Compare Source
Bug Fixes
v10.4.0
Compare Source
Features
v10.3.0
Compare Source
Features
v10.2.13
Compare Source
Bug Fixes
v10.2.12
Compare Source
Bug Fixes
v10.2.11
Compare Source
Bug Fixes
v10.2.10
Compare Source
Bug Fixes
v10.2.9
Compare Source
Bug Fixes
v10.2.8
Compare Source
Bug Fixes
v10.2.7
Compare Source
Bug Fixes
v10.2.6
Compare Source
Bug Fixes
v10.2.5
Compare Source
Bug Fixes
v10.2.4
Compare Source
Bug Fixes
v10.2.3
Compare Source
Bug Fixes
v10.2.2
Compare Source
Bug Fixes
v10.2.1
Compare Source
Bug Fixes
v10.2.0
Compare Source
Bug Fixes
quiet
option (aba3421)Features
--verbose
to show output even when tasks succeed (85de3a3)cwd
using the Node.js API (a3bd9d7)v10.1.7
Compare Source
Bug Fixes
v10.1.6
Compare Source
Bug Fixes
v10.1.5
Compare Source
Bug Fixes
v10.1.4
Compare Source
Bug Fixes
v10.1.3
Compare Source
Bug Fixes
git add
for staged file chunks serially (69acfa3)v10.1.2
Compare Source
Bug Fixes
v10.1.1
Compare Source
Bug Fixes
--
togit add
command to denote pathspec starting (#821) (226ccdb)v10.1.0
Compare Source
Bug Fixes
Features
--no-stash
option to disable the backup stash, and not revert in case of errors (c386e4c)v10.0.10
Compare Source
Bug Fixes
core.quotepath on
(2cb26a6)v10.0.9
Compare Source
Bug Fixes
path.join
andnormalize
to improve msys compatibility in resolveGitRepo (1ad263a)v10.0.8
Compare Source
Bug Fixes
v10.0.7
Compare Source
Bug Fixes
v10.0.6
Compare Source
Bug Fixes
v10.0.5
Compare Source
Bug Fixes
v10.0.4
Compare Source
Bug Fixes
v10.0.3
Compare Source
Bug Fixes
v10.0.2
Compare Source
Bug Fixes
v10.0.1
Compare Source
Bug Fixes
core.quotepath on
(2cb26a6)v10.0.0
Compare Source
Bug Fixes
git add .
(bf532c2)Features
BREAKING CHANGES
allowEmpty: true
for the Node.js API.git add
as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detectsgit add
in task configurations, it will show a warning in the console. Please removegit add
from your configuration after upgrading.v9.5.0
Compare Source
Features
[`v
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.