Open eidottermihi opened 2 months ago
@eidottermihi is there a config possibility to config prettier? (I would prefer __Contributions__
befor **Contributions**
)
Prettier itself is very "opinionated" and therefore only has a handful options, for those we are using the it@M default config defined in https://github.com/it-at-m/itm-prettier-codeformat/blob/main/src/index.json
For __Contributions__
vs **Contributions**
- i think this cannot be configured as there is no option for this: https://prettier.io/docs/en/options
We could add prettier as devDependency to ensure proper formatting, e.g. including a
prettier --check
on build time.This would need some more docs for developers/contributors on how to:
npm run prettier:format
before committing)