mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
96 lines
1.3 KiB
YAML
96 lines
1.3 KiB
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"
|
|
|
|
Metrics/LineLength:
|
|
Max: 120
|
|
|
|
Performance:
|
|
Enabled: true
|
|
|
|
Security:
|
|
Enabled: true
|
|
|
|
Style/BlockDelimiters:
|
|
Enabled: true
|
|
IgnoredMethods: [] # Workaround rubocop bug: https://github.com/rubocop-hq/rubocop/issues/6179
|
|
|
|
Style/BracesAroundHashParameters:
|
|
Enabled: true
|
|
|
|
Style/ClassAndModuleChildren:
|
|
Enabled: true
|
|
Exclude:
|
|
- "spec/**/*"
|
|
|
|
Style/ConditionalAssignment:
|
|
Enabled: true
|
|
|
|
Style/Encoding:
|
|
Enabled: true
|
|
|
|
Style/ExpandPathArguments:
|
|
Enabled: true
|
|
|
|
Style/EmptyMethod:
|
|
Enabled: true
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: true
|
|
|
|
Style/HashSyntax:
|
|
Enabled: true
|
|
|
|
Style/OptionalArguments:
|
|
Enabled: true
|
|
|
|
Style/ParallelAssignment:
|
|
Enabled: true
|
|
|
|
Style/RaiseArgs:
|
|
Enabled: true
|
|
|
|
Style/RedundantBegin:
|
|
Enabled: true
|
|
|
|
Style/RedundantFreeze:
|
|
Enabled: true
|
|
|
|
Style/RedundantSelf:
|
|
Enabled: true
|
|
|
|
Style/Semicolon:
|
|
Enabled: true
|
|
|
|
Style/SingleLineMethods:
|
|
Enabled: true
|
|
|
|
Style/SpecialGlobalVars:
|
|
Enabled: true
|
|
|
|
Style/UnneededPercentQ:
|
|
Enabled: true
|