3.0.0 • Published 4 months ago
eslint-config-antoine v3.0.0
eslint-config-antoine
ESLint configurations for React/TypeScript projects using ESLint v9.
Installation
npm install --save-dev eslint@latest prettier@latest eslint-config-antoine@latest
Usage
Create an eslint.config.js
file in your project root:
import antoine from "eslint-config-antoine";
export default [
...antoine,
// Your additional rules here...
];
Features
- 🎯 TypeScript and React best practices
- 🎨 Prettier integration
- ⚡️ Zero config setup
- 🔄 Auto-detects React version
- 🚀 Fully supports ESLint v9 flat config
Migration from v1.x
If you're migrating from v1.x (ESLint v8):
Update your ESLint to v9:
npm install --save-dev eslint@^9.0.0
Replace your
.eslintrc.js
with a neweslint.config.js
:import antoine from "eslint-config-antoine"; export default [ ...antoine, // Your additional rules here... ];
Make sure your package.json has "type": "module" if you're using import/export syntax.