Logicer's Prettier Base Configuration
Logicer's Prettier configuration for use in other projects. Able to be built upon for the project's specific needs.
Install
npm install --save-dev --save-exact prettier
npm install --save-dev @logicer/prettier-config
Usage
In any valid Prettier config file, make its sole export the string:
"@logicer/prettier-config"
You can also extend upon the configuration by adding importing it into a .prettierrc.js
file. For example:
import logicerPrettierConfig from "@logicer/prettier-config";
export default {
...logicerPrettierConfig,
// ... Your modifications
};
Additionally, an accompanying recommended .editorconfig
file is available here