From 68ba9dac798264e0a4c780dd3e8681371173bbef Mon Sep 17 00:00:00 2001 From: eightHundreds Date: Tue, 28 Sep 2021 08:39:24 +0800 Subject: [PATCH] Chore: add type jsdoc to rule.js (#113) --- rule/templates/_rule.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rule/templates/_rule.js b/rule/templates/_rule.js index 473604c..9e40626 100644 --- a/rule/templates/_rule.js +++ b/rule/templates/_rule.js @@ -8,6 +8,9 @@ // Rule Definition //------------------------------------------------------------------------------ +/** + * @type {import('eslint').Rule.RuleModule} + */ module.exports = { meta: { type: null, // `problem`, `suggestion`, or `layout`