migrate to vite
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 4m15s

This commit is contained in:
2026-03-06 20:46:40 +01:00
parent 8df9c8eaee
commit 49026fbab2
30 changed files with 3110 additions and 1064 deletions

24
eslint.config.js Normal file
View File

@@ -0,0 +1,24 @@
import js from '@eslint/js';
import tseslint from 'typescript-eslint';
import reactHooks from 'eslint-plugin-react-hooks';
import reactRefresh from 'eslint-plugin-react-refresh';
export default tseslint.config(
{ ignores: ['dist', 'node_modules'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
},
);