@liquify/prettier-config

1.2.1 • Public • Published

@brixtol/prettier-config

An shareable config for Prettier consumed by Liquify and various projects contained within the monorepo workspace.

Install

pnpm

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

Related

License

MIT

/@liquify/prettier-config/

    Package Sidebar

    Install

    npm i @liquify/prettier-config

    Weekly Downloads

    21

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    5.08 kB

    Total Files

    5

    Last publish

    Collaborators

    • sissel