0.1.2 • Published 2 years ago
@avolantis/prettier-config v0.1.2
@avolantis/prettier-config
Shared prettier configuration for Avolantis code style
Install
At least version 2.6.1
but lower than 3.0.0
of
prettier is required.
pnpm add -D prettier @avolantis/prettier-config
Use
-WD
instead of-D
in a monorepo and install to the workspace root
Then in your (workspace root) package.json
:
{
"prettier": "@avolantis/prettier-config"
}
Supported file formats (extensions)
- js, mjs, cjs, jsx
- ts, d.ts, tsx
- md, mdx
- vue, html, xml, svg
- css, scss, sass
- json, json5, yml, yaml
Or as a glob pattern: \
{**/*,*}.{js,mjs,cjs,jsx,ts,tsx,md,mdx,vue,html,xml,svg,css,scss,sass,json,json5,yml,yaml}