Skip to content

lint-staged 9.0.0

v9.0.0 - 01 Jul 2019

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.