Skip to content

Commit

Permalink
chore: update to use biome
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Mar 31, 2024
1 parent 3e00c31 commit fdca89d
Show file tree
Hide file tree
Showing 6 changed files with 766 additions and 38 deletions.
8 changes: 1 addition & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,5 @@
"extends": ["plugin:harmony/latest", "plugin:yml/standard"],
"parserOptions": {
"sourceType": "module"
},
"overrides": [
{
"extends": "plugin:harmony/ts-prettier",
"files": ["*.ts", "*.tsx"]
}
]
}
}
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"pnpm",
"repobuddy",
"snyk",
"testname"
"testname",
"tsbuildinfo"
],
"json.schemas": [
{
Expand All @@ -16,6 +17,5 @@
"url": "http://json.schemastore.org/tsconfig"
}
],
"typescript.enablePromptUseWorkspaceTsdk": true,
"liveServer.settings.port": 5501
"typescript.enablePromptUseWorkspaceTsdk": true
}
14 changes: 14 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"extends": [
"./node_modules/@repobuddy/biome/recommended.json"
],
"files": {
"ignore": [
"packages/*/.turbo",
"packages/*/cjs",
"packages/*/coverage",
"packages/*/esm"
]
}
}
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"scripts": {
"build": "turbo run build",
"build:doc": "typedoc --plugin typedoc-plugin-extras",
"check": "biome check .",
"clean": "turbo run clean",
"coverage": "turbo run coverage",
"cs": "changeset",
"depcheck": "turbo run depcheck",
"lint": "turbo run lint",
"format": "biome format.",
"lint": "biome lint .",
"nuke": "pnpm --no-bail --filter=* nuke && pnpm --no-bail nuke:local",
"nuke:local": "rimraf node_modules",
"path-equal": "pnpm --filter path-equal",
Expand All @@ -26,11 +28,12 @@
"@changesets/cli": "^2.26.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@repobuddy/biome": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"biome": "^0.3.3",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-harmony": "^7.1.1",
"eslint-plugin-harmony": "^7.2.0",
"eslint-plugin-yml": "^1.5.0",
"husky": "^9.0.11",
"turbo": "^1.13.0",
Expand Down
1 change: 0 additions & 1 deletion packages/path-equal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"cs": "changeset",
"depcheck": "depcheck",
"dev": "jest --watch",
"lint": "eslint --ext=ts,js .",
"nuke": "pnpm clean && rimraf node_modules",
"size": "size-limit",
"test:watch": "jest --watch",
Expand Down
Loading

0 comments on commit fdca89d

Please sign in to comment.