Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
avo committed Oct 27, 2024
1 parent b0e5173 commit df8f529
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# React + TypeScript + Vite
# Personal Github Pages Setup with React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Expand All @@ -22,7 +22,7 @@ export default tseslint.config({
tsconfigRootDir: import.meta.dirname,
},
},
})
});
```

- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
Expand All @@ -31,7 +31,7 @@ export default tseslint.config({

```js
// eslint.config.js
import react from 'eslint-plugin-react'
import react from 'eslint-plugin-react';

export default tseslint.config({
// Set the react version
Expand All @@ -46,5 +46,5 @@ export default tseslint.config({
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
})
});
```

0 comments on commit df8f529

Please sign in to comment.