Remove Biome

This commit is contained in:
James Murdza
2025-10-22 10:42:09 -07:00
parent b3a65c373e
commit ae5ad4bb50
7 changed files with 423 additions and 1495 deletions

View File

@@ -7,7 +7,7 @@
],
"extensions": {
"recommendations": [
"biomejs.biome",
"esbenp.prettier-vscode"
]
}
}

View File

@@ -28,8 +28,8 @@
"access": "public"
},
"scripts": {
"lint": "biome lint .",
"lint:fix": "biome lint --fix .",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"build": "tsdown",
"dev": "tsdown --watch",
"test": "vitest",
@@ -43,7 +43,6 @@
"pino": "^9.7.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.15.17",
"bumpp": "^10.1.0",
"happy-dom": "^17.4.7",

View File

@@ -1,80 +0,0 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"include": ["core/**/*.ts", "computer/**/*.ts"],
"ignore": ["dist", "node_modules"]
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto",
"bracketSpacing": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useSelfClosingElements": "warn",
"noUnusedTemplateLiteral": "warn",
"noNonNullAssertion": "off"
},
"a11y": {
"useMediaCaption": "off",
"useKeyWithClickEvents": "warn",
"useKeyWithMouseEvents": "warn",
"noSvgWithoutTitle": "off",
"useButtonType": "warn",
"noAutofocus": "off"
},
"suspicious": {
"noArrayIndexKey": "off"
},
"correctness": {
"noUnusedVariables": "warn",
"noUnusedFunctionParameters": "warn",
"noUnusedImports": "warn"
},
"complexity": {
"useOptionalChain": "info"
},
"nursery": {
"useSortedClasses": {
"level": "warn",
"fix": "safe",
"options": {
"attributes": ["className"],
"functions": ["cn"]
}
}
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto",
"bracketSpacing": true
}
}
}

View File

@@ -28,8 +28,8 @@
"access": "public"
},
"scripts": {
"lint": "biome lint .",
"lint:fix": "biome lint --fix .",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"build": "tsdown",
"dev": "tsdown --watch",
"test": "vitest",
@@ -43,7 +43,6 @@
"ws": "^8.18.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.15.17",
"@types/ws": "^8.18.1",
"bumpp": "^10.1.0",
@@ -53,4 +52,4 @@
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
}
}

View File

@@ -28,8 +28,8 @@
"access": "public"
},
"scripts": {
"lint": "biome lint .",
"lint:fix": "biome lint --fix .",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"build": "tsdown",
"dev": "tsdown --watch",
"test": "vitest",
@@ -44,7 +44,6 @@
"uuid": "^11.1.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.15.17",
"@types/ws": "^8.18.1",
"bumpp": "^10.1.0",
@@ -54,4 +53,4 @@
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
}
}

View File

@@ -6,8 +6,8 @@
"author": "cua",
"license": "MIT",
"scripts": {
"lint": "biome check",
"lint:fix": "biome check --fix",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"build:core": "pnpm --filter @trycua/core build",
"build:computer": "pnpm --filter @trycua/computer build",
"build": "pnpm build:core && pnpm build:computer",
@@ -20,12 +20,10 @@
},
"packageManager": "pnpm@10.12.3",
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"prettier": "^3.6.2"
},
"pnpm": {
"onlyBuiltDependencies": [
"@biomejs/biome",
"esbuild",
"protobufjs",
"sharp",

File diff suppressed because it is too large Load Diff