Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Docs: Add jsdoc type annotation to sample rule (#15085)
  • Loading branch information
bmish committed Oct 9, 2021
1 parent 68a49a9 commit 3da1509
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/developer-guide/working-with-rules.md
Expand Up @@ -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",
Expand Down

0 comments on commit 3da1509

Please sign in to comment.