Skip to content

Commit

Permalink
chore: update biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Jan 9, 2024
1 parent 411692d commit 8b43770
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/biome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: read
pull-requests: write # for biome ci

jobs:
biome:
Expand All @@ -22,4 +23,4 @@ jobs:
version: latest

- name: Run Biome
run: biome ci --error-on-warnings .
run: biome ci --changed --error-on-warnings .
6 changes: 5 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
"useIgnoreFile": true,
"defaultBranch": "main"
},
"files": {
"ignoreUnknown": true
},
"formatter": {
"formatWithErrors": true
Expand Down
45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "gdrive4d",
"private": true,
"scripts": {
"start": "bun src/main.ts",
"start:screen": "screen -DRS gdrive4d bun start",
"check": "biome check --apply-unsafe ."
},
"dependencies": {
"@googleapis/drive": "8.5.0",
"consola": "3.2.3",
"discord.js": "14.14.1",
"normalize-url": "8.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.5.0",
"@tsconfig/bun": "1.0.1",
"@tsconfig/strictest": "2.0.2",
"bun-types": "1.0.21",
"ignore-sync": "7.0.1",
"typescript": "5.3.3"
}
"$schema": "https://json.schemastore.org/package.json",
"name": "gdrive4d",
"private": true,
"scripts": {
"start": "bun src/main.ts",
"start:screen": "screen -DRS gdrive4d bun start",
"check": "biome check --changed --apply-unsafe .",
"check-all": "biome check --apply-unsafe ."
},
"dependencies": {
"@googleapis/drive": "8.5.0",
"consola": "3.2.3",
"discord.js": "14.14.1",
"normalize-url": "8.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.5.0",
"@tsconfig/bun": "1.0.1",
"@tsconfig/strictest": "2.0.2",
"bun-types": "1.0.21",
"ignore-sync": "7.0.1",
"typescript": "5.3.3"
}
}

0 comments on commit 8b43770

Please sign in to comment.