0.0.2 • Published 4 years ago
@maplero/prettier-config v0.0.2
@maplero/prettier-config
eslint config used by react app in Maple
Usage
npm install @maplero/prettier-config -Dpnpm install @maplero/prettier-config -Dyarn add @maplero/prettier-config -Dmethod1
add prettier field in package.json
{
"prettier": "@maplero/prettier-config"
}method2
create .prettierrc.js with next content
module.exports = {
...require("@maplero/prettier-config"),
};