1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
inherit_from:
- .rubocop_defaults.yml
AllCops:
Exclude:
# Exclude .gemspec files because they are generally auto-generated
- '*.gemspec'
# Exclude vendored folders
- 'tmp/**/*'
- 'vendor/**/*'
# Exclude artifacts
- 'pkg/**/*'
# Other
- 'test/benchmarks/**/*'
- 'test/profilers/**/*'
# I often use @_variable to avoid clashing.
Naming/MemoizedInstanceVariableName:
Enabled: false
Style/ClassAndModuleChildren:
Exclude:
- 'spec/**/*_spec.rb'
- 'test/**/*_test.rb'
# Dear Rubocop, I don't want to use String#strip_heredoc
Layout/IndentHeredoc:
Enabled: false
Style/WordArray:
Enabled: false
MinSize: 3
Style/SymbolArray:
Enabled: false
MinSize: 3
|