Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 515844b

Browse files
⚡️ Migrate to tsgo (#57)
* ⚡️ Migrate to tsgo * 🚨 Remove eslint-disable that's no longer needed
1 parent ca1bc21 commit 515844b

File tree

6 files changed

+137
-43
lines changed

6 files changed

+137
-43
lines changed

‎.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
"editor.formatOnSave": true,
1313
"eslint.useFlatConfig": true,
1414
"explorer.fileNesting.patterns": {
15+
".env": ".env.*",
1516
"*.js": "${capture}.d.ts, ${capture}.d.ts.map, ${capture}.js.map, ${capture}.min.js, ${capture}.test.d.ts.map",
1617
"*.ts": "${capture}.test.ts, ${capture}.test.ts.map",
17-
".env": ".env.*",
1818
"package.json": "bun.lockb, package-lock.json, pnpm-lock.yaml, yarn.lock",
1919
"tsconfig.json": "tsconfig.*.json, tsconfig.tsbuildinfo"
2020
},
21+
"typescript.experimental.useTsgo": true,
2122
"typescript.tsdk": "node_modules/typescript/lib"
2223
}

‎eslint.config.js renamed to ‎eslint.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import prettier from "eslint-config-prettier"
33
import globals from "globals"
44
import tseslint from "typescript-eslint"
55

6-
/* eslint-disable @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access */
7-
86
export default tseslint.config(
97
{
108
languageOptions: {

‎package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"repository": "github:coderabbitai/bitbucket",
3333
"scripts": {
34-
"build": "tsc",
34+
"build": "tsgo",
3535
"clean": "rm -rf dist docs node_modules tsconfig.tsbuildinfo",
3636
"dev": "node ./src/main.ts",
3737
"docs": "typedoc",
@@ -56,10 +56,12 @@
5656
"@eslint/js": "^9.21.0",
5757
"@natoboram/load_env": "^1.0.0",
5858
"@types/node": "^22.13.5",
59+
"@typescript/native-preview": "7.0.0-dev.20250605.1",
5960
"dotenv": "^16.4.7",
6061
"eslint": "^9.21.0",
6162
"eslint-config-prettier": "^10.0.2",
6263
"globals": "^16.0.0",
64+
"jiti": "^2.4.2",
6365
"markdownlint-cli2": "^0.18.1",
6466
"openapi-typescript": "^7.8.0",
6567
"prettier": "^3.5.2",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /