From 765f1ede668f70e3af7717bf4d5f05dbf009c7f8 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 10 Feb 2024 23:12:01 -0500 Subject: Eslint rule updates (#665) * Padding newline rules * Update rules * Update rules * Update rules * Updates * Update object quotes * Merge similar ts and js rules * Change export spacing rules * Move typescript-eslint rules * Spacing * Actually save and commit changes --- dev/bin/build.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev/bin') diff --git a/dev/bin/build.js b/dev/bin/build.js index 190964d5..bc0a8cb8 100644 --- a/dev/bin/build.js +++ b/dev/bin/build.js @@ -23,10 +23,10 @@ import JSZip from 'jszip'; import {fileURLToPath} from 'node:url'; import path from 'path'; import readline from 'readline'; +import {parseArgs} from 'util'; import {buildLibs} from '../build-libs.js'; import {ManifestUtil} from '../manifest-util.js'; import {getAllFiles, testMain} from '../util.js'; -import {parseArgs} from 'util'; const dirname = path.dirname(fileURLToPath(import.meta.url)); @@ -267,7 +267,8 @@ export async function main(argv) { await buildLibs(); const variantNames = /** @type {string[]} */ (( argv.length === 0 || args.all ? - manifestUtil.getVariants().filter(({buildable}) => buildable !== false).map(({name}) => name) : [] + manifestUtil.getVariants().filter(({buildable}) => buildable !== false).map(({name}) => name) : + [] )); await build(buildDir, extDir, manifestUtil, variantNames, manifestPath, dryRun, dryRunBuildZip, yomitanVersion); } finally { -- cgit v1.2.3