Skip to content

disable diagnostic, but only in one spot? #1060

Answered by carsakiller
will asked this question in Q&A
Discussion options

You must be logged in to vote

These two should be helpful:

  1. Disable lowercase-global diagnostic on the next line ---@diagnostic disable-next-line: lowercase-global
  2. Disable lowercase-global diagnostic for this file ---@diagnostic disable: lowercase-global

In VS Code, pressing Ctrl + . while an element is selected will show a few "quick fix" options that can do the above for you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@will
Comment options

@will
Comment options

Answer selected by will
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants