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

Check method names to exclude from Metrics/BlockLength #18

Closed
onk opened this issue Feb 24, 2017 · 1 comment
Closed

Check method names to exclude from Metrics/BlockLength #18

onk opened this issue Feb 24, 2017 · 1 comment

Comments

@onk
Copy link
Owner

onk commented Feb 24, 2017

Metrics/BlockLength:
  Exclude: []
  ExcludedMethods:
    - "draw"      # rails routes
    - "concern"   # rails routes
    - "scope"     # rails routes
    - "namespace" # rake/routes
    - "task"      # rake
    - "define"    # factory_girl
    - "factory"   # factory_girl
    - "trait"     # factory_girl
    - "describe"  # rspec
    - "context"   # rspec
    - "it"        # rspec
@onk
Copy link
Owner Author

onk commented Feb 24, 2017

    - "create_table"        # rails migration
    - "shared_examples_for" # rspec
    - "shared_context"      # rspec
    - "with_them" # rspec-parameterize
    - "guard"     # Guardfile
    - "source"    # Gemfile

@onk onk closed this as completed Jan 25, 2021
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

1 participant