OsiPad/frontend
osmannyildiz 545bdf7bae add Sonner (and have some fun) 2024-04-20 19:51:19 +03:00
..
public reconsider life choices 2024-04-16 21:18:45 +03:00
src add Sonner (and have some fun) 2024-04-20 19:51:19 +03:00
.eslintrc.cjs reconsider life choices 2024-04-16 21:18:45 +03:00
.gitignore reconsider life choices 2024-04-16 21:18:45 +03:00
README.md reconsider life choices 2024-04-16 21:18:45 +03:00
index.html reconsider life choices 2024-04-16 21:18:45 +03:00
package.json add Sonner (and have some fun) 2024-04-20 19:51:19 +03:00
pnpm-lock.yaml add Sonner (and have some fun) 2024-04-20 19:51:19 +03:00
postcss.config.js add Tailwind 2024-04-18 16:10:08 +03:00
tailwind.config.js add daisyUI 2024-04-18 16:17:09 +03:00
tsconfig.json reconsider life choices 2024-04-16 21:18:45 +03:00
tsconfig.node.json reconsider life choices 2024-04-16 21:18:45 +03:00
vite.config.ts add TanStack Router 2024-04-18 19:18:12 +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