Sha256: b7f359f62c02c0b583199d81f2b5439ed65e1cba15c048fb92dfe3757906564a
Contents?: true
Size: 1.43 KB
Versions: 9
Compression:
Stored size: 1.43 KB
Contents
--- # https://github.com/bbatsov/rubocop/blob/master/config/default.yml inherit_from: .rubocop_todo.yml AllCops: Include: - '**/Rakefile' - '**/config.ru' Exclude: - 'client/node_modules/**/*' - 'db/**/*' - 'vendor/bundle/**/*' Metrics/LineLength: Max: 99 Metrics/MethodLength: CountComments: false # count full line comments? Max: 20 Metrics/ModuleLength: Max: 300 Style/FileName: # File names listed in AllCops:Include are excluded by default. Add extra # excludes here. Exclude: - bin/ruby-lint Style/MultilineOperationIndentation: EnforcedStyle: indented Style/SignalException: # prefer fail for app code, but rails generates raise in binstubs so allow that too EnforcedStyle: semantic Style/SpaceAroundEqualsInParameterDefault: # compatibility with RubyMine defaults (apparently can't override?) EnforcedStyle: space Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma Style/MultilineMethodCallIndentation: # can't convince rubymine to not indent 2 spaces with mult-line method calls Enabled: false Style/MultilineOperationIndentation: # can't convince rubymine 7 to not indent 4 spaces with mult-line expect(x).to receive ... Enabled: false Style/RegexpLiteral: # This is required or else rubocop argues with itself when trying to escape a slash on a single-line regex AllowInnerSlashes: true
Version data entries
9 entries across 9 versions & 1 rubygems