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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
env:
NODE_ENV: production

- name: Test generated WebMCP tools
run: npm run test:webmcp

- name: Upload build artefact
uses: actions/upload-artifact@v7
with:
Expand Down
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,15 @@ export default [
"@typescript-eslint/no-unused-vars": ["error", { caughtErrors: "none" }],
},
},

// src/lib/webmcp.ts emits its helper/execute functions verbatim into
// /webmcp.js via Function.toString(). Their `var` style and loose `any`
// types are the shipped browser code, not build-time style — don't lint
// them as if they were.
{
files: ["src/lib/webmcp.ts"],
rules: {
"no-var": "off",
},
},
];
Loading
Loading