mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
chore: update biome
This commit is contained in:
parent
36a0d9e990
commit
db8958d2a1
19
biome.json
19
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",
|
||||
|
19
package.json
19
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"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user