Skip to content

Releases: lint-staged/lint-staged

v13.0.1

08 Jun 15:46
Compare
Choose a tag to compare

13.0.1 (2022-06-08)

Bug Fixes

  • correct spelling of "0 files" (f27f1d4)
  • suppress error from process.kill when killing tasks on failure (f2c6bdd)
  • deps: update pidtree@^0.6.0 to fix screen size error in WSL (1a77e42)
  • ignore "No matching pid found" error (cb8a432)
  • prevent possible race condition when killing tasks on failure (bc92aff)

Performance Improvements

  • use EventsEmitter instead of setInterval for killing tasks on failure (c508b46)

v13.0.0

01 Jun 07:55
Compare
Choose a tag to compare

13.0.0 (2022-06-01)

Bug Fixes

  • deps: update execa@^6.1.0 (659c85c)
  • deps: update yaml@^2.1.1 (2750a3d)

Features

  • remove support for Node.js 12 (5fb6df9)

BREAKING CHANGES

  • lint-staged will no longer support Node.js 12, which is EOL since 30 April 2022

v12.5.0

31 May 15:24
Compare
Choose a tag to compare

12.5.0 (2022-05-31)

Bug Fixes

  • include all files when using --config <path> (641d1c2)
  • skip backup stash when using the --diff option (d4da24d)

Features

  • add --diff-filter option for overriding list of (staged) files (753ef72)
  • add --diff option for overriding list of (staged) files (35fcce9)

v12.4.3

30 May 07:56
Compare
Choose a tag to compare

12.4.3 (2022-05-30)

Bug Fixes

  • deps: downgrade yaml@1.10.2 to support Node.js 12 (383a96e)
  • deps: update commander@^9.2.0 (22ebf52)
  • deps: update yaml@^2.0.1 (ec73af0)

v12.4.2

24 May 14:13
Compare
Choose a tag to compare

12.4.2 (2022-05-24)

Bug Fixes

  • correctly handle --max-arg-length cli option (1db5f26)

v12.4.1

26 Apr 15:50
Compare
Choose a tag to compare

12.4.1 (2022-04-26)

Bug Fixes

  • correctly handle symlinked config files (b3f63ec)

v12.4.0

20 Apr 16:34
Compare
Choose a tag to compare

12.4.0 (2022-04-20)

Bug Fixes

  • handle empty input by returning empty array from parseGitZOutput (a118817)
  • limit configuration discovery to cwd (d8fdf1d)
  • restore functionality of parent globs for a single configuration file (877ab4c)

Features

  • expose --max-arg-length cli option (e8291b0)

v12.3.8

15 Apr 09:45
Compare
Choose a tag to compare

12.3.8 (2022-04-15)

Bug Fixes

  • avoid passing unexpected arguments from forEach to process.kill() (1b1f0e4)
  • clear execution interruption interval on first catch (46952cb)

v12.3.7

17 Mar 16:14
d327873
Compare
Choose a tag to compare

12.3.7 (2022-03-17)

Bug Fixes

  • improve renderer logic for --silent and FORCE_COLOR settings (d327873)

v12.3.6

16 Mar 06:14
34fe319
Compare
Choose a tag to compare

12.3.6 (2022-03-16)

Bug Fixes