This package contains the standard ESlint configuration used on all hedgehog lab projects, both internally and for our clients. It contains
This package is meant to be used with eslint configs using the new ESlint flat config format.
Note
This package contains basic rules, and nothing framework specific. Please pull in the framework specific configs alongside this one as needed.
Add the config to your project dependencies:
yarn add -D @hedgehoglab/eslint-config-basic
or
pnpm add -D @hedgehoglab/eslint-config-basic
or
npm install -D @hedgehoglab/eslint-config-basic
Add the config to your eslint.config.js
:
import hedgehogLabBasic from '@hedgehoglab/eslint-config-basic';
export default [
hedgehogLabBasic,
// ...any other config objects
];
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.