16 lines
453 B
JavaScript
16 lines
453 B
JavaScript
import tseslint from 'typescript-eslint';
|
|
import globals from 'globals';
|
|
|
|
export default tseslint.config(
|
|
{ ignores: ['dist/**', 'node_modules/**', 'coverage/**'] },
|
|
...tseslint.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
globals: { ...globals.node, ...globals.jest },
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'error',
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
},
|
|
},
|
|
); |