@hz-9/prettier-config
Less than 1 minute
@hz-9/prettier-config
A prettier config for 'hz-9'.
Installation
To install the @hz-9/prettier-config
package, run the following command:
npm install @hz-9/prettier-config --save-dev
Usage
To use this configuration, add the following code to your .prettierrc.js
file:
const prettierConfig = require('@hz-9/prettier-config')
module.exports = prettierConfig
After that, you can run the formatting command to adjust the file format:
prettier --write .
All Rules
Name | Description |
---|---|
index | Default configuration |
service-common | Default rules for the server |
service-sort-imports | Default rules for the server + rules for sorting imports |