Usage
This guide explains how to use the package with ESLint version 9 and above. It provides module imports tailored for Node.js, React, Vite or Next.js applications, ensuring compatibility and streamlined integration for diverse project environments.
Starting from version 2, this package has been modularized into the following independent components, enabling developers to apply rules specific to their framework and whether their project uses TypeScript:
js
: Eslint and stylistic rules for javascriptts
: TypeScript-specific rules, including stylistic and typescript-eslintjsx
: Rules for React, React Hooks, JSX A11y, and stylistic JSXnext
: Includes additional JSX rules along with the ones fromeslint-plugin-next
packagenext-ts
: Typescript-eslint and Stylistic-ts rules tailored for Next.js apps.
Example applications that utilize the eslint-flat-config
can be viewed here.