I'm editing EJS files in Atom. I currently have linter-csslint and linter-jshint packages installed. Both seem to be recognising the .ejs files as .html and linting it as HTML.
This is what I see
How do I get the linters to ignore .ejs files? Or is there a EJS specific linter for Atom?
You can ignore all .ejs
files with a .jshintignore
file (https://jshint.com/docs/cli/#ignoring-files). I've just added one myself to fix this same issue in Atom and it seems to have worked.
I created ~/.jshintignore
with the following content:
*.ejs
Worth noting that this affects anything else using jshint.