Open mcecode opened 3 weeks ago
When harper-ls checks JSDoc comments, it seems to ignore lines that start with JSDoc tags so some descriptions won't be linted. For example, in the snippet below, harper-ls doesn't indicate that "zpelling" is wrong.
harper-ls
/** * @param {string} message - Wrong zpelling */ function print(message) { console.log(message); }
It works when the description is moved to the next line, like so:
/** * @param {string} message * Wrong zpelling */ function print(message) { console.log(message); }
When
harper-ls
checks JSDoc comments, it seems to ignore lines that start with JSDoc tags so some descriptions won't be linted. For example, in the snippet below,harper-ls
doesn't indicate that "zpelling" is wrong.It works when the description is moved to the next line, like so: