grempe/rack-content_security_policy

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  TargetRubyVersion: 2.2
  Exclude:
    - 'spec/**/*'

# Use / or %r around regular expressions.
Style/RegexpLiteral:
  EnforcedStyle: mixed
  # slashes: Always use slashes.
  # percent_r: Always use %r.
  # mixed: Use slashes on single-line regexes, and %r on multi-line regexes.

Style/RedundantParentheses:
  Enabled: false

Style/TrivialAccessors:
  Enabled: false

Metrics/MethodLength:
  Max: 30

Metrics/LineLength:
  Max: 150

Metrics/AbcSize:
  Max: 25

Metrics/BlockLength:
  Max: 30