From ccada28f30326262b61638edf77b7ab163ff59a0 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Tue, 10 Jan 2017 18:02:20 -0500 Subject: resolve all padded-blocks eslint violations --- .../javascripts/protected_branches/protected_branch_create.js.es6 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/assets/javascripts/protected_branches/protected_branch_create.js.es6') diff --git a/app/assets/javascripts/protected_branches/protected_branch_create.js.es6 b/app/assets/javascripts/protected_branches/protected_branch_create.js.es6 index 083afd722df..ed5edda08eb 100644 --- a/app/assets/javascripts/protected_branches/protected_branch_create.js.es6 +++ b/app/assets/javascripts/protected_branches/protected_branch_create.js.es6 @@ -1,4 +1,4 @@ -/* eslint-disable no-new, arrow-parens, no-param-reassign, no-irregular-whitespace, comma-dangle, padded-blocks, max-len */ +/* eslint-disable no-new, arrow-parens, no-param-reassign, no-irregular-whitespace, comma-dangle, max-len */ /* global ProtectedBranchDropdown */ (global => { @@ -44,7 +44,6 @@ // This will run after clicked callback onSelect() { - // Enable submit button const $branchInput = this.$wrap.find('input[name="protected_branch[name]"]'); const $allowedToMergeInput = this.$wrap.find('input[name="protected_branch[merge_access_levels_attributes][0][access_level]"]'); @@ -53,5 +52,4 @@ this.$form.find('input[type="submit"]').attr('disabled', !($branchInput.val() && $allowedToMergeInput.length && $allowedToPushInput.length)); } }; - })(window); -- cgit v1.2.3