@mlaursen/prettier-config
v0.0.3
Published
The reusable prettier config I normally use for repos
Downloads
3
Readme
prettier-config
My main prettier config.
Installation
pnpm add -D @mlaursen/prettier-config prettierNext, create a .prettierrc.yaml file so nvim formats the repo:
echo '"@mlaursen/eslint-config"' > .prettierrc.yamlFinally, create a .prettierignore file with whatever:
cat > .prettierignore << EOF
pnpm*.yaml
node_modules
coverage/
CHANGELOG.md
.next
EOFExtending
The default importOrder is:
importOrder:
- "<THIRD_PARTY_MODULES>"
- "^@/(.*)$"
- "^[./]"Just modify as needed in the .prettierrc.yaml
