disable diagnostic, but only in one spot? #1060
-
I know you can disable a given diagnostic like Is there some sort of comment I can add to that line or around that section to get that diagnostic warning to be ignored just in that one spot? |
Beta Was this translation helpful? Give feedback.
Answered by
carsakiller
Apr 23, 2022
Replies: 1 comment 2 replies
-
These two should be helpful:
In VS Code, pressing Ctrl + . while an element is selected will show a few "quick fix" options that can do the above for you. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
will
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These two should be helpful:
lowercase-global
diagnostic on the next line---@diagnostic disable-next-line: lowercase-global
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.