Skip to content

Commit 8ad47f0

Browse files
committed
fix(ci): update eslint config and vsix filename
1 parent bd017b9 commit 8ad47f0

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.eslintrc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@
2323
"@typescript-eslint/no-unused-vars": [
2424
"warn",
2525
{
26-
"argsIgnorePattern": "^_"
26+
"argsIgnorePattern": "^_",
27+
"varsIgnorePattern": "^_"
2728
}
2829
],
30+
"@typescript-eslint/no-explicit-any": "warn",
31+
"no-case-declarations": "off",
2932
"curly": "warn",
3033
"eqeqeq": "warn",
3134
"no-throw-literal": "warn",
@@ -34,6 +37,6 @@
3437
"ignorePatterns": [
3538
"dist",
3639
"node_modules",
37-
"*.test.ts"
40+
"**/*.test.ts"
3841
]
3942
}

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
run: npm run build
4747

4848
- name: Package VSIX
49-
run: npx @vscode/vsce package
49+
run: npx @vscode/vsce package -o CodingWithCalvin.VSC-MCPServer.vsix
5050

5151
- name: Upload VSIX artifact
5252
uses: actions/upload-artifact@v4
5353
with:
5454
name: vsix
55-
path: '*.vsix'
55+
path: CodingWithCalvin.VSC-MCPServer.vsix

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
5353

5454
- name: Package VSIX
55-
run: npx @vscode/vsce package
55+
run: npx @vscode/vsce package -o CodingWithCalvin.VSC-MCPServer.vsix
5656

5757
- name: Publish to VS Code Marketplace
5858
run: npx @vscode/vsce publish -p ${{ secrets.VS_PAT }}
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/upload-artifact@v4
6262
with:
6363
name: vsix
64-
path: '*.vsix'
64+
path: CodingWithCalvin.VSC-MCPServer.vsix
6565

6666
- name: Commit version bump
6767
run: |
@@ -95,4 +95,4 @@ jobs:
9595
tag_name: v${{ needs.publish.outputs.version }}
9696
name: v${{ needs.publish.outputs.version }}
9797
body: ${{ needs.changelog.outputs.changelog }}
98-
files: '*.vsix'
98+
files: CodingWithCalvin.VSC-MCPServer.vsix

0 commit comments

Comments
 (0)