tanchaowen84

10 mods across 1 repository, 7 stars between them.

eslint-guidelines

01

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…

7 1y ago A 1,397 tokens

i18n-guidelines

03

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.

7 1y ago A 3,548 tokens

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).

7 1y ago A 1,242 tokens

nextjs15-async-apis

06

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.

7 1y ago A 1,147 tokens

react-guidelines

07

tanchaowen84/GameSiteTemplate

Cursor rule Cursor

(Refer to TypeScript Guidelines for type-specific rules and General Coding Style Guidelines for broader conventions.).

7 1y ago A 1,114 tokens

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.

7 1y ago A 1,111 tokens

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.

7 1y ago A 1,258 tokens

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.

7 1y ago A 1,219 tokens