見てるぞ
Find a file
polwex 78cc1b95bb
Some checks failed
ci/woodpecker/push/job Pipeline failed
surrender
2026-04-19 08:51:24 +07:00
.woodpecker surrender 2026-04-19 08:51:24 +07:00
nix surrender 2026-04-19 08:51:24 +07:00
scripts surrender 2026-04-19 08:51:24 +07:00
server server for auth, more goodies 2026-04-19 00:54:39 +07:00
src server for auth, more goodies 2026-04-19 00:54:39 +07:00
.codex full ci-cd pipeline built on bun2nix 2026-04-19 00:54:56 +07:00
.gitignore full ci-cd pipeline built on bun2nix 2026-04-19 00:54:56 +07:00
AGENTS.md m 2026-04-19 04:33:19 +07:00
bun.lock full ci-cd pipeline built on bun2nix 2026-04-19 00:54:56 +07:00
bun.nix full ci-cd pipeline built on bun2nix 2026-04-19 00:54:56 +07:00
devenv.lock missiles 2026-03-25 23:24:54 +09:00
devenv.nix missiles 2026-03-25 23:24:54 +09:00
devenv.yaml missiles 2026-03-25 23:24:54 +09:00
eslint.config.js init 2026-03-24 16:12:30 +07:00
flake.lock full ci-cd pipeline built on bun2nix 2026-04-19 00:54:56 +07:00
flake.nix m 2026-04-19 04:33:19 +07:00
index.html checkpoint 2026-04-18 22:04:32 +07:00
lol.lmao 1 2026-04-19 08:40:52 +07:00
package.json full ci-cd pipeline built on bun2nix 2026-04-19 00:54:56 +07:00
README.md init 2026-03-24 16:12:30 +07:00
server.ts server for auth, more goodies 2026-04-19 00:54:39 +07:00
tsconfig.app.json added server, db, auth system 2026-04-06 22:11:34 +09:00
tsconfig.json added server, db, auth system 2026-04-06 22:11:34 +09:00
tsconfig.server.json added server, db, auth system 2026-04-06 22:11:34 +09: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:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // 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,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

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 defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])