chore: sync local changes to Gitea

This commit is contained in:
shumengya
2026-06-24 22:10:25 +08:00
parent ea07531243
commit 5c44179c2c
50 changed files with 6892 additions and 869 deletions

View File

@@ -8,7 +8,7 @@ import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
files: ['frontend/**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
@@ -19,4 +19,14 @@ export default defineConfig([
globals: globals.browser,
},
},
{
files: ['worker/**/*.ts'],
extends: [js.configs.recommended, tseslint.configs.recommended],
languageOptions: {
globals: {
...globals.worker,
Env: 'readonly',
},
},
},
])