Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Incorrectly linting Makefile statements #150

Open
tsnowlan opened this issue Jul 23, 2019 · 0 comments
Open

Incorrectly linting Makefile statements #150

tsnowlan opened this issue Jul 23, 2019 · 0 comments

Comments

@tsnowlan
Copy link

The linter is matching (presumably on $( ... )) on irrelevant lines in a Makefile and then throwing errors.

Example:

ifneq ($(shell git diff --name-only | wc -l),0)
GIT_STATE := dirty
else
GIT_STATE := clean
endif

This is a valid ifneq block for a Makefile, but it is being evaluated as a shell function. There is no option to disable linting Makefile file types, so the errors keep popping up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant