Skip to content

Releases: relekang/lint-filter

v1.7.0

18 Jan 17:40
Compare
Choose a tag to compare

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

06 Jan 12:29
Compare
Choose a tag to compare

lint-filter will now only include the lines that are changed in the diff and not the surrounding context lines. (#129)
Thanks to @yannickcr 🎉

v1.6.2

11 Dec 12:03
Compare
Choose a tag to compare

lint-filter now works if you use diff-so-fancy thanks to @PierrickP

v1.6.0

30 Aug 08:35
Compare
Choose a tag to compare
  • New option for -w/--warning that will turn all errors into warnings.
  • Possibility to configure through environment variables. All options can be set with an environment variable on the format LINT_FILTER_OPTIONNAME.

Windows support

13 May 12:40
Compare
Choose a tag to compare
v1.4.2

1.4.2

v1.4.0 - list all the files

03 May 05:23
Compare
Choose a tag to compare

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

01 May 19:58
Compare
Choose a tag to compare

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

18 Apr 10:18
Compare
Choose a tag to compare

Adds the option of setting branch.

Usage: lint-filter --branch origin/production

🌲

Diff all the things

16 Apr 11:38
Compare
Choose a tag to compare
  • lint-filter now includes uncommited changes ✨ (@trygveaa)
  • lint-filter now only calls git diff once and not once per file as it did before 🐎

v1.0.1

08 Apr 05:18
Compare
Choose a tag to compare

Fixes

  • Remove babel-core/register from bin file. The sources are transpiled on publish so that should not be necessary.
  • Add missing dependency bluebird.