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
151 changes: 148 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion vscode/extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@ assets/logo.svg
esbuild.js
openapi.json
test-results/**
E2E_TESTING.md
E2E_TESTING.md
**/*.test.ts
**/*.test.js
.mocharc.json
tsconfig.test.json
tsconfig.build.json
src/test/**
tests/**
.claude
8 changes: 8 additions & 0 deletions vscode/extension/esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ async function main() {
plugins: [
/* add to the end of plugins array */
esbuildProblemMatcherPlugin,
{
name: 'exclude-tests',
setup(build) {
build.onResolve({ filter: /\.test\.ts$/ }, args => {
return { external: true }
})
},
},
],
})
if (watch) {
Expand Down
26 changes: 26 additions & 0 deletions vscode/extension/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,30 @@ export default tseslint.config(
'@typescript-eslint/no-unsafe-member-access': 'off',
},
},
{
files: ['**/*.ts'],
ignores: ['**/*.test.ts'],
rules: {
'no-restricted-imports': [
'error',
{
patterns: ['*.test', '*.test.ts', '**/test/**'],
},
],
},
},
{
files: ['**/*.test.ts'],
languageOptions: {
parserOptions: {
projectService: false,
project: './tsconfig.test.json',
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
},
},
)
Loading