Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.45 KB

CONTRIBUTING.md

File metadata and controls

40 lines (25 loc) · 1.45 KB

Contributing

Thanks for contributing!

Installation

git clone https://github.com/ota-meshi/eslint-plugin-eslint-rule-tester.git
cd eslint-plugin-eslint-rule-tester
pnpm install

Running the tests

pnpm test

To run the tests with debugging log, you can use pnpm test:debug.

This is an ESLint plugin. Documentation for the APIs that it uses can be found on ESLint's Working with Plugins page.

This plugin is used to lint itself. The style is checked when pnpm lint is run, and the build will fail if there are any linting errors. You can use pnpm lint-fix to fix some linting errors.

Other Development Tools

  • pnpm test runs tests.
  • pnpm cover runs tests and measures coverage.
  • pnpm new [new-rule-name] generate the files needed to implement the new rule.
  • pnpm update runs in order to update readme and recommended configuration.

Commit messages

Please view commitlint and @commitlint/config-conventional for more details.

Publishing

We're using changesets for version management, CHANGELOG and releasing automatically.

Please view changesets-bot and its action for more details.