typescript-sdk/test/e2e/eslint.config.mjs
2026-05-29 12:04:45 +01:00

15 lines
583 B
JavaScript

// @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 } }]
}
}
];