aderyabin/sniffer

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  TargetRubyVersion: 2.5
  # Include gemspec and Rakefile
  Include:
    - "lib/**/*.rb"
    - "lib/**/*.rake"
    - "spec/**/*.rb"
  Exclude:
    - "bin/**/*"
    - "Gemfile"
    - "Rakefile"
    - "*.gemspec"
  DisplayCopNames: true
  StyleGuideCopsOnly: false

Naming/AccessorMethodName:
  Enabled: false

Style/PercentLiteralDelimiters:
  Enabled: false

Style/TrivialAccessors:
  Enabled: false

Style/Documentation:
  Exclude:
    - "spec/**/*.rb"

Style/StringLiterals:
  Enabled: false

Style/BlockDelimiters:
  Exclude:
    - "spec/**/*.rb"

Style/DoubleNegation:
  Enabled: false

Layout/SpaceInsideStringInterpolation:
  EnforcedStyle: no_space

Lint/AmbiguousRegexpLiteral:
  Enabled: false

Lint/AmbiguousBlockAssociation:
  Enabled: false

Metrics/MethodLength:
  Exclude:
    - "spec/**/*.rb"

Layout/LineLength:
  Max: 120
  Exclude:
    - "spec/**/*.rb"

Metrics/BlockLength:
  Exclude:
    - "spec/**/*.rb"

Security/YAMLLoad:
  Enabled: false