Codebase list ruby-cms-scanner / upstream/0.10.1 .rubocop.yml
upstream/0.10.1

Tree @upstream/0.10.1 (Download .tar.gz)

.rubocop.yml @upstream/0.10.1raw · history · blame

require: rubocop-performance
AllCops:
  TargetRubyVersion: 2.5
  Exclude:
    - '*.gemspec'
    - 'vendor/**/*'
    - 'example/**/*'
Layout/EmptyLinesAroundAttributeAccessor:
  Enabled: true
Layout/LineLength:
  Max: 120
Layout/SpaceAroundMethodCallOperator:
  Enabled: true
Lint/DeprecatedOpenSSLConstant:
  Enabled: true
Lint/UriEscapeUnescape:
  Enabled: false
Lint/RaiseException:
  Enabled: true
Lint/StructNewOverride:
  Enabled: true
Metrics/AbcSize:
  Max: 25
Metrics/BlockLength:
  Exclude:
    - 'spec/**/*'
Metrics/CyclomaticComplexity:
  Max: 10
Metrics/MethodLength:
  Max: 18
  Exclude:
    - app/controllers/core/cli_options.rb
Metrics/PerceivedComplexity:
  Max: 9
Style/ClassVars:
  Enabled: false
Style/Documentation:
  Enabled: false
Style/ExponentialNotation:
  Enabled: true
Style/FormatStringToken:
  Exclude:
    - lib/cms_scanner/finders/finder.rb
Style/HashEachMethods:
  Enabled: true
Style/HashTransformKeys:
  Enabled: true
Style/HashTransformValues:
  Enabled: true
Style/MixinUsage:
  Exclude:
    - lib/cms_scanner/formatter.rb
Style/SlicingWithRange:
  Enabled: true