eslint-config-anan
v1.0.6
Published
Custom ESLint stylistic rules for my projects
Maintainers
Readme
eslint-config-anan
A shareable ESLint flat config with my preferred stylistic rules, React, TypeScript, and hooks best practices.
This package lets you enforce a consistent code style across your projects.
Installation
Install the package along with ESLint:
npm install --save-dev eslint eslint-config-anan
## Usage
Create an `eslint.config.js` file in the root of your project:
```js
import eslintConfigAnan from "eslint-config-anan";
export default [
...eslintConfigAnan,
{
files: ["**/*.{ts,tsx}"],
rules: {
// You can add project-specific overrides here
},
},
];