🎯 A collection of modern ESLint flat config presets for various JavaScript/TypeScript environments.
This monorepo contains the following packages:
- 🔧 @wonse/eslint-common - Common ESLint rules shared across all presets
- ⚡️ @wonse/eslint-js - ESLint preset for JavaScript projects
- 🚀 @wonse/eslint-next - ESLint preset for Next.js projects
- ⚛️ @wonse/eslint-react - ESLint preset for React projects
- 🎵 @wonse/eslint-remix - ESLint preset for Remix projects
Choose the appropriate preset for your project:
# For JavaScript projects
npm install -D @wonse/eslint-js
# For Next.js projects
npm install -D @wonse/eslint-next
# For React projects
npm install -D @wonse/eslint-react
# For Remix projects
npm install -D @wonse/eslint-remix
// eslint.config.js
import js from "@wonse/eslint-js";
// or
import next from "@wonse/eslint-next";
// or
import react from "@wonse/eslint-react";
// or
import remix from "@wonse/eslint-remix";
export default js(); // or next() or react() or remix();
packages/
├── common/ # Common ESLint rules
├── js/ # JavaScript preset
├── next/ # Next.js preset
├── react/ # React preset
└── remix/ # Remix preset
This project uses:
- 📦 pnpm for package management
- 🏃 Turborepo for build system
- 📘 TypeScript for development
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT
wonse