Go to file
irfan 16e2c8fc09 Update env/env.cloud 2025-04-29 10:38:50 +00:00
caddy ci: update try use caddy 2024-10-04 04:18:08 +00:00
env Update env/env.cloud 2025-04-29 10:38:50 +00:00
public feat: implement report 2024-10-01 22:02:05 +07:00
src feat: fix undefined user name 2024-10-04 11:27:43 +07:00
.drone.yml ci: automation 2024-10-04 06:03:06 +00:00
.eslintignore git commit -m "first commit" 2024-10-01 14:26:05 +07:00
.gitignore feat: setup apps 2024-10-01 14:56:15 +07:00
.prettierignore git commit -m "first commit" 2024-10-01 14:26:05 +07:00
.prettierrc git commit -m "first commit" 2024-10-01 14:26:05 +07:00
Dockerfile ci: update try use caddy 2024-10-04 04:18:08 +00:00
README.md git commit -m "first commit" 2024-10-01 14:26:05 +07:00
eslint.config.js feat: implement report 2024-10-01 22:02:05 +07:00
index.html feat: implement report 2024-10-01 22:02:05 +07:00
package-lock.json fix: missing dependencies 2024-10-04 09:43:11 +07:00
package.json fix: missing dependencies 2024-10-04 09:43:11 +07:00
postcss.config.js git commit -m "first commit" 2024-10-01 14:26:05 +07:00
tailwind.config.js git commit -m "first commit" 2024-10-01 14:26:05 +07:00
tsconfig.app.json feat: setup apps 2024-10-01 14:56:15 +07:00
tsconfig.json git commit -m "first commit" 2024-10-01 14:26:05 +07:00
tsconfig.node.json git commit -m "first commit" 2024-10-01 14:26:05 +07:00
vite.config.ts feat: setup apps 2024-10-01 14:56:15 +07: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 tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})