A `prettier` plugin for DBML
npm install prettier-plugin-dbmlA [prettier] plugin for [DBML].
[prettier]: https://prettier.io/
[dbml]: https://www.dbml.org/
[![npm][npm-badge]][npm-url]
[![github][github-badge]][github-url]
![node][node-badge]
[npm-url]: https://www.npmjs.com/package/prettier-plugin-dbml
[npm-badge]: https://img.shields.io/npm/v/prettier-plugin-dbml.svg?style=flat-square&logo=npm
[github-url]: https://github.com/nice-move/prettier-plugin-dbml
[github-badge]: https://img.shields.io/npm/l/prettier-plugin-dbml.svg?style=flat-square&colorB=blue&logo=github
[node-badge]: https://img.shields.io/node/v/prettier-plugin-dbml.svg?style=flat-square&colorB=green&logo=node.js
``bash`
npm install prettier-plugin-dbml --save-dev
`sh``
prettier --write *.dbml
- All String can't include single quotes
- Table alias will be transformed to Table name
- Comments will be removed
- See: https://github.com/holistics/dbml/issues/285
- @nice-move/prettier-config
- @nice-move/prettier-plugin-package-json
- @nice-move/prettier-plugin-ssh-config