No description
  • TypeScript 46.2%
  • CSS 44.6%
  • HTML 9.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-07-13 09:51:12 +02:00
public React Typescript Vite 2024-07-12 15:43:09 +02:00
src add: CheerioPlayground 2024-07-13 09:51:12 +02:00
url-test add: CheerioPlayground 2024-07-13 09:51:12 +02:00
.eslintrc.cjs React Typescript Vite 2024-07-12 15:43:09 +02:00
.gitignore React Typescript Vite 2024-07-12 15:43:09 +02:00
index.html React Typescript Vite 2024-07-12 15:43:09 +02:00
package-lock.json move from google-finance to onvista 2024-07-13 09:06:04 +02:00
package.json move from google-finance to onvista 2024-07-13 09:06:04 +02:00
README.md React Typescript Vite 2024-07-12 15:43:09 +02:00
tsconfig.app.json React Typescript Vite 2024-07-12 15:43:09 +02:00
tsconfig.json React Typescript Vite 2024-07-12 15:43:09 +02:00
tsconfig.node.json React Typescript Vite 2024-07-12 15:43:09 +02:00
vite.config.ts React Typescript Vite 2024-07-12 15:43:09 +02:00

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