Aneurin Barker Snook 3b054c05d1 fix pagination appearance 1 ano atrás
..
public 85c9a16609 replace favicon, cleanup web 1 ano atrás
src 3b054c05d1 fix pagination appearance 1 ano atrás
.dockerignore 1f43b1c782 create docker sample environment 1 ano atrás
.eslintrc.cjs 9749e2bd41 configure eslint, @ path alias 1 ano atrás
.gitignore d4bd353406 npm create vite@latest web -- --template react-ts 1 ano atrás
README.md d4bd353406 npm create vite@latest web -- --template react-ts 1 ano atrás
index.html 85c9a16609 replace favicon, cleanup web 1 ano atrás
package-lock.json d618d9ad9f add drag-drop sorting and mark done/not done 1 ano atrás
package.json d618d9ad9f add drag-drop sorting and mark done/not done 1 ano atrás
tsconfig.json 9749e2bd41 configure eslint, @ path alias 1 ano atrás
tsconfig.node.json d4bd353406 npm create vite@latest web -- --template react-ts 1 ano atrás
vite.config.ts 9749e2bd41 configure eslint, @ path alias 1 ano atrás

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