-
-
Save sadfuzzy/1b3fd23136342b951b94de2ead303c1b to your computer and use it in GitHub Desktop.
HttpLab common rubocop 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: | |
TargetRubyVersion: 2.3 | |
Exclude: | |
- 'db/schema.rb' | |
- 'vendor/**/*' | |
- 'tmp/**/*' | |
- 'bin/*' | |
- 'docs/**/*' | |
Metrics/LineLength: | |
Max: 120 | |
Exclude: | |
- 'config/initializers/**/*.rb' | |
- 'config/environments/*.rb' | |
Metrics/MethodLength: | |
Max: 20 | |
Metrics/BlockLength: | |
CountComments: false | |
Max: 10 | |
Exclude: | |
- 'Rakefile' | |
- '**/*.rake' | |
- 'spec/**/*.rb' | |
- 'app/admin/**/*.rb' | |
- 'config/initializers/*.rb' | |
- 'config/environments//*.rb' | |
- 'config/routes.rb' | |
- 'db/migrate/*.rb' | |
Metrics/AbcSize: | |
Max: 20 | |
Style/Documentation: | |
Enabled: false | |
Style/MultilineMethodCallIndentation: | |
Enabled: true | |
EnforcedStyle: indented | |
Style/MultilineOperationIndentation: | |
Enabled: true | |
EnforcedStyle: indented | |
Style/MultilineHashBraceLayout: | |
Enabled: true | |
EnforcedStyle: symmetrical | |
Style/MultilineArrayBraceLayout: | |
Enabled: true | |
EnforcedStyle: symmetrical | |
Style/NumericLiterals: | |
Enabled: false | |
ClassAndModuleChildren: | |
Enabled: false | |
Style/EmptyLinesAroundClassBody: | |
Enabled: true | |
EnforcedStyle: empty_lines | |
Style/AlignParameters: | |
EnforcedStyle: with_fixed_indentation | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment