Skip to content

Commit

Permalink
Revert "chore: update Rule typedefs (eslint#15915)"
Browse files Browse the repository at this point in the history
This reverts commit 298d3fd.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent de3c3f1 commit 218db30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/types.js
Expand Up @@ -136,6 +136,7 @@ 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 @@ -146,7 +147,6 @@ 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 218db30

Please sign in to comment.