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 --- ext/js/language/ko/korean-text-processors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/js/language/ko/korean-text-processors.js') diff --git a/ext/js/language/ko/korean-text-processors.js b/ext/js/language/ko/korean-text-processors.js index c77510c2..6411f69e 100644 --- a/ext/js/language/ko/korean-text-processors.js +++ b/ext/js/language/ko/korean-text-processors.js @@ -24,7 +24,7 @@ export const disassembleHangul = { options: [true], // Could probably also be set to [false, true], but this way it is always on process: (str) => { return Hangul.disassemble(str, false).join(''); - } + }, }; /** @type {import('language').TextProcessor} */ @@ -34,5 +34,5 @@ export const reassembleHangul = { options: [true], // Could probably also be set to [false, true], but this way it is always on process: (str) => { return Hangul.assemble(str); - } + }, }; -- cgit v1.2.3