Skip to content

Commit 45f8ff8

Browse files
authored
docs: fix a few small typos (#797)
1 parent f0c1e44 commit 45f8ff8

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.README/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ properties:
498498
declaration of the function expression for
499499
`const quux = function () {}`, the associated comment would,
500500
in both cases, generally be expected to be on the line above both, rather
501-
than to be immediately preceding the funciton (in the case of the
501+
than to be immediately preceding the function (in the case of the
502502
function). See [@es-joy/jsdoccomment](https://github.com/es-joy/jsdoccomment)
503503
for the precise structure of the comment (and comment type) nodes.
504504

.README/rules/match-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ be applied, however.
5353
|||
5454
|---|---|
5555
|Context|everywhere|
56-
|Tags|(The tags specifie by `tags`, including any tag if `*` is set)|
56+
|Tags|(The tags specified by `tags`, including any tag if `*` is set)|
5757
|Recommended|false|
5858
|Settings|`structuredTags`|
5959
|Options|`match`|

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ properties:
577577
declaration of the function expression for
578578
`const quux = function () {}`, the associated comment would,
579579
in both cases, generally be expected to be on the line above both, rather
580-
than to be immediately preceding the funciton (in the case of the
580+
than to be immediately preceding the function (in the case of the
581581
function). See [@es-joy/jsdoccomment](https://github.com/es-joy/jsdoccomment)
582582
for the precise structure of the comment (and comment type) nodes.
583583

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

1298012980
/** This is comment */
12981-
function someFunciton() {
12981+
function someFunction() {
1298212982
interface FooBar {
1298312983
fooBar: string;
1298412984
}

src/jsdocUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ const hasNonEmptyResolverCall = (node, resolverName) => {
617617
case 'CallExpression':
618618
return node.callee.name === resolverName && (
619619
620-
// Implicit or expliit undefined
620+
// Implicit or explicit undefined
621621
node.arguments.length > 1 || node.arguments[0] !== undefined
622622
) ||
623623
node.arguments.some((nde) => {

test/rules/assertions/requireJsdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3329,7 +3329,7 @@ function quux (foo) {
33293329
}, {
33303330
code: `
33313331
/** This is comment */
3332-
function someFunciton() {
3332+
function someFunction() {
33333333
interface FooBar {
33343334
fooBar: string;
33353335
}

0 commit comments

Comments
 (0)