diff --git a/biome.json b/biome.json index a507d5c..15e1545 100644 --- a/biome.json +++ b/biome.json @@ -20,6 +20,9 @@ }, "correctness": { "noConstructorReturn": "off" + }, + "complexity": { + "noBannedTypes": "off" } } } diff --git a/package.json b/package.json index e78c061..66f2234 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "esbuild ./src/nanolex.ts --bundle --minify --sourcemap=linked --outfile=./dist/nanolex.js --format=cjs && esbuild ./src/nanolex.ts --bundle --minify --sourcemap=linked --outfile=./dist/nanolex.mjs --format=esm && npm run declarations", "dev": "node ./scripts/dev.mjs", - "lint": "biome ci src scripts", + "lint": "biome ci src", "declarations": "tsc --declarationDir dist --emitDeclarationOnly --declaration", "postbuild": "cat package.json | sed '/\\\"devDependencies\\\"/,/}/ d; /^$/d' | sed 's/\\.\\/dist\\//\\.\\//g' > ./dist/package.json && cp README.md dist && cp LICENSE dist" },