Created
January 11, 2021 07:21
-
-
Save leonmezu1/672417fcdb87a01013e880a339cb1cfc to your computer and use it in GitHub Desktop.
rubocop.yml
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: | |
Exclude: | |
- "db/**/*" | |
- "bin/*" | |
- "config/**/*" | |
- "Guardfile" | |
- "Rakefile" | |
- "node_modules/**/*" | |
DisplayCopNames: true | |
NewCops: enable | |
Layout/LineLength: | |
Max: 120 | |
Metrics/MethodLength: | |
Include: | |
- "app/controllers/*" | |
- "app/models/*" | |
Max: 20 | |
Metrics/AbcSize: | |
Include: | |
- "app/controllers/*" | |
- "app/models/*" | |
Max: 50 | |
Metrics/ClassLength: | |
Max: 150 | |
Metrics/BlockLength: | |
IgnoredMethods: ['describe'] | |
Max: 30 | |
Style/Documentation: | |
Enabled: false | |
Style/ClassAndModuleChildren: | |
Enabled: false | |
Style/EachForSimpleLoop: | |
Enabled: false | |
Style/AndOr: | |
Enabled: false | |
Style/DefWithParentheses: | |
Enabled: false | |
Style/FrozenStringLiteralComment: | |
EnforcedStyle: never | |
Layout/HashAlignment: | |
EnforcedColonStyle: key | |
Layout/ExtraSpacing: | |
AllowForAlignment: false | |
Layout/MultilineMethodCallIndentation: | |
Enabled: true | |
EnforcedStyle: indented | |
Lint/RaiseException: | |
Enabled: false | |
Lint/StructNewOverride: | |
Enabled: false | |
Style/HashEachMethods: | |
Enabled: false | |
Style/HashTransformKeys: | |
Enabled: false | |
Style/HashTransformValues: | |
Enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment