@nake/prettier-config
v1.0.1
Published
Shareable prettier configuration used by nake applications
Downloads
2
Readme
@nake/prettier-config
Shareable prettier configuration used by nake applications
Installation
Use npx to install peerdeps automatically or install peerDependencies with npm/yarn manually.
# Install with npx
$ npx install-peerdeps --dev @nake/prettier-config
# Install with yarn
$ yarn add --dev prettier @nake/prettier-config
Usage
Reference it in your package.json
:
{
"name": "nake-project",
"version": "1.0.0",
"prettier": "@nake/prettier-config"
}
You can override configs aflter require module in prettier.config.js
.
const prettierConfig = require('@nake/prettier-config');
module.exports = {
...prettierConfig,
// Override with your configs here, e.g. printWidth: 80
};
License
MIT