UNPKG

@sparkbox/stylelint-config-sparkbox

Version:

A set of stylelint customizations that we use at Sparkbox.

41 lines (30 loc) 1.55 kB
# Contributing ## Steps to submit a PR - Clone/Fork the repo - Install dependencies: `npm install` - Push your branch/fork and [submit a PR][pr] - Assign a [sparkboxer][contributors] to review your PR ## Commit Style We use [Conventional Commits] and [Standard Version] to automate versioning of this package. Commit messages must be prefixed with a valid commit type. Example: ```sh feat: add new linting rule for ... ``` ℹ️ See the [Conventional Commits] page for further details on available commit types and how to handle breaking changes. ## Creating a Release When making a change that requires a new version to be published, you'll want to run the release task before merging to master. ```sh $ npm run release ``` This will: - Use all commit messages since the latest version tag to determine the correct new version - Increment the version in package.json and package-lock.json - Create a tagged commit with the new version - Push your branch (and new tag) to the remote After your branch is merged, CI will take care of publishing to the npm registry. ℹ️ See the [Standard Version][standard cli] documentation for details on how to control versioning behavior. [pr]: https://github.com/sparkbox/safe-focus/compare [contributors]: https://github.com/sparkbox/safe-focus/graphs/contributors [Conventional Commits]: https://www.conventionalcommits.org/en/v1.0.0/ [Standard Version]: https://github.com/conventional-changelog/standard-version [standard cli]: https://github.com/conventional-changelog/standard-version#cli-usage