1
2
Fork
You've already forked webapp
0
No description
  • TypeScript 99%
  • HTML 0.8%
  • Dockerfile 0.2%
Bora M. Alper 959781590d
All checks were successful
ci/woodpecker/push/main Pipeline was successful
Switch to pnpm, Oxlint, and Oxfmt ( #14 )
Reviewed-on: #14 
2026年06月02日 10:39:44 +02:00
.woodpecker Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
src Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
.gitignore Initialise an empty react-ts Vite app 2026年03月02日 23:10:57 +00:00
AGENTS.md Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
Caddyfile Add "root" argument to the "file_server" directive 2026年03月19日 23:26:35 +00:00
Dockerfile Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
index.html Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
package.json Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
pnpm-lock.yaml Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
pnpm-workspace.yaml Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
README.md Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
tsconfig.app.json wip 2026年03月08日 08:36:32 +00:00
tsconfig.json Switch to pnpm, Oxlint, and Oxfmt ( #14 ) 2026年06月02日 10:39:44 +02:00
tsconfig.node.json wip 2026年03月08日 08:36:32 +00:00
vite.config.ts ci and clean up 2026年03月14日 23:22:35 +00: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...
 },
 },
]);