22 lines
513 B
JavaScript
22 lines
513 B
JavaScript
import js from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(
|
|
{ ignores: ['dist/**', 'src-tauri/**'] },
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
files: ['src/**/*.{ts,tsx}'],
|
|
languageOptions: {
|
|
globals: {
|
|
document: 'readonly',
|
|
HTMLElement: 'readonly',
|
|
HTMLDivElement: 'readonly',
|
|
requestAnimationFrame: 'readonly',
|
|
setTimeout: 'readonly',
|
|
window: 'readonly',
|
|
},
|
|
},
|
|
},
|
|
);
|