Add sync-snippets script for type-checked examples (#1487)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
42b335953a
commit
553d6d4a0d
1 changed files with 1367 additions and 165 deletions
|
|
@ -86,6 +86,14 @@ export default defineConfig(
|
|||
'unicorn/consistent-function-scoping': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
// Example files contain intentionally unused functions (one per region)
|
||||
files: ['**/*.examples.ts'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
'no-console': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
// Ignore generated protocol types everywhere
|
||||
ignores: ['**/spec.types.ts']
|
||||
|
|
|
|||
Loading…
Reference in a new issue