prettier-config-laozhu
Shareable prettier configuration used by laozhu
Installation
Use npx to install peerdeps automatically or install peerDependencies with npm/yarn manually.
# Install with npx $ npx install-peerdeps --dev prettier-config-laozhu # Install with yarn $ yarn add --dev prettier prettier-config-laozhu
Usage
Reference it in your package.json
:
You can override configs after require module in prettier.config.js
.
const prettierConfig = ; moduleexports = ...prettierConfig // Override with your configs here, e.g. printWidth: 120;
License
MIT License