@liquify/prettier-config
v1.2.1
Published
Sharable Prettier config consumed within the Liquify monorepo workspace.
Downloads
21
Maintainers
Readme
@brixtol/prettier-config
An shareable config for Prettier consumed by Liquify and various projects contained within the monorepo workspace.
Install
pnpm add prettier @liquify/prettier-config -D
Prettier is an
peerDependency
so you will need to install it within your project.
Usage
We extend configuration from within package.json
files.
{
"prettier": "@liquify/prettier-config"
}
Ignored Files
Prettier is not leveraged for various file types because it is extremely opinionated and conflicts with my code styles, especially that found in JavaScript and TypeScript based projects. In almost all packages within the monorepo a .prettierignore
file is included to prevent prettier from wreaking havoc in the development workspace. Below is standard ignores asserted:
_.toml
_.mjs
_.js
_.ts
_.css
_.scss
_.liquid
_.html