Implement code changes to enhance functionality and improve performance

This commit is contained in:
Tunglies
2025-08-22 19:56:23 +08:00
parent 76c3695567
commit 72e4491dc4
3 changed files with 1820 additions and 198 deletions

View File

@@ -1,3 +1,16 @@
// ESLint configuration file
// TODO: Add ESLint configuration when needed
export default {};
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";
import { defineConfig } from "eslint/config";
export default defineConfig([
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
plugins: { js },
extends: ["js/recommended"],
languageOptions: { globals: globals.browser },
},
tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
]);