Skip to content

Commit

Permalink
docs: fix a few small typos (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
timgates42 committed Oct 22, 2021
1 parent f0c1e44 commit 45f8ff8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .README/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ properties:
declaration of the function expression for
`const quux = function () {}`, the associated comment would,
in both cases, generally be expected to be on the line above both, rather
than to be immediately preceding the funciton (in the case of the
than to be immediately preceding the function (in the case of the
function). See [@es-joy/jsdoccomment](https://github.com/es-joy/jsdoccomment)
for the precise structure of the comment (and comment type) nodes.

Expand Down
2 changes: 1 addition & 1 deletion .README/rules/match-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ be applied, however.
|||
|---|---|
|Context|everywhere|
|Tags|(The tags specifie by `tags`, including any tag if `*` is set)|
|Tags|(The tags specified by `tags`, including any tag if `*` is set)|
|Recommended|false|
|Settings|`structuredTags`|
|Options|`match`|
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ properties:
declaration of the function expression for
`const quux = function () {}`, the associated comment would,
in both cases, generally be expected to be on the line above both, rather
than to be immediately preceding the funciton (in the case of the
than to be immediately preceding the function (in the case of the
function). See [@es-joy/jsdoccomment](https://github.com/es-joy/jsdoccomment)
for the precise structure of the comment (and comment type) nodes.

Expand Down Expand Up @@ -7361,7 +7361,7 @@ be applied, however.
|||
|---|---|
|Context|everywhere|
|Tags|(The tags specifie by `tags`, including any tag if `*` is set)|
|Tags|(The tags specified by `tags`, including any tag if `*` is set)|
|Recommended|false|
|Settings|`structuredTags`|
|Options|`match`|
Expand Down Expand Up @@ -12978,7 +12978,7 @@ export class Foo {
// "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["TSInterfaceDeclaration","TSMethodSignature","TSPropertySignature"],"publicOnly":{"ancestorsOnly":true}}]

/** This is comment */
function someFunciton() {
function someFunction() {
interface FooBar {
fooBar: string;
}
Expand Down
2 changes: 1 addition & 1 deletion src/jsdocUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ const hasNonEmptyResolverCall = (node, resolverName) => {
case 'CallExpression':
return node.callee.name === resolverName && (

// Implicit or expliit undefined
// Implicit or explicit undefined
node.arguments.length > 1 || node.arguments[0] !== undefined
) ||
node.arguments.some((nde) => {
Expand Down
2 changes: 1 addition & 1 deletion test/rules/assertions/requireJsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3329,7 +3329,7 @@ function quux (foo) {
}, {
code: `
/** This is comment */
function someFunciton() {
function someFunction() {
interface FooBar {
fooBar: string;
}
Expand Down

0 comments on commit 45f8ff8

Please sign in to comment.