0.2.0 • Published 4 years ago

@equipindustry/prettierrc v0.2.0

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

EquipIndustry Prettier Config

npm downloads build code style: prettier semantic-release

Prettier config for projects at EquipIndustry.

Usage

npm install --save-dev @equipindustry/prettierrc

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

module.exports = require('@equipindustry/prettierrc')

Making changes

npm link
cd <project>
npm link @equipindustry/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

Release

Releases are done automatically in CI when commits are merged into master by analyzing Conventional Commit Messages. After running yarn, commit messages will be linted automatically when committing though a git hook. The git hook can be circumvented for fixup commits with git's fixup! autosquash feature, or by passing --no-verify to git commit. You may have to rebase a branch before merging to ensure it has a proper commit history, or squash merge with a manually edited commit message that conforms to the convention.

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.0

4 years ago