No description
Find a file
Yumeo d937ff9c41
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m9s
chore: update dependencies
2025-08-26 22:13:55 +02:00
.forgejo/workflows chore: update dependencies 2025-08-26 22:13:55 +02:00
public/glorps Add more characters 2025-05-01 18:28:09 +02:00
src Add forgejo workflow 2025-05-22 17:24:49 +02:00
.dockerignore chore: update dependencies 2025-08-16 16:28:53 +02:00
.gitignore Initial Commit 2025-04-30 22:44:54 +02:00
biome.json chore: update dependencies 2025-08-16 16:28:53 +02:00
bun.lock chore: update dependencies 2025-08-26 22:13:55 +02:00
Dockerfile Update dependencies and switch to bun 2025-06-19 20:17:57 +02:00
index.html Add favicon 2025-05-01 00:29:42 +02:00
package.json chore: update dependencies 2025-08-26 22:13:55 +02:00
README.md Initial Commit 2025-04-30 22:44:54 +02:00
renovate.json Add renovate.json 2025-05-28 10:55:04 +00:00
tsconfig.app.json Initial Commit 2025-04-30 22:44:54 +02:00
tsconfig.json Initial Commit 2025-04-30 22:44:54 +02:00
tsconfig.node.json Initial Commit 2025-04-30 22:44:54 +02:00
vite.config.ts Add allowed hosts 2025-05-01 00:18:27 +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:

export default tseslint.config({
  extends: [
    // Remove ...tseslint.configs.recommended and replace with this
    ...tseslint.configs.recommendedTypeChecked,
    // Alternatively, use this for stricter rules
    ...tseslint.configs.strictTypeChecked,
    // Optionally, add this for stylistic rules
    ...tseslint.configs.stylisticTypeChecked,
  ],
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
  plugins: {
    // Add the react-x and react-dom plugins
    'react-x': reactX,
    'react-dom': reactDom,
  },
  rules: {
    // other rules...
    // Enable its recommended typescript rules
    ...reactX.configs['recommended-typescript'].rules,
    ...reactDom.configs.recommended.rules,
  },
})