Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

Commit 0862e1e

Browse files
committed
fix(jsdoc-lint): use canonical identify type tags
1 parent f68e005 commit 0862e1e

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
description: Check JavaScript/TypeScript JSDoc completeness via eslint-plugin-jsdoc.
408408
entry: hooks/jsdoc-lint/run.sh
409409
language: script
410-
types_or: [ts, tsx, js, jsx, mjs]
410+
types_or: [javascript, jsx, ts, tsx]
411411
pass_filenames: false
412412
args: []
413413

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.1.1] - 2026-05-16
11+
12+
### Fixed
13+
14+
- `jsdoc-lint`: `types_or` used the non-canonical `js` / `mjs` identify tags,
15+
which prek rejects with `Type tag 'js' is not recognized`. The hook now uses
16+
`[javascript, jsx, ts, tsx]` (matching oxlint); `identify`'s `javascript`
17+
tag covers `.js` and `.mjs` extensions.
18+
1019
## [1.1.0] - 2026-05-16
1120

1221
### Added

0 commit comments

Comments
 (0)