rack-attack/.rubocop.yml
2019-03-01 21:10:40 -03:00

57 lines
718 B
YAML

inherit_mode:
merge:
- Exclude
AllCops:
TargetRubyVersion: 2.3
DisabledByDefault: true
Exclude:
- "examples/instrumentation.rb"
- "gemfiles/**/*"
Bundler:
Enabled: true
Gemspec:
Enabled: true
Layout:
Enabled: true
Lint:
Enabled: true
Naming:
Enabled: true
Exclude:
- "lib/rack/attack/path_normalizer.rb"
Performance:
Enabled: true
Security:
Enabled: true
Lint:
Enabled: true
Style/BlockDelimiters:
Enabled: true
Style/BracesAroundHashParameters:
Enabled: true
Style/EmptyMethod:
Enabled: true
Style/FrozenStringLiteralComment:
Enabled: true
Style/HashSyntax:
Enabled: true
Style/RedundantBegin:
Enabled: true
Style/RedundantFreeze:
Enabled: true