SublimeLinter / SublimeLinter-shellcheck

This linter plugin for SublimeLinter provides an interface to shellcheck.
MIT License
210 stars 20 forks source link

Linter triggers on Makefiles #12

Closed eproxus closed 6 years ago

eproxus commented 6 years ago

The linter triggers on files with the Makefile syntax and generates lot's of useless errors that can't be fixed:

2:16   error     shellcheck: error        Tips depend on target shell and yours is unknown. Add a shebang. [SC2148]

Setting a shebang in the Makefile (not a standard practice) to #!/usr/bin/make -f just changes it to:

4:16   error     shellcheck: error        Tips depend on target shell and yours is unknown. Add a shebang. [SC2148]

I would expect the linter to properly check Makefiles or not check them at all.

eproxus commented 6 years ago

Thank you! 🙇