Rewrote turborepo. Hopefully this is a bit more clean & easy to understand for me.

This commit is contained in:
2025-10-29 11:39:17 -05:00
parent 8b0f811ed6
commit 75505759f1
147 changed files with 8671 additions and 925 deletions

19
tools/eslint/react.ts Normal file
View File

@@ -0,0 +1,19 @@
import reactPlugin from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import { defineConfig } from "eslint/config";
export const reactConfig = defineConfig(
{
files: ["**/*.ts", "**/*.tsx"],
...reactPlugin.configs.flat.recommended,
...reactPlugin.configs.flat["jsx-runtime"],
languageOptions: {
...reactPlugin.configs.flat.recommended?.languageOptions,
...reactPlugin.configs.flat["jsx-runtime"]?.languageOptions,
globals: {
React: "writable",
},
},
},
reactHooks.configs.flat["recommended-latest"]!,
);