wag/.rubocop.yml

37 lines
881 B
YAML
Raw Permalink Normal View History

2020-03-29 20:09:00 +13:00
# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
Layout/LineLength:
Max: 120
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Metrics/BlockLength:
Exclude:
- spec/**/*_spec.rb
Style/Documentation:
Enabled: false
Style/OptionalArguments:
Enabled: false
2023-07-28 08:41:10 +12:00
AllCops:
NewCops: enable
SuggestExtensions: false