AllCops: DisplayCopNames: true TargetRubyVersion: 2.6 Exclude: - 'vendor/**/*' - 'spec/fixtures/**/*' - 'tmp/**/*' - 'spec/**/*.rb' - 'bin/**/*' - 'db/**/*.rb' - '.git-hooks/**/*.rb' - 'node_modules/**/*' # --------------------------------------------- # Metrics # --------------------------------------------- Metrics/MethodLength: Max: 15 Metrics/AbcSize: Max: 20 Metrics/ParameterLists: CountKeywordArgs: false Metrics/BlockLength: Max: 35 # --------------------------------------------- # Layout # --------------------------------------------- Layout/LineLength: Max: 100 IgnoredPatterns: ['(\A|\s)#'] Layout/ExtraSpacing: AllowBeforeTrailingComments: true AllowForAlignment: true Layout/EmptyLinesAroundModuleBody: Enabled: false # none of the possible options are viable Layout/EmptyLinesAroundExceptionHandlingKeywords: Enabled: false # --------------------------------------------- # Style # --------------------------------------------- Style/CommentedKeyword: Enabled: false Style/Documentation: Enabled: false Style/HashEachMethods: Enabled: true Style/HashTransformKeys: Enabled: true Style/HashTransformValues: Enabled: true # --------------------------------------------- # Naming # --------------------------------------------- Naming/MethodParameterName: MinNameLength: 2