Skip to content

Commit

Permalink
docs: Fix spelling in no-callback-literal.md (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtenclay committed Nov 1, 2023
1 parent 446e744 commit 79c8afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-callback-literal.md
Expand Up @@ -6,7 +6,7 @@ When invoking a callback function which uses the Node.js error-first callback pa

## 📖 Rule Details

When a function is named `cb` or `callback`, then it must be invoked with a first argument that is `undefined`, `null`, an `Error` class, or a subclass or `Error`.
When a function is named `cb` or `callback`, then it must be invoked with a first argument that is `undefined`, `null`, an `Error` class, or a subclass of `Error`.

Examples of 👎 **incorrect** code for this rule:

Expand Down

0 comments on commit 79c8afd

Please sign in to comment.