Thanks for contributing!
git clone https://github.com/prettier/stylelint-prettier.git
cd stylelint-prettier
pnpm installRun tests:
pnpm run testRun linters:
pnpm run lintThis is a Stylelint plugin. Documentation for the APIs that it uses can be found on Stylelint's Writing Plugins page.
e2e test fixtures are in test/fixtures.
Running the e2e tests while trying to debug a problem can be annoying. To check stylelint's output of a single fixture, run stylelint from within the fixtures directory:
cd test/fixtures
../../node_modules/.bin/stylelint 'check*'-
Ensure you are on the
mainbranch locally. -
Update
CHANGELOG.mdand commit. -
Run the following (replacing patch with minor or major if you want a different range):
pnpm version patch pnpm publish git push --follow-tags
Running
pnpm version major|minor|patchshall:- Bump the version in package.json (depending on semver range you wanted)
- Create a new commit containing that version bump in package.json
- Create a tag for that commit
Running
pnpm publishshall:- Publish to the npm repository
Running
git push --follow-tagsshall:- Push the commit and tag to GitHub