Package Suite
ESLint Config
Opinionated ESLint configuration with framework support and zero-config setup
Prettier Config
Modular Prettier configuration with smart import sorting and Tailwind support
TSConfig
TypeScript configuration presets for apps, libraries, and monorepos
Comparison
| Feature | ESLint Config | Prettier Config | TSConfig |
|---|---|---|---|
| Purpose | Code quality & best practices | Code formatting & style | TypeScript compiler settings |
| Setup Complexity | One-line or interactive CLI | One-line factory function | Single extend reference |
| Framework Support | React, Vue, Svelte, Astro, Solid | Astro | Next.js |
| Customization | Highly configurable options | Modular factory system | Extend and override |
| Node Version | Node.js v20+ | Node.js v18+ | Any |
| Config Format | ESLint Flat Config | Prettier v3 | JSON extends |
Quick Start
All Packages
ESLint Setup
eslint.config.js
Prettier Setup
prettier.config.js
TypeScript Setup
tsconfig.json
Why Use These Packages Together?
Consistent Code Quality
Consistent Code Quality
ESLint enforces best practices and catches bugs, Prettier ensures uniform formatting, and TSConfig provides type safety—all working in harmony.
Zero Config to Fully Custom
Zero Config to Fully Custom
Start with sensible defaults and customize only what you need. Each package offers granular control when required.
Framework Agnostic
Framework Agnostic
Whether you’re building with React, Vue, Svelte, or vanilla TypeScript, these packages adapt to your stack.
Modern Standards
Modern Standards
Built for ESLint v9+ Flat Config, Prettier v3, and modern TypeScript features.
Package Details
@zayne-labs/eslint-config
Latest Version: 0.11.30 Key Features:- Interactive CLI for guided setup
- Support for TypeScript, JSX, Vue, JSON, YAML, TOML, Markdown
- Framework plugins: React, Vue, Svelte, Astro, Solid
- Respects
.gitignoreby default - Type-aware linting rules
@zayne-labs/prettier-config
Latest Version: 0.11.30 Key Features:- Modular factory for selective feature enabling
- Smart import sorting by “distance”
- Tailwind CSS v4 support with class sorting
- Auto-installation of optional plugins
- Deduplicated configuration merging
@zayne-labs/tsconfig
Latest Version: 0.11.30 Key Features:- Presets for apps, libraries, and monorepos
- Separate configs for DOM and non-DOM environments
- TSC and bundler variants
- Based on Matt Pocock’s TSConfig Cheat Sheet
- Next.js-specific configuration
Integration Example
Here’s a complete setup for a React TypeScript application:package.json
eslint.config.js
prettier.config.js
tsconfig.json
Support & Contributing
All three packages are open source and maintained by Zayne Labs.Report Issues
Found a bug or have a feature request?
View Source
Explore the codebase and contribute
These packages follow semantic versioning with config-specific considerations. Rule changes are considered non-breaking, while changes to setup or major behavior are breaking changes.
