Add and apply Lint/SymbolConversion rubocop rule
This rule was added in Rubocop 1.9.0. We're excluding the Setting model in order to keep the settings consistent.
This commit is contained in:
@@ -187,6 +187,12 @@ Lint/SafeNavigationChain:
|
||||
Lint/ShadowingOuterLocalVariable:
|
||||
Enabled: true
|
||||
|
||||
Lint/SymbolConversion:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
- "app/models/setting.rb"
|
||||
- "db/dev_seeds/settings.rb"
|
||||
|
||||
Lint/UselessAssignment:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user