Created
October 31, 2014 13:55
-
-
Save AWaselnuk/2b5aab2ca6303b90d06e to your computer and use it in GitHub Desktop.
Rubocop Rails config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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