Port the end-to-end test suite to v2 (#2179)

This commit is contained in:
Felix Weinberger 2026-05-29 12:04:45 +01:00 • committed by GitHub
commit 1998a186ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,15 @@
// @ts-check
import baseConfig from '@modelcontextprotocol/eslint-config';
export default [
...baseConfig,
{
rules: {
// `await using _ = await wire(...)` holds the connection open for the test body; the binding is intentionally unused
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_$' }],
// scenario files keep the kebab-case names they share with the v1.x suite
'unicorn/filename-case': ['error', { cases: { camelCase: true, kebabCase: true } }]
}
}
];