Socket
Book a DemoInstallSign in
Socket

@mlaursen/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mlaursen/prettier-config

The reusable prettier config I normally use for repos

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

prettier-config

My main prettier config.

Installation

pnpm add -D @mlaursen/prettier-config prettier

Next, create a .prettierrc.yaml file so nvim formats the repo:

echo '"@mlaursen/eslint-config"' > .prettierrc.yaml

Finally, create a .prettierignore file with whatever:

cat > .prettierignore << EOF
pnpm*.yaml
node_modules
coverage/

CHANGELOG.md

.next
EOF

Extending

The default importOrder is:

importOrder:
  - "<THIRD_PARTY_MODULES>"
  - "^@/(.*)$"
  - "^[./]"

Just modify as needed in the .prettierrc.yaml

Keywords

prettier

FAQs

Package last updated on 08 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts