-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Introduce " - " delimiter to allow rules to be commented #2721
Introduce " - " delimiter to allow rules to be commented #2721
Conversation
I opened this PR as a result of #2623. |
Generated by 🚫 Danger |
Question for whoever will review this PR: where do documentation changes need to be made? The only place I've potentially found is |
Is there anything I can do to move this PR forward? |
Thanks for the PR, @kevinrandrup, this is a pretty useful feature! I know the suggested syntax is currently triggering a superfluous disable command warning, but that seems accidental more than related to the feature at all. So I wouldn't do anything with I'd rather see that added to the What do you think? |
@jpsim Thanks for the feedback. I've updated the PR to parse extra text as |
Ex. swiftlint:disable:next force_try - Explanation here
@jpsim Anything else you need me to do? |
Nothing further to do, changes look good. Thanks @kevinrandrup! |
Introduce "-" delimiter to allow rules to be commented
Ex. swiftlint:disable:next force_try - Explanation here