harper-ls works only with comments? #1373
-
It seems the The documentation mentions:
The text inside HTML nodes is not checked. Is there any way to enable harper-ls on more |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It depends on the language. Maybe the documentation can be more clear on that, but if you look at the Supported Languages section of the doc, it shows which languages are comments only and which aren't. Generally, document-type languages like HTML, Markdown, and Typist are checked as a whole, while only comments are checked for programming languages like C, JavaScript, and Python.
It checks it on my end, though. Maybe you haven't included HTML to be linted in your config? What editor are you using?
We currently don't support linting strings, but there is an open issue requesting that feature (#544). If there are other language constructs you'd like |
Beta Was this translation helpful? Give feedback.
It depends on the language. Maybe the documentation can be more clear on that, but if you look at the Supported Languages section of the doc, it shows which languages are comments only and which aren't. Generally, document-type languages like HTML, Markdown, and Typist are checked as a whole, while only comments are checked for programming languages like C, JavaScript, and Python.
It checks it on my end, though.
Maybe you haven't included HTML to be linted in your config? What editor are you using?
We curren…