diff --git a/designs/2020-rule-tester-only/README.md b/designs/2020-rule-tester-only/README.md index 23f960c6..815ffae3 100644 --- a/designs/2020-rule-tester-only/README.md +++ b/designs/2020-rule-tester-only/README.md @@ -54,6 +54,8 @@ To allow using `RuleTester` with a custom test framework other than Mocha, paral At the end of `RuleTester`'s `run()` method, for each valid and invalid item, if `only` is `true`, call `RuleTester.itOnly` instead of `RuleTester.it`. +Add [`--forbid-only`](https://mochajs.org/#-forbid-only) to the [`mocha` target in `Makefile.js`](https://github.com/eslint/eslint/blob/cc4871369645c3409dc56ded7a555af8a9f63d51/Makefile.js#L548) to prevent accidentally merging tests before removing `only`. + ## Documentation