sgwilym / nova-deno

A Deno extension for Nova.
https://extensions.panic.com/extensions/co.gwil/co.gwil.deno/
MIT License
14 stars 1 forks source link

Editor displays `deno-lint-ignore` comments as spelling errors #9

Open jaydenseric opened 3 years ago

jaydenseric commented 3 years ago

I don't know if this is a problem solvable by this Deno extension or not, but the Nova editor displays deno-lint-ignore (e.g. // deno-lint-ignore no-cond-assign) comments as spelling errors. It would be nice if this extension could automatically ignore for spelling deno-lint-ignore and all of the Deno lint rule names.

In the mean time, users can right-click on the false-positive spelling errors and manually ignore them as they come up.

sgwilym commented 3 years ago

This is something that's always bugged me too, it happens with comments like // eslint-ignore-next-line too. I think to do this I'd have to create a custom syntax to include with this extension, which is a bit much right now.

In the meantime, another option is to uncheck Edit -> Spelling and Grammar -> Check Spelling While Typing.