Add and apply Lint/BooleanSymbol rubocop rule
This commit is contained in:
@@ -172,6 +172,9 @@ Layout/TrailingWhitespace:
|
||||
Lint/AmbiguousRegexpLiteral:
|
||||
Enabled: true
|
||||
|
||||
Lint/BooleanSymbol:
|
||||
Enabled: true
|
||||
|
||||
Lint/ConstantDefinitionInBlock:
|
||||
Enabled: true
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class AddPublishedProposalToDashboardActions < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
add_column :dashboard_actions, :published_proposal, :boolean, default: :false
|
||||
add_column :dashboard_actions, :published_proposal, :boolean, default: false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user