Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.63 KB

CONTRIBUTING.md

File metadata and controls

46 lines (35 loc) · 1.63 KB

Contribution Guidelines

We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more.

Development

Install

Clone the project on your computer, and install Node and nvm.

# Switch to the right version of Node.
nvm use
# Then, install all project dependencies.
npm install

Also take the time to integrate Prettier and ESLint with your code editor.

Working on the project

Everything mentioned in the installation process should already be done.

# Make sure you use the right node version.
nvm use
# View available commands with:
npm run
# Most used commands:
npm run test:watch
npm run lint

Releasing a new version

  • Make a new branch for the new release.
  • Follow ESLint’s semantic versioning policy to determine what new version to create.
  • Update the CHANGELOG.
  • If there are breaking changes, make sure to document them separately, and add any upgrade considerations.
  • Update the version number in package.json, following semver.
  • Make sure the documentation is up-to-date (npm run build)
  • Make a PR and squash merge it.
  • Back on main with the PR merged, use npm publish.
  • Head over to https://www.npmjs.com/package/eslint-config-torchbox and check that all is well.
  • Finally, go to GitHub and create tag then a release for the new version, with the corresponding CHANGELOG entry as content.
  • Done!