3.0.0 • Published 7 months ago
@sureshraj/prettier-config v3.0.0
prettier-config
Shared Prettier config for my projects.
Install
npm install -D @sureshraj/prettier-configUsage
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,
};