Complete configuration for build

This commit is contained in:
2025-08-09 19:09:49 -04:00
parent 689f446806
commit b3803162b4
15 changed files with 107 additions and 31 deletions

View File

@@ -18,13 +18,13 @@ export default tseslint.config([
tseslint.configs.recommendedTypeChecked,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
...pluginRouter.configs["flat/recommended"]
pluginRouter.configs["flat/recommended"]
],
languageOptions: {
ecmaVersion: 2022,
globals: globals.browser,
parserOptions: {
project: "./tsconfig.json",
project: ["./tsconfig.json", "./tsconfig.app.json", "./tsconfig.lib.json", "./tsconfig.node.json"],
tsconfigRootDir: import.meta.dirname
}
},
@@ -33,7 +33,13 @@ export default tseslint.config([
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true }
]
],
"react/react-in-jsx-scope": "off"
},
settings: {
react: {
version: "detect"
}
}
}
]);