Go to file
osmannyildiz c8d5a78a9f (wip) last state 2024-04-25 21:25:48 +03:00
public initial commit 2023-12-23 14:56:29 +03:00
src (wip) last state 2024-04-25 21:25:48 +03:00
.eslintrc.cjs initial commit 2023-12-23 14:56:29 +03:00
.gitignore initial commit 2023-12-23 14:56:29 +03:00
README.md initial commit 2023-12-23 14:56:29 +03:00
index.html initial commit 2023-12-23 14:56:29 +03:00
package.json add connect button 2023-12-23 15:40:42 +03:00
pnpm-lock.yaml add connect button 2023-12-23 15:40:42 +03:00
tsconfig.json initial commit 2023-12-23 14:56:29 +03:00
tsconfig.node.json initial commit 2023-12-23 14:56:29 +03:00
vite.config.ts initial commit 2023-12-23 14:56:29 +03: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