Introduction
A zero-configuration style guide for ESLint and Prettier
JS Style Kit
A comprehensive, batteries-included linting and formatting solution for modern JavaScript and TypeScript projects.
Features
All-in-One Solution
All dependencies included (ESLint, Prettier, plugins) - no need to install extras
Modern ESLint
ESLint v9 flat config with modern best practices
TypeScript Support
TypeScript support out of the box with configurable options
React Support
Optional React and React Compiler support
JSDoc Validation
JSDoc validation with configurable requirements for libraries
Code Organization
Automatic import, prop, and object sorting with Perfectionist
Tailwind Support
Tailwind CSS support for Prettier formatting
Modern Package
Modern ESM-only package with Node.js v20+ support
Why Use JS Style Kit?
JS Style Kit eliminates the need to manage dozens of ESLint and Prettier plugins and configurations. It provides a comprehensive, zero-configuration solution with sensible defaults that work well for most projects. At the same time, it offers flexible configuration options for teams with specific needs.
Key benefits:
- Zero configuration - Works out of the box with smart defaults
- Complete solution - Combines ESLint, Prettier, and TypeScript configurations
- Modern practices - Uses the latest ESLint flat config format and modern rules
- Customizable - Sensible defaults with flexible configuration options
- Production tested - Actively used in real-world projects
Project Status
JS Style Kit is currently in beta. The core ESLint and Prettier configurations are stable and well-tested, but the CLI tool is still under development and best suited for new projects.
Requirements
- Node.js v20.11.0 or higher
- TypeScript (for TypeScript projects, not bundled)