mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +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": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
@ -11,24 +11,21 @@
|
|||||||
"noRedeclare": "off",
|
"noRedeclare": "off",
|
||||||
"noEmptyInterface": "off",
|
"noEmptyInterface": "off",
|
||||||
"noConfusingVoidType": "off",
|
"noConfusingVoidType": "off",
|
||||||
"noImplicitAnyLet": "off"
|
"noImplicitAnyLet": "off",
|
||||||
|
"noEmptyBlockStatements": "off"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"noNonNullAssertion": "off",
|
"noNonNullAssertion": "off",
|
||||||
"noParameterAssign": "off"
|
"noParameterAssign": "off",
|
||||||
|
"useExportType": "error",
|
||||||
|
"useImportType": "error",
|
||||||
|
"useNodejsImportProtocol": "error"
|
||||||
},
|
},
|
||||||
"correctness": {
|
"correctness": {
|
||||||
"noUnusedVariables": "off"
|
"noUnusedVariables": "off"
|
||||||
},
|
},
|
||||||
"nursery": {
|
|
||||||
"useExportType": "error",
|
|
||||||
"useImportType": "error",
|
|
||||||
"useNodejsImportProtocol": "error",
|
|
||||||
"noUselessLoneBlockStatements": "warn",
|
|
||||||
"noUselessTernary": "error",
|
|
||||||
"noEmptyBlockStatements": "off"
|
|
||||||
},
|
|
||||||
"complexity": {
|
"complexity": {
|
||||||
|
"noUselessLoneBlockStatements": "warn",
|
||||||
"noBannedTypes": "off",
|
"noBannedTypes": "off",
|
||||||
"noForEach": "off",
|
"noForEach": "off",
|
||||||
"noUselessConstructor": "off",
|
"noUselessConstructor": "off",
|
||||||
|
19
package.json
19
package.json
@ -4,9 +4,7 @@
|
|||||||
"main": "./lib/index.js",
|
"main": "./lib/index.js",
|
||||||
"module": "./lib/index.js",
|
"module": "./lib/index.js",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
"files": [
|
"files": ["lib/**"],
|
||||||
"lib/**"
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --outDir ./lib",
|
"build": "tsc --outDir ./lib",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
@ -26,13 +24,10 @@
|
|||||||
"ws": "^8.16.0"
|
"ws": "^8.16.0"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.ts": [
|
"*.ts": ["biome check --apply", "biome format --write"]
|
||||||
"biome check --apply",
|
|
||||||
"biome format --write"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "1.5.0",
|
"@biomejs/biome": "1.6.0",
|
||||||
"@types/node": "^20.10.7",
|
"@types/node": "^20.10.7",
|
||||||
"@types/ws": "^8.5.10",
|
"@types/ws": "^8.5.10",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
@ -52,13 +47,7 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/tiramisulabs/seyfert"
|
"url": "https://github.com/tiramisulabs/seyfert"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": ["api", "discord", "bots", "typescript", "botdev"],
|
||||||
"api",
|
|
||||||
"discord",
|
|
||||||
"bots",
|
|
||||||
"typescript",
|
|
||||||
"botdev"
|
|
||||||
],
|
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user