@hedgehoglab/eslint-config-react
v2.0.1
Published
React eslint config rules for the hedgehog lab org
Downloads
1,524
Readme
@hedgehoglab/eslint-config-react
This package contains the standard ESlint configuration used on all hedgehog lab projects, both internally and for our clients.
This package is meant to be used with eslint configs using the new ESlint flat config format.
[!NOTE]
This package contains React-specific rules, and not the basic rules. Please pull in the basic config alongside this one as needed.
Usage
Add the config to your project dependencies:
yarn add -D @hedgehoglab/eslint-config-react
or
pnpm add -D @hedgehoglab/eslint-config-react
or
npm install -D @hedgehoglab/eslint-config-react
Add the config to your eslint.config.js
:
import hedgehogLabReact from '@hedgehoglab/eslint-config-react';
export default [
hedgehogLabReact,
// ...any other config objects
];
Contributing
If you disagree with any rules in this linter, or feel additional rules should be added, please open an issue on this project to initiate an open dialogue with all team members.
Please bear in mind this is a public repository, and all contributions follow the project Code of Conduct.
For instructions on how to contribute code to this project, please see the CONTRIBUTING.md.