Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 787 Bytes

CONTRIBUTING.md

File metadata and controls

42 lines (28 loc) · 787 Bytes

Contributing

Installing Dependencies

We use pnpm for managing dependencies. You can install the necessary dependencies using the following command:

pnpm install

Running Tests

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

Adding new rules

When adding new rules, make sure to follow these steps:

  1. Add the rule source code in src/rules
  2. Add tests for the rule in src/rules
  3. Add docs for the rule to docs/rules
  4. Add a short description of the rule in README.md

Releasing

To release a new version with semantic-release, run the following command.

gh workflow run release.yml