chore(root): migrate to biome

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-16 12:20:40 +02:00
parent 1f6e198336
commit 32e91959f6
383 changed files with 1943 additions and 3085 deletions

View File

@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import arg from 'arg';
import { glob } from 'glob';
@@ -17,7 +17,7 @@ export default async function importer() {
},
{
permissive: true,
}
},
);
if (!args['--glob']) {
@@ -40,7 +40,7 @@ export default async function importer() {
const files = allFiles.slice(
args['--from'] ?? 0,
args['--to'] ?? Number.MAX_SAFE_INTEGER
args['--to'] ?? Number.MAX_SAFE_INTEGER,
);
if (args['--dry-run']) {