From b53b7b7bd5c1e5c6efe58e5c51176439c74dc008 Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Mon, 20 Sep 2021 18:36:03 -0400 Subject: [PATCH] Docs: Add jsdoc `type` annotation to sample rule --- docs/developer-guide/working-with-rules.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/developer-guide/working-with-rules.md b/docs/developer-guide/working-with-rules.md index 3da1731d5f1..a0e9e4b2c2b 100644 --- a/docs/developer-guide/working-with-rules.md +++ b/docs/developer-guide/working-with-rules.md @@ -24,6 +24,9 @@ Here is the basic format of the source file for a rule: // Rule Definition //------------------------------------------------------------------------------ +/** + * @type {import('eslint').Rule.RuleModule} + */ module.exports = { meta: { type: "suggestion",