Skip to content

Commit 60fa7bc

Browse files
authored
feat(vscode): rename to SQLMesh prefix (#4745)
1 parent 65da025 commit 60fa7bc

File tree

10 files changed

+258
-15
lines changed

10 files changed

+258
-15
lines changed

pnpm-lock.yaml

Lines changed: 148 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscode/extension/.vscodeignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,12 @@ assets/logo.svg
1616
esbuild.js
1717
openapi.json
1818
test-results/**
19-
E2E_TESTING.md
19+
E2E_TESTING.md
20+
**/*.test.ts
21+
**/*.test.js
22+
.mocharc.json
23+
tsconfig.test.json
24+
tsconfig.build.json
25+
src/test/**
26+
tests/**
27+
.claude

vscode/extension/esbuild.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ async function main() {
1818
plugins: [
1919
/* add to the end of plugins array */
2020
esbuildProblemMatcherPlugin,
21+
{
22+
name: 'exclude-tests',
23+
setup(build) {
24+
build.onResolve({ filter: /\.test\.ts$/ }, args => {
25+
return { external: true }
26+
})
27+
},
28+
},
2129
],
2230
})
2331
if (watch) {

vscode/extension/eslint.config.mjs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,30 @@ export default tseslint.config(
2626
'@typescript-eslint/no-unsafe-member-access': 'off',
2727
},
2828
},
29+
{
30+
files: ['**/*.ts'],
31+
ignores: ['**/*.test.ts'],
32+
rules: {
33+
'no-restricted-imports': [
34+
'error',
35+
{
36+
patterns: ['*.test', '*.test.ts', '**/test/**'],
37+
},
38+
],
39+
},
40+
},
41+
{
42+
files: ['**/*.test.ts'],
43+
languageOptions: {
44+
parserOptions: {
45+
projectService: false,
46+
project: './tsconfig.test.json',
47+
tsconfigRootDir: import.meta.dirname,
48+
},
49+
},
50+
rules: {
51+
'@typescript-eslint/no-unsafe-call': 'off',
52+
'@typescript-eslint/no-unsafe-member-access': 'off',
53+
},
54+
},
2955
)

0 commit comments

Comments
 (0)