React-TS Rules
- Use TypeScript 4.9+ strict mode.
- Follow React 18 functional components + hooks only.
- Use Redux-Toolkit for state, React-Router v6 for routing.
- CSS Modules + PostCSS (preset-env, autoprefixer). No Tailwind.
- Run
yarn lint
(tsc + eslint + stylelint) before every commit.
- Prefer named exports; barrel-indexes via
index.ts
.
- No
console.log
in production code (no-console: 2
).