From 3da1509106f508f0eb8ba48cdfc666225fda7edc Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Fri, 8 Oct 2021 20:35:15 -0400 Subject: [PATCH] Docs: Add jsdoc `type` annotation to sample rule (#15085) --- 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",