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

Ignore specific rule for an entire file #255

Closed
StarryShark opened this issue Aug 8, 2020 · 5 comments · Fixed by #313
Closed

Ignore specific rule for an entire file #255

StarryShark opened this issue Aug 8, 2020 · 5 comments · Fixed by #313
Assignees
Labels
help wanted Extra attention is needed request Feature request

Comments

@StarryShark
Copy link

There seems to be a way to ignore linting a file, but I cannot find anything to ignore specific rule(s) for an entire file. What would be the best way to do that?

@bartlomieju
Copy link
Member

deno_lint does not provide a way to ignore certain diagnostic in whole file.

@StarryShark
Copy link
Author

Thanks for the response, @bartlomieju. Can this be considered a feature request?

@bartlomieju bartlomieju added the request Feature request label Aug 11, 2020
@bartlomieju
Copy link
Member

Sure, I've added appropriate label.

@bartlomieju
Copy link
Member

This issue came up in vscode_deno as well (denoland/vscode_deno#162 (comment)). I think we can go ahead and add support for it.

@bartlomieju bartlomieju added the help wanted Extra attention is needed label Sep 5, 2020
@bartlomieju
Copy link
Member

I will add support for this functionality - needed for #304 in std/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed request Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants