diff --git a/biome.json b/biome.json index 8fa12e4..ca756e6 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.5.0/schema.json", + "$schema": "https://biomejs.dev/schemas/1.6.0/schema.json", "linter": { "enabled": true, "rules": { @@ -11,24 +11,21 @@ "noRedeclare": "off", "noEmptyInterface": "off", "noConfusingVoidType": "off", - "noImplicitAnyLet": "off" + "noImplicitAnyLet": "off", + "noEmptyBlockStatements": "off" }, "style": { "noNonNullAssertion": "off", - "noParameterAssign": "off" + "noParameterAssign": "off", + "useExportType": "error", + "useImportType": "error", + "useNodejsImportProtocol": "error" }, "correctness": { "noUnusedVariables": "off" }, - "nursery": { - "useExportType": "error", - "useImportType": "error", - "useNodejsImportProtocol": "error", - "noUselessLoneBlockStatements": "warn", - "noUselessTernary": "error", - "noEmptyBlockStatements": "off" - }, "complexity": { + "noUselessLoneBlockStatements": "warn", "noBannedTypes": "off", "noForEach": "off", "noUselessConstructor": "off", diff --git a/package.json b/package.json index ce3e2c2..03fb1be 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,7 @@ "main": "./lib/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", - "files": [ - "lib/**" - ], + "files": ["lib/**"], "scripts": { "build": "tsc --outDir ./lib", "prepublishOnly": "npm run build", @@ -26,13 +24,10 @@ "ws": "^8.16.0" }, "lint-staged": { - "*.ts": [ - "biome check --apply", - "biome format --write" - ] + "*.ts": ["biome check --apply", "biome format --write"] }, "devDependencies": { - "@biomejs/biome": "1.5.0", + "@biomejs/biome": "1.6.0", "@types/node": "^20.10.7", "@types/ws": "^8.5.10", "husky": "^8.0.3", @@ -52,13 +47,7 @@ "bugs": { "url": "https://github.com/tiramisulabs/seyfert" }, - "keywords": [ - "api", - "discord", - "bots", - "typescript", - "botdev" - ], + "keywords": ["api", "discord", "bots", "typescript", "botdev"], "publishConfig": { "access": "public" },