open-index/open-npm huggingface dataset:
npm package: @m-social/prettier-config-base
Description: Base Prettier config used internally at M-Social
Author: M-Social production agency
Latest version: 0.4.0
Deprecated: Use @m-social/prettier-config instead

# @m-social/prettier-config-base

Internal prettier config used at [M-Social](https://msocialproduction.com)

## Installation

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

```sh
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:

- [`@m-social/prettier-config-svelte`](https://www.npmjs.com/@m-social/prettier-config-svelte) for Svelte projects
- [`@m-social/prettier-config-react`](https://www.npmjs.com/@m-social/prettier-config-react) for React projects

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:

  ```js
  import config from "@m-social/prettier-config-base";

  export default config;
  ```

Find more info about using Prettier config [here](https://prettier.io/docs/sharing-configurations#using-a-shareable-config).