feat: scaffold vite react app and configure web package
This commit is contained in:
parent
a0f008be74
commit
1765923cb6
26 changed files with 1994 additions and 27 deletions
17
apps/web/eslint.config.js
Normal file
17
apps/web/eslint.config.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import reactHooks from "eslint-plugin-react-hooks";
|
||||
import reactRefresh from "eslint-plugin-react-refresh";
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
|
||||
export default defineConfig([
|
||||
globalIgnores(["dist"]),
|
||||
{
|
||||
files: ["**/*.{ts,tsx}"],
|
||||
extends: [reactHooks.configs.flat.recommended, reactRefresh.configs.vite],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: "./tsconfig.app.json",
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
},
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue