add linting and some lazy loading

This commit is contained in:
2026-04-04 18:43:54 +02:00
parent c14864aa29
commit 4c989928f1
7 changed files with 705 additions and 49 deletions
+23
View File
@@ -0,0 +1,23 @@
import tsParser from '@typescript-eslint/parser';
export default [
{
ignores: ['dist/**', 'build/**', 'node_modules/**'],
},
{
files: ['src/**/*.{ts,tsx}', 'vite.config.ts', 'vitest.setup.ts'],
languageOptions: {
parser: tsParser,
ecmaVersion: 'latest',
sourceType: 'module',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},
rules: {
'no-debugger': 'error',
},
},
];