Usage
This guide explains how to use the package with ESLint versions 8 and 9, detailing specific configurations for each. 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 of @nish1896/eslint-flat-config and version 3 of @nish1896/eslint-config, both packages have 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.
Both packages contain the same set of rules.
Example applications that utilize the eslint
and eslint-flat-config
can be viewed here.