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

Allow disabling custom rules in code #515

Closed
steverichey opened this issue Feb 8, 2016 · 1 comment · Fixed by #743
Closed

Allow disabling custom rules in code #515

steverichey opened this issue Feb 8, 2016 · 1 comment · Fixed by #743
Labels
bug Unexpected and reproducible misbehavior.

Comments

@steverichey
Copy link

This doesn't seem to work in 0.8.0.

@jpsim
Copy link
Collaborator

jpsim commented Feb 8, 2016

At the moment, you'll have to disable all custom rules:

// swiftlint:disable custom_rules

But this is something we should fix so that you can disable custom rules individually. We should also adapt the rules command to include custom rules in the table and allow swiftlint rules my_custom_rule to work.

@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label Feb 8, 2016
masters3d added a commit to masters3d/SwiftLint that referenced this issue Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants