- Fix TS7030 errors in analytics hooks (useEffect return consistency) - Fix image-generator test mock and height tolerance assertion - Fix truth-validation tests (createOllamaProvider mock, model name) - Add ESLint 9 flat config files for 22 packages missing them - Add @eslint/js and typescript-eslint deps for flat config support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
483 B
JavaScript
16 lines
483 B
JavaScript
import eslint from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
},
|
|
},
|
|
{
|
|
ignores: ['**/*.spec.ts', '**/*.test.ts', '**/__tests__/**', 'dist/', 'node_modules/', '*.d.ts', '*.js'],
|
|
}
|
|
);
|