0.4.0 • Published 9 months ago

@m-social/prettier-config-base v0.4.0

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

@m-social/prettier-config-base

Internal prettier config used at M-Social

Installation

Install the package via pnpm (or use any other package manager):

pnpm i -D @m-social/prettier-config-base

Also don't forget to install prettier peer dependency

Usage

Often this config should not be used directly. Instead, more specific configs should be used:

If you still need to use this config, there are three ways to do it:

  • add "prettier": "@m-social/prettier-config-base" to your package.json
  • create .prettierrc.json file with "@m-social/prettier-config-base" string in it
  • create .prettierrc.mjs and re-export @m-social/prettier-config-base from it:

    import config from "@m-social/prettier-config-base";
    
    export default config;

Find more info about using Prettier config here.

0.4.0

9 months ago