Skip to content

Commit

Permalink
fix(no-missing-syntax): fix message; closes #761
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jun 29, 2021
1 parent d73787c commit 317674c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8491,7 +8491,7 @@ function quux () {
function quux () {

}
// Message: Rule `no-restricted-syntax` is missing a `context` option.
// Message: Rule `no-missing-syntax` is missing a `context` option.

/**
* @implements {Bar|Foo}
Expand Down
2 changes: 1 addition & 1 deletion src/rules/noMissingSyntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default iterateJsdoc(({
line: 1,
},
},
message: 'Rule `no-restricted-syntax` is missing a `context` option.',
message: 'Rule `no-missing-syntax` is missing a `context` option.',
});

return;
Expand Down
2 changes: 1 addition & 1 deletion test/rules/assertions/noMissingSyntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default {
errors: [
{
line: 1,
message: 'Rule `no-restricted-syntax` is missing a `context` option.',
message: 'Rule `no-missing-syntax` is missing a `context` option.',
},
],
},
Expand Down

0 comments on commit 317674c

Please sign in to comment.