We use pnpm for managing dependencies. You can install the necessary dependencies using the following command:
pnpm install
When making changes to lint rules, you can re-run the tests with the following command:
pnpm test
Or run it in watch mode like so:
pnpm test -- --watch
When adding new rules, make sure to follow these steps:
- Add the rule source code in
src/rules
- Add tests for the rule in
src/rules
- Add docs for the rule to
docs/rules
- Add a short description of the rule in
README.md
To release a new version with semantic-release, run the following command.
gh workflow run release.yml