lint-staged

🚫💩 — Run linters on git staged files

MIT License

Downloads
43M
Stars
12.9K
Committers
143

Bot releases are hidden (Show)

lint-staged - v10.0.0-beta.9

Published by okonet almost 5 years ago

10.0.0-beta.9 (2019-12-16)

Bug Fixes

  • restore metadata about git merge before running tasks (f8ddfc2)
lint-staged - v10.0.0-beta.8

Published by okonet almost 5 years ago

10.0.0-beta.8 (2019-12-14)

Bug Fixes

  • better workaround for git stash --keep-index bug (f3ae378)
lint-staged - v10.0.0-beta.7

Published by okonet almost 5 years ago

10.0.0-beta.7 (2019-12-05)

Bug Fixes

  • automatically add modifications only to originally staged files (083b8e7)

Features

  • bump Node.js version dependency to at least 10.13.0 (#747) (814b9df)

BREAKING CHANGES

  • Node.js v8 is no longer supported because it will reach EOL on 2019-12-31
lint-staged - v10.0.0-beta.6

Published by okonet almost 5 years ago

10.0.0-beta.6 (2019-11-27)

Features

  • add support for concurrent CLI option (6af8307)
lint-staged - v10.0.0-beta.5

Published by okonet almost 5 years ago

10.0.0-beta.5 (2019-11-27)

Bug Fixes

  • improve debug logging (f88e226)
  • max arg length is by default half of the allowed to prevent edge cases (80406c2)
lint-staged - v9.5.0

Published by okonet almost 5 years ago

9.5.0 (2019-11-27)

Features

  • add support for concurrent CLI option (6af8307)
lint-staged - v10.0.0-beta.4

Published by okonet almost 5 years ago

10.0.0-beta.4 (2019-11-20)

Features

  • split tasks into chunks to support shells with limited max argument length (#732) (cb43872)
lint-staged - v10.0.0-beta.3

Published by okonet almost 5 years ago

10.0.0-beta.3 (2019-11-14)

Bug Fixes

lint-staged - v10.0.0-beta.2

Published by okonet almost 5 years ago

10.0.0-beta.2 (2019-11-14)

Bug Fixes

  • correctly leave only staged files for running tasks (cfde9ca)

Reverts

  • Revert "fix: no need to run git clean -df since untracked changes are stashed" (e58ebbf)
lint-staged - v10.0.0-beta.1

Published by okonet almost 5 years ago

10.0.0-beta.1 (2019-11-14)

Bug Fixes

  • add all modified files to git index with git add . (bf532c2)
  • correctly restore untracked files from backup stash (c7d0592)
  • gitWorkflow handles active merge mode (2f1e886)
  • keep untracked files around by backing them up (fc03fdc)
  • no need to run git clean -df since untracked changes are stashed (869bac6)
  • prevent Listr from hiding git add warning (cce9809)
  • retry failing apply with 3-way merge (76cb08f)
  • try applying unstaged changes before handling errors (357934f)
  • update warning about git add, and to README (6467a66)
  • workaround for stashing deleted files for git < 2.23 (1a87333)

Features

  • automatically stage task modifications (74ed28d)
  • use git stashes for gitWorkflow (40a5db1)
  • warn when task contains "git add" (5208399)

BREAKING CHANGES

  • Prior to version 10, tasks had to manually include 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 detects git add in task configurations, it will show a warning in the console. Please remove git add from your configuration after upgrading.
lint-staged - v9.4.3

Published by okonet almost 5 years ago

9.4.3 (2019-11-13)

Bug Fixes

  • deps: bump eslint-utils from 1.4.0 to 1.4.3 to fix a security vulnerability (#722) (ed84d8e)
lint-staged - v9.5.0-beta.2

Published by okonet almost 5 years ago

9.5.0-beta.2 (2019-11-03)

Bug Fixes

  • no need to run git clean -df since untracked changes are stashed (bbfae43)
  • update warning about git add, and to README (4fe53ef)

BREAKING CHANGES

  • Prior to version 10, tasks had to manually include 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 detects git add in task configurations, it will show a warning in the console. Please remove git add from your configuration after upgrading.
lint-staged - v9.5.0-beta.1

Published by okonet almost 5 years ago

9.5.0-beta.1 (2019-10-31)

Bug Fixes

  • correctly restore untracked files from backup stash (0111f48)
  • gitWorkflow handles active merge mode (959d9d9)
  • keep untracked files around by backing them up (d20c5be)
  • prevent Listr from hiding git add warning (2b57db0)
  • retry failing apply with 3-way merge (30939b9)
  • try applying unstaged changes before handling errors (080f1c6)
  • workaround for stashing deleted files for git < 2.23 (50afea0)

Features

  • automatically stage task modifications (7d0379d)
  • use git stashes for gitWorkflow (bfd2adc)
  • warn when task contains "git add" (4014f3c)
lint-staged - v9.4.2

Published by okonet about 5 years ago

9.4.2 (2019-10-08)

Bug Fixes

  • create fn title with mock file list of correct length (8c3ca58)
lint-staged - v9.4.1

Published by okonet about 5 years ago

9.4.1 (2019-10-01)

Bug Fixes

lint-staged - v9.4.0

Published by okonet about 5 years ago

9.4.0 (2019-09-26)

Features

  • Use shorter title for function tasks with many staged files (#706) (1dcdb89), closes #674
lint-staged - v9.3.0

Published by okonet about 5 years ago

9.3.0 (2019-09-22)

Features

  • allow to pass config instead of configPath (14c46d2)
lint-staged - v9.2.5

Published by okonet about 5 years ago

9.2.5 (2019-08-27)

Bug Fixes

  • validateConfig validates function task return values (d8fad78)
lint-staged - v9.2.4

Published by okonet about 5 years ago

9.2.4 (2019-08-25)

Bug Fixes

  • include renames when getting list of staged files (2243a83)
lint-staged - v9.2.3

Published by okonet about 5 years ago

9.2.3 (2019-08-17)

Bug Fixes

  • don't normalize path gitDir path for better Windows compatibility (eb3fa83)
  • generateTasks handles parent dir globs correctly (82b5182)
  • normalize gitDir path to posix using normalize-path (f485e51)