Package Exports
- @electerious/prettier-config
- @electerious/prettier-config/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@electerious/prettier-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Prettier configuration
Shareable Prettier configuration for my personal projects.
Install
Install this package. It already includes Prettier and the necessary plugins.
npm install --save-dev @electerious/prettier-config
Usage
Create a file named .prettierrc.js
with following contents in the root folder of your project:
module.exports = {
...require('@electerious/prettier-config'),
}
That's it! You can override the settings by editing the .prettierrc.js
file.