Skip to content

Commit 8513d37

Browse files
authored
chore: update Rule typedefs (#15915)
1 parent 13b62ae commit 8513d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/shared/types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ module.exports = {};
136136

137137
/**
138138
* @typedef {Object} RuleMetaDocs
139-
* @property {string} category The category of the rule.
140139
* @property {string} description The description of the rule.
141140
* @property {boolean} recommended If `true` then the rule is included in `eslint:recommended` preset.
142141
* @property {string} url The URL of the rule documentation.
@@ -147,6 +146,7 @@ module.exports = {};
147146
* @property {boolean} [deprecated] If `true` then the rule has been deprecated.
148147
* @property {RuleMetaDocs} docs The document information of the rule.
149148
* @property {"code"|"whitespace"} [fixable] The autofix type.
149+
* @property {boolean} [hasSuggestions] If `true` then the rule provides suggestions.
150150
* @property {Record<string,string>} [messages] The messages the rule reports.
151151
* @property {string[]} [replacedBy] The IDs of the alternative rules.
152152
* @property {Array|Object} schema The option schema of the rule.

0 commit comments

Comments
 (0)