From 76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 Mon Sep 17 00:00:00 2001 From: James Maa Date: Fri, 31 May 2024 08:06:52 -0700 Subject: Allow trailing commas in ESLint (#1013) * Update comma-dangle rule * Fix dangling commas --- test/data/html/js/html-test-utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/data/html/js') diff --git a/test/data/html/js/html-test-utilities.js b/test/data/html/js/html-test-utilities.js index 34e58807..c6011e6d 100644 --- a/test/data/html/js/html-test-utilities.js +++ b/test/data/html/js/html-test-utilities.js @@ -161,7 +161,7 @@ class HtmlTestUtilities { if (template !== null && templateContentContainer !== null) { const mode = (container instanceof HTMLElement ? container.dataset.shadowMode : void 0); const shadow = templateContentContainer.attachShadow({ - mode: (mode === 'open' || mode === 'closed' ? mode : 'open') + mode: (mode === 'open' || mode === 'closed' ? mode : 'open'), }); const containerStyles = document.querySelector('#container-styles'); -- cgit v1.2.3