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

Temporarily disable with inline comment #271

Open
david-a-wheeler opened this issue Apr 5, 2016 · 2 comments
Open

Temporarily disable with inline comment #271

david-a-wheeler opened this issue Apr 5, 2016 · 2 comments

Comments

@david-a-wheeler
Copy link

I'd like to be able to temporarily disable a rule inline in the code using a comment (e.g., "# rails_best_practice:disable RULE"... "# rails_best_practice:enable RULE"), like rubocop. Please document it, too!

Thanks!

david-a-wheeler added a commit to coreinfrastructure/best-practices-badge that referenced this issue Apr 5, 2016
  "Use scope access" report is noisy, and rails_best_practice
  doesn't seem to support an inline disabling mechanism
  (request at <flyerhzm/rails_best_practices#271>).
  So, configure rails_best_practice to skip that specific check.

Signed-off-by: David A. Wheeler <[email protected]>
@darryn02
Copy link

+1

1 similar comment
@bytnar
Copy link

bytnar commented Jun 19, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants