0.2.0 • Published 6 years ago
@equipindustry/prettierrc v0.2.0
EquipIndustry Prettier Config
Prettier config for projects at EquipIndustry.
Usage
npm install --save-dev @equipindustry/prettierrcThen 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 prettierPublish 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 publishRelease
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.