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/json.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/json.test.js') diff --git a/test/json.test.js b/test/json.test.js index aa12dc09..885c4695 100644 --- a/test/json.test.js +++ b/test/json.test.js @@ -49,7 +49,7 @@ function createAjv() { return new Ajv({ meta: true, strictTuples: false, - allowUnionTypes: true + allowUnionTypes: true, }); } @@ -69,7 +69,7 @@ function createValidatorFunctionFromTypeScript(path, type, jsconfigType) { additionalProperties: false, minify: false, expose: 'none', - strictTuples: true + strictTuples: true, }; const schema = createGenerator(config).createSchema(config.type); const ajv = createAjv(); @@ -105,7 +105,7 @@ describe.concurrent('JSON validation', () => { 'playwright', 'test-results', 'dev/lib', - 'test/playwright' + 'test/playwright', ]); const existingJsonFiles = getAllFiles(rootDir, (path, isDirectory) => { -- cgit v1.2.3