Skip to content

Commit 8aec3e7

Browse files
authored
docs: resolve incorrect lint rule in examples (#1611)
* docs: resolve incorrect lint rule in examples * docs: correct typo in rule name in base docs
1 parent 3cd7cbd commit 8aec3e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.README/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Finally, enable all of the rules that you would like to use.
248248
"jsdoc/no-restricted-syntax": 1,
249249
"jsdoc/no-types": 1, // Recommended for TS configs
250250
"jsdoc/no-undefined-types": 1, // Recommended for non-TS configs
251-
"jsdoc/rejct-any-type": 1, // Recommended
251+
"jsdoc/reject-any-type": 1, // Recommended
252252
"jsdoc/reject-function-type": 1, // Recommended
253253
"jsdoc/require-asterisk-prefix": 1,
254254
"jsdoc/require-description": 1,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Finally, enable all of the rules that you would like to use.
275275
"jsdoc/no-restricted-syntax": 1,
276276
"jsdoc/no-types": 1, // Recommended for TS configs
277277
"jsdoc/no-undefined-types": 1, // Recommended for non-TS configs
278-
"jsdoc/rejct-any-type": 1, // Recommended
278+
"jsdoc/reject-any-type": 1, // Recommended
279279
"jsdoc/reject-function-type": 1, // Recommended
280280
"jsdoc/require-asterisk-prefix": 1,
281281
"jsdoc/require-description": 1,

0 commit comments

Comments
 (0)