npm i package.json
Personal shareable prettier configurations.
NB: save exact needed!
Available options:
- preferred
- preferred-editorconfig (default)
- spiced-teaching
- spiced-teaching-editorconfig
- spiced-internal
- spiced-internal-editorconfig
editorconfig ignores the
Usage Install:
$ yarn add --dev @azz/prettier-config Edit package.json:
{ // ... "prettier": "@azz/prettier-config" }n
https://prettier.io/docs/en/options.html
Or export a string:
With overrides:
module.exports = { ...require("@company/prettier-config"), semi: false, };
To exclude files from formatting, create a .prettierignore file in the root of your project. .prettierignore uses gitignore syntax.
This is geared towards my personal use. Fork the repo and adapt the the content of the templates to your liking.
Temporary dir is used to build -editorconfig versions of the packages
- add directory
- templates handlebars sytle ({{}})