3.0.3 • Published 5 months ago

@nx-pkg/prettierrc v3.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Nxpkg Prettier Config

npm downloads build code style: prettier

Prettier config for projects at Nxpkg.

Usage

npm install --save-dev @nx-pkg/prettierrc

Then add this prettier.config.js to the project:

module.exports = require('@nx-pkg/prettierrc')

Making changes

npm link
cd <project>
npm link @nx-pkg/prettierrc
npm run prettier

Publish a new version

Follow semver. Changing or adding a rule is a breaking change and requires a new major version.

npm version major|minor|patch
git push
git push --tags
npm publish