What problem does it solve?
This Skill provides a ready-to-use, standards-based TypeScript/JavaScript formatter and linter configuration guide to ensure consistent code style and quality across projects, especially when a project lacks local config files.
Core Features & Use Cases
- Prettier-based formatting defaults that work for TS/JS projects with sensible options and minimal setup.
- ESLint recommendations and modern flat config support (eslint.config.mjs/js) plus compatibility with legacy .eslintrc.json.
- VSCode integration guidance and Lefthook pre-commit workflow to enforce formatting and linting before commits.
Quick Start
Install the recommended tooling if no project-specific config exists: npm install --save-dev prettier eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-prettier; add eslint.config.mjs/js and .prettierrc.json with the provided defaults; set up VSCode to format on save using the Prettier extension; and run lint/format scripts as needed.