File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- # React + TypeScript + Vite
1
+ # Personal Github Pages Setup with 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
@@ -22,7 +22,7 @@ export default tseslint.config({
22
22
tsconfigRootDir: import .meta.dirname,
23
23
},
24
24
},
25
- })
25
+ });
26
26
```
27
27
28
28
- Replace ` tseslint.configs.recommended ` to ` tseslint.configs.recommendedTypeChecked ` or ` tseslint.configs.strictTypeChecked `
@@ -31,7 +31,7 @@ export default tseslint.config({
31
31
32
32
``` js
33
33
// eslint.config.js
34
- import react from ' eslint-plugin-react'
34
+ import react from ' eslint-plugin-react' ;
35
35
36
36
export default tseslint .config ({
37
37
// Set the react version
@@ -46,5 +46,5 @@ export default tseslint.config({
46
46
... react .configs .recommended .rules ,
47
47
... react .configs [' jsx-runtime' ].rules ,
48
48
},
49
- })
49
+ });
50
50
```
You can’t perform that action at this time.
0 commit comments