github lint-staged/lint-staged v10.0.0-beta.1

latest releases: v15.2.10, v15.2.9, v15.2.8...
pre-release5 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.

Don't miss a new lint-staged release

NewReleases is sending notifications on new releases.