@hedgehoglab/eslint-config-react
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

hedgehog lab logo

@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.

Package Sidebar

Install

npm i @hedgehoglab/eslint-config-react

Weekly Downloads

331

Version

2.0.1

License

ISC

Unpacked Size

3.62 kB

Total Files

6

Last publish

Collaborators

  • samturrell
  • bethehedgehog
  • hogfather