You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`.
20
20
21
21
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.
22
22
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.
24
24
25
25
## Other Development Tools
26
26
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.
32
32
33
33
## Test the Rule
34
34
@@ -52,7 +52,7 @@ To verify the output of invalid test cases requires `*-errors.json`, and `*-outp
52
52
If you want to test only one rule, run the following command (for `indent` rule):
53
53
54
54
```sh
55
-
yarntest -g indent
55
+
pnpmtest -g indent
56
56
```
57
57
58
58
Take <https://stackoverflow.com/questions/10832031/how-to-run-a-single-test-with-mocha> as reference for details.
0 commit comments