Skip to content

Commit

Permalink
chore: follow new biome rules
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 authored and renovate[bot] committed Mar 14, 2024
1 parent f360db2 commit 209c01b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 25 deletions.
10 changes: 9 additions & 1 deletion biome.json → biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
},
"linter": {
"rules": {
"all": true
"all": true,
"nursery": {
"all": true,
// This is a server-side application
"noConsole": "off",
// This rule reports bun as an undeclared dependency
// ref: https://github.com/biomejs/biome/issues/2074
"noUndeclaredDependencies": "off"
}
}
},
"json": {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
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.7.0",
"consola": "3.2.3",
"discord.js": "14.14.1",
"normalize-url": "8.0.1"
},
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@tsconfig/bun": "1.0.4",
"@tsconfig/strictest": "2.0.3",
"@types/bun": "1.0.8",
"ignore-sync": "7.0.1",
"typescript": "5.4.2"
}
"$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 ."
},
"dependencies": {
"@googleapis/drive": "8.7.0",
"consola": "3.2.3",
"discord.js": "14.14.1",
"gaxios": "6.3.0",
"normalize-url": "8.0.1"
},
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@tsconfig/bun": "1.0.4",
"@tsconfig/strictest": "2.0.3",
"@types/bun": "1.0.8",
"ignore-sync": "7.0.1",
"typescript": "5.4.2"
}
}
2 changes: 1 addition & 1 deletion src/util/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./invisible";
export { appendInvisible, decodeAppendedInvisible } from "./invisible";
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": ["@tsconfig/bun/tsconfig.json", "@tsconfig/strictest/tsconfig.json"],
"extends": [
"@tsconfig/bun/tsconfig.json",
"@tsconfig/strictest/tsconfig.json"
],
"compilerOptions": {
"allowJs": true
},
Expand Down

0 comments on commit 209c01b

Please sign in to comment.