@ferfalk/prettier-config
v1.1.0
Published
Shared Prettier configuration
Downloads
13
Maintainers
Readme
@ferfalk/prettier-config
Shared Prettier configuration.
Installation
npm install --save-dev @ferfalk/prettier-config
Usage
Add the prettier property on package.json:
{
"prettier": "@ferfalk/prettier-config"
}
Or
Create a .prettierrc file with a string:
"@ferfalk/prettier-config"
Or
To extend the configuration, create a .prettierrc.js file:
import config from '@ferfalk/prettier-config';
export default {
...config,
singleQuote: false,
};