@sureshraj/prettier-config
v2.0.0
Published
Shared Prettier config for my projects
Downloads
17
Readme
prettier-config
Shared Prettier config for my projects.
Install
npm install -D @sureshraj/prettier-config
Usage
A prettier
key in your package.json
file.
{
"prettier": "@sureshraj/prettier-config"
}
OR
Use the prettier.config.js
file if you need to extend
the configuration to overwrite some properties from
the shared configuration. Refer to the official guide
for more information.
// prettier.config.js
const sharedConfig = require('@sureshraj/prettier-config');
module.exports = {
...sharedConfig,
semi: false,
};