🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@wglfam/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wglfam/prettier-config

Prettier config for wglfam projects

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

Prettier Config

npm build code style: prettier

Prettier config for wglfam projects.

Usage

# install
pnpm i -D prettier @wglfam/prettier-config

# add to package.json
jq '.prettier = "@wglfam/prettier-config"' package.json | sponge package.json

Testing locally

You can test an updated eslint config locally by linking the module globally:

# from prettier-config directory
pnpm link

# from project directory
pnpm link @wglfam/prettier-config

Publishing a new version

Follow semver. Adding, removing, or updating a rule is a breaking change and requires a new major version.

git commit <current stuff>
pnpm version major|minor|patch
git push
git push --tags
pnpm login
pnpm publish

Keywords

prettier

FAQs

Package last updated on 20 Aug 2021

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