1
0
Fork 0
No description
This repository has been archived on 2025-09-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2024-06-28 08:20:57 +02:00
public feat: init react app 2024-06-28 08:18:06 +02:00
src feat: init react app 2024-06-28 08:18:06 +02:00
.editorconfig feat: initial commit 2024-05-04 09:31:43 +02:00
.eslintrc.cjs feat: init react app 2024-06-28 08:18:06 +02:00
.gitignore feat: init react app 2024-06-28 08:18:06 +02:00
bun.lockb chore: add bun.lockdb 2024-06-28 08:20:57 +02:00
index.html feat: init react app 2024-06-28 08:18:06 +02:00
package.json feat: init react app 2024-06-28 08:18:06 +02:00
README.md feat: init react app 2024-06-28 08:18:06 +02:00
tsconfig.app.json feat: init react app 2024-06-28 08:18:06 +02:00
tsconfig.json feat: init react app 2024-06-28 08:18:06 +02:00
tsconfig.node.json feat: init react app 2024-06-28 08:18:06 +02:00
vite.config.ts feat: init react app 2024-06-28 08:18:06 +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