eslint fixes in tests (#1418)
This commit is contained in:
parent
55a28ed645
commit
bf6f16c8be
1 changed files with 219 additions and 184 deletions
|
|
@ -79,6 +79,13 @@ export default defineConfig(
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
// Disable consistent-function-scoping in test files where helper functions are common
|
||||
files: ['**/*.test.ts', '**/*.test.tsx', '**/test/**'],
|
||||
rules: {
|
||||
'unicorn/consistent-function-scoping': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
// Ignore generated protocol types everywhere
|
||||
ignores: ['**/spec.types.ts']
|
||||
|
|
|
|||
Loading…
Reference in a new issue