rubocop: Disable some cops (#7494)

* Update .rubocop.yml

* rubocop: Disable some cops
This commit is contained in:
supechicken
2022-10-14 23:55:24 +08:00
committed by GitHub
parent e4c0ab162f
commit ce3f25aa40

View File

@@ -11,7 +11,7 @@
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1
Exclude:
- 'lib/docopt.rb'
@@ -118,15 +118,25 @@ Layout/HashAlignment:
# End temporarily disabled cops
Layout/CommentIndentation:
Enabled: false
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
Enabled: false
# EnforcedStyle: consistent
Layout/IndentationStyle:
EnforcedStyle: spaces
Layout/SpaceInsideBlockBraces:
Enabled: false
Layout/SpaceInsideParens:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Style/RedundantReturn:
Enabled: false