Skip to content

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

hedgehog lab logo

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