diff --git a/CHANGELOG.md b/CHANGELOG.md index a1d635291e..26f2d40e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ Download Pages: [GitHub Releases](https://github.com/volarjs/insiders/releases/t ## 2.0.21 (2024-06-08) -### But Fixes +### Bug Fixes - fix(typescript-plugin): TS plugin cause type checking broken in .ts files (#4453) @@ -33,7 +33,7 @@ Download Pages: [GitHub Releases](https://github.com/volarjs/insiders/releases/t - feat(language-service): add localization support for zh-hk/zh-tw - feat(vscode): enable syntax highlighting of cue code blocks in MDX (#4425) - Thanks @remcohaszing -### But Fixes +### Bug Fixes - fix(vscode): fix "as"/"instanceof" expressions syntax highlight (#4412) - fix(language-core): `ForIteratorExpression`'s `returns` property may be undefined (#4418) - Thanks @so1ve diff --git a/tsslint.config.ts b/tsslint.config.ts index 5e3b34dee8..9f7eb1096a 100644 --- a/tsslint.config.ts +++ b/tsslint.config.ts @@ -1,7 +1,10 @@ import { defineConfig } from '@tsslint/config'; +import { getDefaultRules as getDefaultVolarRules } from 'https://raw.githubusercontent.com/volarjs/volar.js/master/tsslint.config.ts'; export default defineConfig({ - ...(await import('https://raw.githubusercontent.com/volarjs/volar.js/master/tsslint.config.ts')).default, + rules: { + ...getDefaultVolarRules(), + }, plugins: [ ({ tsconfig }) => ({ resolveRules(rules) { @@ -11,5 +14,5 @@ export default defineConfig({ return rules; }, }), - ] + ], });