typescript-style
Installation
SKILL.md
TypeScript style – kickstart-next
When to use
- You are changing tsconfig.json or eslint.config.mjs.
- You are adding or adjusting TypeScript types for Contentstack entries or Live Preview field metadata.
Instructions
Compiler options
- tsconfig.json:
strictis true,noEmittrue,moduleResolutionbundler,jsxreact-jsx,pathsincludes@/*→./*. - Include patterns cover
**/*.ts,**/*.tsx, and Next-generated types under.next.
ESLint
- eslint.config.mjs composes
eslint-config-nextcore-web-vitals and typescript presets. @typescript-eslint/no-explicit-anyis explicitly set to off; avoid introducinganywithout reason, but the project does not fail lint on it.