Skip to content

Commit

Permalink
remove disable directives
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Feb 11, 2021
1 parent 0113603 commit a05c664
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::GoogleCredential
},
].freeze

# rubocop:disable Layout/AlignHash
#
# looks better to align the nested keys to the same distance, instead of
# scope just for the hash in question (which is what rubocop does.
EXTRA_ATTRIBUTES = [
{
:component => 'password-field',
Expand All @@ -37,7 +33,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::GoogleCredential
:maxLength => 100,
},
].freeze
# rubocop:enable Layout/AlignHash

API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential
},
].freeze

# rubocop:disable Layout/AlignHash
#
# looks better to align the nested keys to the same distance, instead of
# scope just for the hash in question (which is what rubocop does.
EXTRA_ATTRIBUTES = [
{
:component => 'password-field',
Expand Down Expand Up @@ -81,7 +77,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential
:type => 'password',
},
].freeze
# rubocop:enable Layout/AlignHash

API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::NetworkCredential
},
].freeze

# rubocop:disable Layout/AlignHash
#
# looks better to align the nested keys to the same distance, instead of
# scope just for the hash in question (which is what rubocop does).
EXTRA_ATTRIBUTES = [
{
:component => 'switch',
Expand Down Expand Up @@ -63,7 +59,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::NetworkCredential
:maxLength => 1024,
},
].freeze
# rubocop:enable Layout/AlignHash

API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::ScmCredential < M
},
].freeze

# rubocop:disable Layout/AlignHash
#
# looks better to align the nested keys to the same distance, instead of
# scope just for the hash in question (which is what rubocop does.
EXTRA_ATTRIBUTES = [
{
:component => 'password-field',
Expand All @@ -41,7 +37,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::ScmCredential < M
:type => 'password',
},
].freeze
# rubocop:enable Layout/AlignHash

API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze

Expand Down

0 comments on commit a05c664

Please sign in to comment.