Port the end-to-end test suite to v2 (#2179)
This commit is contained in:
parent
5fc42e9be1
commit
1998a186ee
1 changed files with 20108 additions and 1 deletions
15
test/e2e/eslint.config.mjs
Normal file
15
test/e2e/eslint.config.mjs
Normal 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 } }]
|
||||
}
|
||||
}
|
||||
];
|
||||
Loading…
Reference in a new issue