# See documentation for details on definitions: # https://rubocop.readthedocs.io require: - rubocop-performance - rubocop-rails - rubocop-rspec - rubocop-vendor inherit_mode: merge: - AllowedNames - Exclude AllCops: Exclude: - "bin/**/*" - "data/**/*" - "db/migrate/**/*" - "db/schema.rb" - "gemfiles/**/*" - "lib/tasks/circle_0.rake" - "log/**/*" - "node_modules/**/*" - "public/**/*" - "tmp/**/*" - "vendor/**/*" Layout/HashAlignment: EnforcedLastArgumentHashStyle: ignore_implicit Layout/ParameterAlignment: Enabled: false Layout/ArgumentAlignment: Enabled: false Lint/AmbiguousBlockAssociation: Exclude: - "spec/**/*" Layout/DotPosition: EnforcedStyle: trailing Layout/CaseIndentation: Enabled: false Layout/ElseAlignment: Enabled: false Layout/EndAlignment: Enabled: false Layout/FirstArrayElementIndentation: EnforcedStyle: consistent Layout/IndentationWidth: Enabled: true Width: 2 Layout/LineLength: IgnoredPatterns: ['(\A|\s)#'] Max: 100 Layout/FirstHashElementIndentation: EnforcedStyle: consistent Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Metrics/AbcSize: Max: 18 Metrics/BlockLength: Enabled: false Metrics/ClassLength: Max: 150 Metrics/CyclomaticComplexity: Max: 7 Metrics/MethodLength: ExcludedMethods: ["extended"] Max: 15 Metrics/ParameterLists: Enabled: false Metrics/PerceivedComplexity: Max: 8 Style/AndOr: EnforcedStyle: conditionals Style/BlockDelimiters: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/Documentation: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/NumericPredicate: Enabled: false Style/StringLiterals: Enabled: false Style/SymbolArray: Enabled: false Style/TrailingCommaInArguments: EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/WordArray: Enabled: false Rails: Enabled: true Rails/Delegate: Enabled: false Rails/FilePath: EnforcedStyle: arguments Rails/TimeZone: Enabled: false RSpec/AnyInstance: Enabled: false RSpec/ContextWording: Enabled: false RSpec/EmptyExampleGroup: Enabled: false RSpec/ExampleLength: Max: 15 RSpec/LetSetup: Enabled: false RSpec/MessageChain: Enabled: false RSpec/MultipleExpectations: Enabled: false RSpec/NamedSubject: Enabled: false RSpec/NestedGroups: Max: 6