Feature Request: ignore file comment #4070
Replies: 2 comments 3 replies
-
Your request is to have a comment to disable completely the linter for a certain file? If so, what's preventing you from using I think it's important to understand the use case |
Beta Was this translation helpful? Give feedback.
-
I would like to have this as a possible way to ignore a file. It suits conventions set by typescript, eslint etc, and allows for a more flexible way to ignore certain files without setting their paths in stone in a config file somewhere, something more prone to accidental/undefined behaviour if the files are moved to a different path etc... |
Beta Was this translation helpful? Give feedback.
-
I run a codegen which creates a bunch of files and some of the code in them is generated by a 3rd-party package. This triggers a lot of Rome rules and I'd rather not let it mess with the resulting files.
I assumed I could add a comment to each file akin to
@ts-nocheck
, but I didn't find a way to ignore a file from a comment in the docs, so it looks like there is no way as for now.Hence feature request.
Beta Was this translation helpful? Give feedback.
All reactions