Releases: relekang/lint-filter
Releases · relekang/lint-filter
v1.7.0
New look in text formatter
Changed warnings to look a bit different than errors in the text formatter. They got their own icon and color. Thanks to @yannickcr (#130)
External formatters
The formatter option can now be prefixed with require:
which will require an external package or file.
See the readme for documentation on how to write a formatter. (#77)
v1.6.3
v1.6.2
lint-filter now works if you use diff-so-fancy thanks to @PierrickP
v1.6.0
Windows support
v1.4.2 1.4.2
v1.4.0 - list all the files
Adds sub command for listing files in the diff that lint-filter will use for filtering lint errors. Makes it easy to run linters faster.
Example usage with eslint
eslint $(lint-filter list-files) -f checkstyle | lint-filter
Sums
Adds sum of errors and warnings in and outside the diff from the given branch.
File: ~/dev/lint-filter/test/fixtures/dummy.js
✖ 6:3 Unexpected console statement. (no-console)
✖ 6:16 Unnecessary escape character: \o (no-useless-escape)
✖ 6:21 Extra semicolon. (semi)
✖ 9:1 Unexpected console statement. (no-console)
2 of 3 errors and 2 of 2 warnings
Chose your branch
Adds the option of setting branch.
Usage: lint-filter --branch origin/production
🌲
Diff all the things
- lint-filter now includes uncommited changes ✨ (@trygveaa)
- lint-filter now only calls git diff once and not once per file as it did before 🐎