Lint specific rule + auto-add ignore comments #18401
Unanswered
Faithfinder
asked this question in
Ideas
Replies: 1 comment
-
Those are interesting ideas, thanks for sharing. I think The other I think is probably a bit more controversial, but worth looking into as well. Same thing -- if you open a feature request and describe a bit more about how you use it, that would be helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Started a new job recently and have opened the new to me world of Python. Where I met the local counterpart to Biome (With Eslint's counterpart being Flake8, I suppose?) - Ruff. And it has a couple of very nice capabilities that work together really well:
ruff check --select %RULE%
would lint the codebase using that rule onlyruff check --add-noqa
would automatically add ignore comments to every violationCombined together, it means that you can easily evaluate a new rule for your codebase, and either auto-fix that exact rule (safe or unsafe fixes), or ignore all existing occurrences, all without messing with the config. I loved the experience and would love something like that in JS world
Beta Was this translation helpful? Give feedback.
All reactions