-
-
Save youngbrioche/f3804cbddb5d4fdbe0f5 to your computer and use it in GitHub Desktop.
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 gemspec and Rakefile | |
Include: | |
- '**/*.gemspec' | |
- '**/Rakefile' | |
- '**/Gemfile' | |
Exclude: | |
- 'vendor/**/*' | |
# By default, the rails cops are not run. Override in project or home | |
# directory .rubocop.yml files, or by giving the -R/--rails option. | |
RunRailsCops: true | |
Style/Documentation: | |
Enabled: false | |
##################### Rails ################################## | |
Rails/ActionFilter: | |
EnforcedStyle: action | |
SupportedStyles: | |
- action | |
- filter | |
Include: | |
- app/controllers/**/*.rb | |
Rails/DefaultScope: | |
Include: | |
- app/models/**/*.rb | |
Rails/HasAndBelongsToMany: | |
Include: | |
- app/models/**/*.rb | |
Rails/ReadWriteAttribute: | |
Include: | |
- app/models/**/*.rb | |
Rails/ScopeArgs: | |
Include: | |
- app/models/**/*.rb | |
Rails/Validation: | |
Include: | |
- app/models/**/*.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment