# See documentation for details on definitions: # https://rubocop.readthedocs.io inherit_mode: merge: - AllowedNames - Exclude require: - standard - standard-custom - rubocop-performance - rubocop-vendor inherit_gem: standard: config/base.yml standard-performance: config/base.yml standard-custom: config/base.yml AllCops: NewCops: disable DisabledByDefault: true SuggestExtensions: false TargetRubyVersion: 3.2 Exclude: - "bin/**/*" - "data/**/*" - "db/data/**/*" - "db/*migrate/**/*" - "db/schema.rb" - "gemfiles/**/*" - "log/**/*" - "node_modules/**/*" - "public/**/*" - "tmp/**/*" - "vendor/**/*" # standardrb overrides Layout/DotPosition: EnforcedStyle: trailing Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: space Layout/EmptyLineBetweenDefs: AllowAdjacentOneLineDefs: true Style/EmptyMethod: Enabled: false Style/SingleLineMethods: Enabled: false Style/StringLiterals: Enabled: false Style/StringLiteralsInInterpolation: Enabled: false Style/BlockDelimiters: EnforcedStyle: semantic Style/RescueStandardError: EnforcedStyle: explicit Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArguments: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma # enable rubocop-vendor Vendor: Enabled: true