Skip to content

Instantly share code, notes, and snippets.

@AWaselnuk
Created October 31, 2014 13:55
Show Gist options
  • Save AWaselnuk/2b5aab2ca6303b90d06e to your computer and use it in GitHub Desktop.
Save AWaselnuk/2b5aab2ca6303b90d06e to your computer and use it in GitHub Desktop.
Rubocop Rails config
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'bin/**/*'
- 'config/**/*'
- 'node_modules/**/*'
- '**/rails_helper.rb'
- '**/spec_helper.rb'
- '**/test_helper.rb'
- 'lib/templates/**/*.rb'
# checks for missing top-level documentation of classes and modules
Style/Documentation:
Exclude:
- 'app/controllers/**/*'
- 'app/models/**/*'
- 'app/helpers/**/*'
Style/SingleSpaceBeforeFirstArg:
Enabled: false
Metrics/CyclomaticComplexity:
Severity: warning
Metrics/CyclomaticComplexity:
Severity: warning
Metrics/ClassLength:
Severity: warning
Metrics/MethodLength:
Severity: warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment