AllCops: TargetRubyVersion: 2.2 Include: - "**/*.jbuilder" - "**/*.rake" - "**/config.ru" - "**/Gemfile" - "**/Rakefile" - "**/Capfile" - "**/Guardfile" - "**/Vagrantfile" Exclude: - "bin/*" - "old/**/*" - "db/schema.rb" - "node_modules/**/*" - "vendor/**/*" Style/ClassAndModuleChildren: Enabled: false Style/EmptyLines: Enabled: false Metrics/MethodLength: Enabled: false Documentation: Enabled: false AndOr: Enabled: false # Allow use of empty lines to visually group code into "paragraphs" EmptyLines: Enabled: false Style/EmptyLinesAroundBlockBody: Enabled: false Style/EmptyLinesAroundClassBody: Enabled: false Style/EmptyLinesAroundMethodBody: Enabled: false Style/EmptyLinesAroundModuleBody: Enabled: false Style/ModuleFunction: Enabled: false Style/TrailingCommaInLiteral: Enabled: true EnforcedStyleForMultiline: comma Style/TrailingCommaInArguments: Enabled: true EnforcedStyleForMultiline: comma Style/SpaceAroundOperators: Enabled: false Style/ColonMethodCall: Enabled: false Metrics/AbcSize: Exclude: - "db/migrate/*" Style/RescueModifier: Enabled: false Style/AlignHash: Enabled: false Style/AlignParameters: Enabled: false Style/SpaceBeforeFirstArg: Enabled: false # https://viget.com/extend/just-use-double-quoted-ruby-strings Style/StringLiterals: EnforcedStyle: "double_quotes" Style/StringLiteralsInInterpolation: EnforcedStyle: "double_quotes" Style/GuardClause: Enabled: false Style/DoubleNegation: Enabled: false