Fix rubocop warnings
This commit is contained in:
parent
95eda2d381
commit
5b33f3f8e3
61 changed files with 547 additions and 541 deletions
15
.rubocop.yml
15
.rubocop.yml
|
@ -24,18 +24,21 @@ AllCops:
|
|||
Rails:
|
||||
Enabled: true
|
||||
|
||||
Layout/ExtraSpacing:
|
||||
AllowForAlignment: true
|
||||
|
||||
Style/BracesAroundHashParameters:
|
||||
EnforcedStyle: context_dependent
|
||||
|
||||
Style/ExtraSpacing:
|
||||
AllowForAlignment: true
|
||||
|
||||
Style/FileName:
|
||||
Exclude:
|
||||
- 'script/deliver-message'
|
||||
- 'script/locale/reload-languages'
|
||||
- 'script/update-spam-blocks'
|
||||
|
||||
Style/FormatStringToken:
|
||||
EnforcedStyle: template
|
||||
|
||||
Style/IfInsideElse:
|
||||
Enabled: false
|
||||
|
||||
|
@ -55,6 +58,12 @@ Style/HashSyntax:
|
|||
Style/StringLiterals:
|
||||
EnforcedStyle: double_quotes
|
||||
|
||||
Style/SymbolArray:
|
||||
EnforcedStyle: brackets
|
||||
|
||||
Rails/ApplicationRecord:
|
||||
Enabled: false
|
||||
|
||||
Rails/HttpPositionalArguments:
|
||||
Enabled: false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue