Last active
July 7, 2023 17:04
-
-
Save Dania02525/cefaacd1eff89311613db8bb65765a63 to your computer and use it in GitHub Desktop.
permissive rubocop config for rails
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/**/*' | |
- 'Gemfile' | |
- 'spec/**/*' | |
- 'lib/**/*' | |
- 'node_modules/**/*' | |
- 'config/**/*' | |
- 'vendor/**/*' | |
- 'tmp/**/*' | |
- 'scripts/**/*' | |
TargetRubyVersion: 2.4 | |
Style/Documentation: | |
Enabled: false | |
Style/StringLiterals: | |
Enabled: false | |
Layout/DotPosition: | |
EnforcedStyle: leading | |
Style/RescueStandardError: | |
EnforcedStyle: implicit | |
Style/NumericPredicate: | |
Enabled: false | |
Metrics/ClassLength: | |
Max: 100 | |
Metrics/ModuleLength: | |
Max: 150 | |
Layout/LineLength: | |
Max: 120 | |
Metrics/AbcSize: | |
Max: 21 | |
Metrics/MethodLength: | |
Max: 40 | |
Metrics/BlockLength: | |
Max: 40 | |
Layout/EndAlignment: | |
EnforcedStyleAlignWith: variable | |
Layout/MultilineMethodCallIndentation: | |
EnforcedStyle: aligned |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment