0.0.2 • Published 2 years ago

@maplero/prettier-config v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@maplero/prettier-config

eslint config used by react app in Maple

Usage

npm install @maplero/prettier-config -D
pnpm install @maplero/prettier-config -D
yarn add @maplero/prettier-config -D

method1

add prettier field in package.json

{
  "prettier": "@maplero/prettier-config"
}

method2

create .prettierrc.js with next content

module.exports = {
  ...require("@maplero/prettier-config"),
};