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/mocks/common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/mocks') diff --git a/test/mocks/common.js b/test/mocks/common.js index 339e3ea0..3309e9e6 100644 --- a/test/mocks/common.js +++ b/test/mocks/common.js @@ -28,8 +28,8 @@ export const chrome = { runtime: { getURL: (path) => { return pathToFileURL(join(extDir, path.replace(/^\//, ''))).href; - } - } + }, + }, }; /** @type {import('test/mocks').FetchMock} */ @@ -47,6 +47,6 @@ export async function fetch(url) { status: 200, statusText: 'OK', text: async () => content.toString('utf8'), - json: async () => parseJson(content.toString('utf8')) + json: async () => parseJson(content.toString('utf8')), }; } -- cgit v1.2.3