Skip to content

Commit 5a3655b

Browse files
committed
chore: fix CONTRIBUTING.md
1 parent 0759fd3 commit 5a3655b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

CONTRIBUTING.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,28 @@ Thanks for contributing!
77
```sh
88
git clone https://github.com/sveltejs/eslint-plugin-svelte.git
99
cd eslint-plugin-svelte
10-
yarn
10+
pnpm install
1111
```
1212

1313
## Running the tests
1414

1515
```sh
16-
yarn test
16+
pnpm test
1717
```
1818

19-
To run the tests with debugging log, you can use `yarn test:debug`.
19+
To run the tests with debugging log, you can use `pnpm test:debug`.
2020

2121
This is an [ESLint](http://eslint.org) plugin. Documentation for the APIs that it uses can be found on ESLint's [Working with Plugins](http://eslint.org/docs/developer-guide/working-with-plugins) page.
2222

23-
This plugin is used to lint itself. The style is checked when `yarn lint` is run, and the build will fail if there are any linting errors. You can use `yarn lint-fix` to fix some linting errors.
23+
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.
2424

2525
## Other Development Tools
2626

27-
- `yarn test` runs tests.
28-
- `yarn cover` runs tests and measures coverage.
29-
- `yarn new [new-rule-name]` generate the files needed to implement the new rule.
30-
- `yarn update` runs in order to update readme and recommended configuration.
31-
- `yarn docs:watch` launch the document site in development mode.
27+
- `pnpm test` runs tests.
28+
- `pnpm cover` runs tests and measures coverage.
29+
- `pnpm new [new-rule-name]` generate the files needed to implement the new rule.
30+
- `pnpm update` runs in order to update readme and recommended configuration.
31+
- `pnpm docs:watch` launch the document site in development mode.
3232

3333
## Test the Rule
3434

@@ -52,7 +52,7 @@ To verify the output of invalid test cases requires `*-errors.json`, and `*-outp
5252
If you want to test only one rule, run the following command (for `indent` rule):
5353

5454
```sh
55-
yarn test -g indent
55+
pnpm test -g indent
5656
```
5757

5858
Take <https://stackoverflow.com/questions/10832031/how-to-run-a-single-test-with-mocha> as reference for details.

0 commit comments

Comments
 (0)