# See documentation for details on definitions: # https://rubocop.readthedocs.io require: - rubocop-performance - rubocop-rspec - rubocop-vendor inherit_mode: merge: - AllowedNames - Exclude AllCops: Exclude: - 'bin/**/*' - 'data/**/*' - 'db/**/*' - 'gemfiles/**/*' - 'lib/tasks/circle_0.rake' - 'log/**/*' - 'node_modules/**/*' - 'public/**/*' - 'tmp/**/*' - 'vendor/**/*' Layout/AlignHash: EnforcedLastArgumentHashStyle: ignore_implicit Layout/AlignParameters: Enabled: false Lint/AmbiguousBlockAssociation: Exclude: - 'spec/**/*' Layout/DotPosition: EnforcedStyle: trailing Layout/CaseIndentation: Enabled: false Layout/ElseAlignment: Enabled: false Layout/EndAlignment: Enabled: false Layout/IndentArray: EnforcedStyle: consistent Layout/IndentationWidth: Enabled: false Layout/IndentHash: EnforcedStyle: consistent Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Metrics/AbcSize: Max: 18 Metrics/BlockLength: Enabled: false Metrics/ClassLength: Max: 150 Metrics/CyclomaticComplexity: Max: 7 Metrics/LineLength: IgnoredPatterns: ['(\A|\s)#'] Max: 100 Metrics/MethodLength: Max: 15 Metrics/ParameterLists: Enabled: false Metrics/PerceivedComplexity: Max: 8 Style/AndOr: EnforcedStyle: conditionals Style/BlockDelimiters: Enabled: false Style/BracesAroundHashParameters: 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/Date: Enabled: false Rails/Delegate: Enabled: false Rails/SkipsModelValidations: Enabled: false Rails/TimeZone: Enabled: false RSpec/AnyInstance: Enabled: false RSpec/EmptyExampleGroup: Enabled: false RSpec/ExampleLength: Max: 15 RSpec/LetSetup: Enabled: false RSpec/MessageChain: Enabled: false RSpec/MultipleExpectations: Enabled: false RSpec/NestedGroups: Max: 4