-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Output of make lint
$ make lint
==> Running linting tools
Running vint ... SKIPPED
'vint' binary not found; use 'pip install vim-vint' to install it.
Running vim-vimlint ... FAILED
egrep: warning: egrep is obsolescent; using grep -E
Running vimhelplint ... PASSED
make: *** [Makefile:21: lint] Error 6This failure is because the Running vim-vimlint step is marked as failed when any output is captured
Line 58 in ca6c532
| if [ -n "$lint" ]; then |
But vim-vimlint uses egrep when run https://github.com/syngan/vim-vimlint/blob/cec40c28f119a5f4b92ceb0b6aae525122a81244/bin/vimlint.sh#L106 since GNU grep 3.8 egrep is deprecated and emits a warning https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html which is then captured, resulting in failure.
Since https://github.com/syngan/vim-vimlint has not been updated in 6 years I don't imagine we can patch there. Maybe the lint script could check the exit code of vimlin-lint instead?
Metadata
Metadata
Assignees
Labels
No labels