wag/.rubocop.yml
James Harton f7370ac264
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore: Rubocop fixes.
2023-07-28 08:44:34 +12:00

36 lines
881 B
YAML

# 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
AllCops:
NewCops: enable
SuggestExtensions: false