tanchaowen84/GameSiteTemplate
Cursor rule Cursor
// Example eslint.config.js import globals from "globals"; import tseslint from "typescript-eslint"; import react from "eslint-plugin-react"; import reactHooks from "eslint-plugin-react-hooks"; import jsxA11y from "eslint-plugin-jsx-a11y"; import nextPlugin from "@next/eslint-plugin-next"; // If using the plugin…
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
// Concise if (condition) doSomething().
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
Cursor rule "i18n-guidelines" from tanchaowen84/GameSiteTemplate, covering i18n (internationalization) guidelines (using next-intl), core principles, versioning & installation, configuration & setup and usage.
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
(Refer to General Coding Style Guidelines for broader project conventions.).
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
A React Hydration Mismatch error occurs in Next.js (and other server-rendering React frameworks) when the HTML structure rendered by the server does not exactly match the HTML structure that the client-side React expects to render during the initial client render (hydration process).
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
In Next.js 15 and later versions, several dynamic APIs that provide request-specific information have become asynchronous. This is a crucial change from previous versions where these APIs could be accessed synchronously.
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
(Refer to TypeScript Guidelines for type-specific rules and General Coding Style Guidelines for broader conventions.).
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
Cursor rule "shadcn-ui-guidelines" from tanchaowen84/GameSiteTemplate, covering shadcn ui guidelines, core philosophy, installation & setup, configuration (components.json) and usage.
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
Cursor rule "tailwind-css-guidelines" from tanchaowen84/GameSiteTemplate, covering tailwind css guidelines, core principles, configuration (tailwind.config.js or tailwind.config.ts), next.js integration and best practices.
tanchaowen84/GameSiteTemplate
Cursor rule Cursor
Cursor rule "typescript-guidelines" from tanchaowen84/GameSiteTemplate, covering typescript guidelines, core principles, configuration (tsconfig.json), type system usage and jsx/tsx specifics.