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

Incorrectly linting Makefile statements #150

Open
@tsnowlan

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions