You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Frontend/README.md
+44-2Lines changed: 44 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# React + Vite
1
+
# React + TypeScript + Vite
2
2
3
3
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
4
@@ -9,4 +9,46 @@ Currently, two official plugins are available:
9
9
10
10
## Expanding the ESLint configuration
11
11
12
-
If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
12
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
13
+
14
+
```js
15
+
exportdefaulttseslint.config({
16
+
extends: [
17
+
// Remove ...tseslint.configs.recommended and replace with this
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
0 commit comments