lint-staged

🚫💩 — Run linters on git staged files

MIT License

Downloads
43M
Stars
12.9K
Committers
143

Bot releases are hidden (Show)

lint-staged - v9.2.2

Published by okonet about 5 years ago

9.2.2 (2019-08-17)

Bug Fixes

  • apply patch only if there's a diff (e70e08f)
lint-staged - v9.2.1

Published by okonet about 5 years ago

9.2.1 (2019-07-25)

Bug Fixes

lint-staged - v9.2.0

Published by okonet over 5 years ago

9.2.0 (2019-07-10)

Features

  • add --relative option for controlling file paths (242deb5)
lint-staged - v9.1.0

Published by okonet over 5 years ago

9.1.0 (2019-07-06)

Bug Fixes

  • snapshot with fully-resolved path name (b1a08b8)

Features

  • make node-api accessible (ca37906)
lint-staged - v9.0.2

Published by okonet over 5 years ago

9.0.2 (2019-07-03)

Bug Fixes

  • run all commands returned by function linters (0dd0c94)
lint-staged - v9.0.1

Published by okonet over 5 years ago

9.0.1 (2019-07-02)

Bug Fixes

lint-staged - v9.0.0

Published by okonet over 5 years ago

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.
lint-staged - v8.2.1

Published by okonet over 5 years ago

8.2.1 (2019-06-13)

Bug Fixes

  • Override env GIT_DIR variable to resolve to the correct git dir path (#629) (5892455), closes #627
lint-staged - v8.2.0

Published by okonet over 5 years ago

8.2.0 (2019-06-06)

Bug Fixes

  • normalize gitDir path for Windows compatibility (90e343b)

Features

  • throw error in runAll if outside git directory (6ac666d)
lint-staged - v8.1.7

Published by okonet over 5 years ago

8.1.7 (2019-05-15)

Bug Fixes

  • Resolve security vulnerability in dependencies (#615) (315890a), closes #600
lint-staged - v8.1.6

Published by okonet over 5 years ago

8.1.6 (2019-05-03)

Bug Fixes

lint-staged - v8.1.5

Published by okonet over 5 years ago

8.1.5 (2019-03-01)

Bug Fixes

  • fix issue with scoped pkg listr-update-renderer (#587) (63b085f), closes #585
lint-staged - v8.1.4

Published by okonet over 5 years ago

8.1.4 (2019-02-14)

Bug Fixes

  • Use lodash version with prototype pollution fix (#578) (0be88a0)
lint-staged - v8.1.3

Published by okonet over 5 years ago

8.1.3 (2019-02-02)

Bug Fixes

  • Display package name when node-please-upgrade is being used (#575) (f5bed7b)
lint-staged - v8.1.2

Published by okonet over 5 years ago

8.1.2 (2019-02-02)

Bug Fixes

  • Avoid stashing if no staged files has been changed (#570) (#573) (8c4d9c9)
lint-staged - v8.1.1

Published by okonet over 5 years ago

8.1.1 (2019-01-28)

Bug Fixes

  • Fix configuration validation and allow specifying custom renderers (#572) (d5e738d), closes #567
lint-staged - v8.1.0

Published by okonet almost 6 years ago

8.1.0 (2018-11-21)

Features

  • Add relative option to allow passing relative paths to linters (#534) (fcb774b)
lint-staged - v8.0.5

Published by okonet almost 6 years ago

8.0.5 (2018-11-17)

Bug Fixes

lint-staged - v8.0.4

Published by okonet almost 6 years ago

8.0.4 (2018-10-31)

Bug Fixes

  • package: update staged-git-files to version 1.1.2 (ce434d3)
lint-staged - v8.0.3

Published by okonet almost 6 years ago

8.0.3 (2018-10-30)

Bug Fixes