Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@
"@typescript-eslint/no-explicit-any": "off",
// better to fix rule
"unicorn/consistent-destructuring": "off",
"@typescript-eslint/no-restricted-imports": [
"error",
{
"patterns": [
{
"group": [
"typescript*",
"!../*"
],
"message": "Use global ts type and variable instead"
// "allowTypeImports": true
}
]
}
],
"unicorn/switch-case-braces": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/ban-types": "off",
Expand Down Expand Up @@ -60,7 +45,9 @@
"@typescript-eslint/prefer-regexp-exec": "off",
"no-negated-condition": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"unicorn/prefer-set-has": "off"
"unicorn/prefer-set-has": "off",
// Allow typescript imports in plugin code (needed for TS 5.5+ upgrade)
"@typescript-eslint/no-restricted-imports": "off"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion buildTsPlugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const result = await buildTsPlugin('typescript', undefined, undefined, {
banner: {
js: 'let ts, tsFull;',
},
external: ['perf_hooks'],
external: ['perf_hooks', 'typescript', 'typescript/lib/tsserverlibrary'],
plugins: [
{
name: 'watch-notifier',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"tsm": "^2.3.0",
"type-fest": "^2.13.1",
"typed-jsonfile": "^0.2.1",
"typescript": "5.3.3",
"typescript": "5.9.3",
"vite": "^4.1.1",
"vitest": "^0.34.6",
"vitest-environment-ts-plugin": "./vitest-environment-ts-plugin",
Expand Down Expand Up @@ -207,7 +207,7 @@
"require-from-string": "^2.0.2",
"semver": "^7.3.8",
"string-dedent": "^3.0.1",
"ts-expose-internals": "^5.3.3",
"ts-expose-internals": "^5.6.3",
"ts-simple-type": "^1.0.7",
"unleashed-typescript": "^1.3.0",
"vscode-framework": "^0.0.18",
Expand All @@ -232,4 +232,4 @@
}
},
"packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac"
}
}
Loading
Loading