Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: update Rule typedefs (#15915)
  • Loading branch information
mdjermanovic committed May 25, 2022
1 parent 13b62ae commit 8513d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/types.js
Expand Up @@ -136,7 +136,6 @@ module.exports = {};

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

0 comments on commit 8513d37

Please sign in to comment.