@hedgehoglab/prettier-config
v2.0.1
Published
Prettier config rules for the hedgehog lab org
Downloads
1,459
Readme
@hedgehoglab/prettier-config
This package contains the standard ESlint configuration used on all hedgehog lab projects, both internally and for our clients.
Usage
Add the config to your project dependencies:
yarn add -D @hedgehoglab/prettier-config
or
pnpm add -D @hedgehoglab/prettier-config
or
npm install -D @hedgehoglab/prettier-config
Add the config to your .prettierrc.js
:
import hedgehogLab from '@hedgehoglab/prettier-config';
export default hedgehogLab;
To override any rules locally:
import hedgehogLab from '@hedgehoglab/prettier-config';
export default {
...hedgehogLab,
semi: false,
// ...other config overrides
};
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.