1.0.2 • Published 3 years ago

eslint-config-antoine v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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):

  1. Update your ESLint to v9:

    npm install --save-dev eslint@^9.0.0
  2. Replace your .eslintrc.js with a new eslint.config.js:

    import antoine from "eslint-config-antoine";
    
    export default [
      ...antoine,
      // Your additional rules here...
    ];
  3. Make sure your package.json has "type": "module" if you're using import/export syntax.

3.0.0

1 year ago

1.0.14

2 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago