-
yarn add -DE @foray1010/prettier-config prettier
-
Create an
.prettierrc.mjs
in the project rootexport { default } from '@foray1010/prettier-config'
-
Use default prettierignore via npm script
{ "scripts": { "prettier": "prettier --ignore-path=node_modules/@foray1010/prettier-config/prettierignore" } }
then use
npm run prettier
oryarn prettier
to replaceprettier
prettier-config
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||