Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No spell-checker:disable-line ? #24

Closed
elektronik2k5 opened this issue Jan 19, 2018 · 6 comments
Closed

No spell-checker:disable-line ? #24

elektronik2k5 opened this issue Jan 19, 2018 · 6 comments

Comments

@elektronik2k5
Copy link

Hello and thank you for creating this cSpell! πŸ™‡β€β™‚οΈ

All linters I know have an option to ignore a single line. I didn't find such a feature in cSpell. Have you considered it?

@Jason3S
Copy link
Collaborator

Jason3S commented Jan 20, 2018

Good point. I think it is worth doing.

@Jason3S
Copy link
Collaborator

Jason3S commented Jan 30, 2018

I have added two options:

  • cspell:disable-line will disable everything on the current line.
  • cspell:disable-next will disable everything till the end of the next line.

@Jason3S
Copy link
Collaborator

Jason3S commented Jan 30, 2018

I have added a "check" command to cspell.

cspell check <filename>

It will produce something like this:
image

@elektronik2k5
Copy link
Author

I think the comment to disable next line should be more explicit, just like it is in other linters: cspell:disable-next-line.

@Jason3S
Copy link
Collaborator

Jason3S commented Jan 31, 2018 via email

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants