Skip to content

lint-staged 9.5.0-beta.2

v9.5.0-beta.2 (v9.5.0-beta.2@beta) - 03 Nov 2019

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.