Closed eproxus closed 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:
#!/usr/bin/make -f
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.
Thank you! 🙇
The linter triggers on files with the Makefile syntax and generates lot's of useless errors that can't be fixed:
Setting a shebang in the Makefile (not a standard practice) to
#!/usr/bin/make -f
just changes it to:I would expect the linter to properly check Makefiles or not check them at all.