Skip to content

v9.0.0

Compare
Choose a tag to compare
@okonet okonet released this 01 Jul 18:10
· 480 commits to master since this release

9.0.0 (2019-07-01)

Bug Fixes

  • parse titles for function linters (e24aaf2)

Code Refactoring

  • remove advanced configuration options (04190c8)
  • remove support for chunking (2ca9050)
  • use execa's shell option to run commands (bed9127)

Features

  • add --shell and --quiet flags (ecf9227)
  • add deprecation error for advanced configuration (4bef26e)
  • support function linter returning array of commands (36e54a2)
  • support functions as linter commands (f76c0d1)

BREAKING CHANGES

  • The advanced configuration options have been deprecated in favour of the simple format
  • Local commands are no longer resolved by lint-staged, but execa will do this instead. In effect, there are no longer pretty error messages when commands are not found.
  • Very long arguments strings are no longer chunked on Windows. Function linters should be used instead to customise this behaviour.