build: resolve TypeScript 7 tooling compatibility

This commit is contained in:
golem
2026-08-17 16:06:23 -06:00
parent db377c2bb3
commit eece34c088
4 changed files with 75 additions and 41 deletions
+4 -2
View File
@@ -2,10 +2,12 @@ import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import tseslint from "typescript-eslint";
export default [
export default tseslint.config(
{ ignores: ["dist", "coverage"] },
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
@@ -21,4 +23,4 @@ export default [
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }]
}
}
];
);