2.0.1 • Published 10 months ago
@ottogroup/prettier-config-ui5 v2.0.1
Shareable prettier configuration for our UI5 projects
Option | Value |
---|---|
tabWidth | 4 |
trailingComma | "all" |
Install
Install prettier, the official prettier XML plugin and our config as a dev dependency.
npm i -D prettier @prettier/plugin-xml @ottogroup/prettier-config-ui5
Usage
Add the following property to your package.json
"prettier": "@ottogroup/prettier-config-ui5",
Extend
This config can be extended in your project. Instructions can be found here.
A list of all options can be found here.