Fast, open and free-to-use new tab page for modern browsers
Go to file
David Ralph cdb69fafe9 The Code Awakens 2023-12-28 23:16:04 +00:00
public The Code Awakens 2023-12-28 23:16:04 +00:00
src The Code Awakens 2023-12-28 23:16:04 +00:00
.eslintrc.cjs The Code Awakens 2023-12-28 23:16:04 +00:00
.gitignore The Code Awakens 2023-12-28 23:16:04 +00:00
README.md The Code Awakens 2023-12-28 23:16:04 +00:00
components.json The Code Awakens 2023-12-28 23:16:04 +00:00
index.html The Code Awakens 2023-12-28 23:16:04 +00:00
package.json The Code Awakens 2023-12-28 23:16:04 +00:00
pnpm-lock.yaml The Code Awakens 2023-12-28 23:16:04 +00:00
postcss.config.js The Code Awakens 2023-12-28 23:16:04 +00:00
tailwind.config.js The Code Awakens 2023-12-28 23:16:04 +00:00
tsconfig.json The Code Awakens 2023-12-28 23:16:04 +00:00
tsconfig.node.json The Code Awakens 2023-12-28 23:16:04 +00:00
vite.config.ts The Code Awakens 2023-12-28 23:16:04 +00:00

README.md

React + TypeScript + Vite

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

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list