@pimred/fmt
v0.4.0
Published
A StandardJS-default fork wrapper of oxfmt
Maintainers
Readme
@pimred/fmt
@pimred/fmt is a fork-style wrapper around oxfmt that keeps the same behavior and performance but changes the default formatting style to StandardJS preferences.
Default differences from oxfmt
semi: falsesingleQuote: truetrailingComma: 'none'
These are treated as defaults only. Any values in your .oxfmtrc.json or .oxfmtrc.jsonc still take precedence.
Install
npm install -g @pimred/fmtUsage
whfmtThe CLI accepts the same arguments as oxfmt.
Publish to npm
Use this flow to publish a new version:
# 1) make sure tests pass
npm test
# 2) bump version and create a git tag
npm version patch # or minor / major
# 3) publish to npm
npm publish