I am using SublimeLinter3 in SublimeText3 with the SublimeLinter-jshint linter. I have server side JavaScript that is processed by a custom CGI. It imports other server side JS files with a import statement that is formatted as follows (the :ssjs just tells the interpreter to process the import as server side JavaScript):
%import /foo/bar.js:ssjs
Needless to say, this is causing all sorts of problems with JSHint, such as:
Expected an identifier and instead saw '%'
Expected an assignment or function call and instead saw an expression.
Expected '{' and instead saw '/'.
And many more.
How can I configure JSHint and/or SublimeLinter to not process those lines when linting?