Skip to content

Is there a way to disable diagnostics for a specific case? #2273

Answered by carsakiller
imai-makoto asked this question in Q&A

You must be logged in to vote

I can't think of a way to make it work, either. If you are able to modify the tool that is splitting files, it would probably be best if the symbol were in a comment to prevent syntax error warnings.

You should be able to list multiple diagnostics to disable:
---@diagnostic disable-next-line: param-type-mismatch, redundant-parameter

Replies: 2 comments 11 replies

You must be logged in to vote
9 replies
@carsakiller

@imai-makoto

@imai-makoto

@carsakiller

Answer selected by imai-makoto
@imai-makoto

@carsakiller

You must be logged in to vote
2 replies
@tomlau10

@Jipok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
feat/diagnostics Related to the diagnostics feature
4 participants