No description
  • TypeScript 94%
  • JavaScript 3.1%
  • CSS 2.1%
  • HTML 0.8%
Find a file
2025-02-25 09:27:29 +01:00
public feat: icon and name 2024-10-21 19:51:31 +02:00
src fix: build 2025-02-25 09:27:29 +01:00
.gitignore first commit 2024-10-10 08:05:53 +02:00
eslint.config.js first commit 2024-10-10 08:05:53 +02:00
index.html feat: icon and name 2024-10-21 19:51:31 +02:00
package-lock.json feat: start notify + perms 2024-10-17 17:58:02 +02:00
package.json feat: start notify + perms 2024-10-17 17:58:02 +02:00
README.md first commit 2024-10-10 08:05:53 +02:00
tailwind.config.js feat: update things 2024-10-13 16:24:35 +02:00
tsconfig.app.json first commit 2024-10-10 08:05:53 +02:00
tsconfig.json first commit 2024-10-10 08:05:53 +02:00
tsconfig.node.json first commit 2024-10-10 08:05:53 +02:00
vite.config.ts first commit 2024-10-10 08:05:53 +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 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,
  },
})