Skip to content

equipindustry/prettierrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published