From 5b41129e13b8773a25d4f162d49716ddc68b0c6e Mon Sep 17 00:00:00 2001 From: Mathias Schreck Date: Mon, 3 Aug 2020 13:40:16 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20recommended=20no-exports=20rule?= =?UTF-8?q?=20when=20using=20exports=20interface?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/rules/no-exports.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/rules/no-exports.md b/docs/rules/no-exports.md index 7eeec51e..7b179314 100644 --- a/docs/rules/no-exports.md +++ b/docs/rules/no-exports.md @@ -33,3 +33,7 @@ beforeEach(function () { /* ... */ }); afterEach(function () { /* ... */ }); ``` + +## When Not To Use It + +When you use the [`exports`](https://mochajs.org/#exports) interface it is not recommended to use this rule.