@foray1010/prettier-config

11.0.1 • Public • Published

@foray1010/prettier-config

Installation

  1. yarn add -DE @foray1010/prettier-config prettier

  2. Create an .prettierrc.mjs in the project root

    export { default } from '@foray1010/prettier-config'
  3. Use default prettierignore via npm script

    {
      "scripts": {
        "prettier": "prettier --ignore-path=node_modules/@foray1010/prettier-config/prettierignore"
      }
    }

    then use npm run prettier or yarn prettier to replace prettier

Readme

Keywords

none

Package Sidebar

Install

npm i @foray1010/prettier-config

Weekly Downloads

109

Version

11.0.1

License

MIT

Unpacked Size

13.4 kB

Total Files

7

Last publish

Collaborators

  • foray1010