From fe0e5feeb769477907c70f7e3633fdd4b2a26b7c Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 11 Oct 2017 12:15:06 +0100 Subject: [PATCH] Issue #2914708 by droplet: JS codestyle: comma-dangle --- core/.eslintrc.passing.json | 1 - core/modules/block/js/block.admin.es6.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/.eslintrc.passing.json b/core/.eslintrc.passing.json index a7b1dbaa4b97..54a53bfac3e8 100644 --- a/core/.eslintrc.passing.json +++ b/core/.eslintrc.passing.json @@ -17,7 +17,6 @@ "new-cap": "off", "max-len": "off", "default-case": "off", - "comma-dangle": "off", "camelcase": "off", "array-callback-return": "off", "vars-on-top": "off", diff --git a/core/modules/block/js/block.admin.es6.js b/core/modules/block/js/block.admin.es6.js index ee4ec0844d0b..77c65c373185 100644 --- a/core/modules/block/js/block.admin.es6.js +++ b/core/modules/block/js/block.admin.es6.js @@ -57,8 +57,8 @@ Drupal.formatPlural( $table.find('tr:visible').length - 1, '1 block is available in the modified list.', - '@count blocks are available in the modified list.' - ) + '@count blocks are available in the modified list.', + ), ); } else { -- GitLab