-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Description - detects [jsdoc @import imports](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#the-jsdoc-import-tag) added in TS5.5 - adds a new `jsdoc`, `jsdoc-import-tag` dependency types - adds unit tests - dog foods the `@import` jsdoc tag - [x] feature switches it in the configuration (otherwise it would be a breaking change) - - [x] feature switch true implies `parser` set to `tsc` - [x] document it (and add caveats (TS 5.5 and up - `parser` attribute set to `tsc`) - [x] adds e2e test - 🏕️ disables the yarn berry integration test - for #reasons it now acts up on the ci (node 23 issue? Something else?), where it runs perfectly fine on local machine - something to figure out later. Future work: - also detect jsdoc-bracket-import (`/** @type {import('yadda').bla} */`) statements in other jsdoc tags - see [typescript jsdoc reference](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html) for a list => likely better in a _separate PR_. ## Motivation and Context Addresses #964 ## How Has This Been Tested? - [x] green ci - [x] additional automated non-regression tests ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Documentation only change - [ ] Refactor (non-breaking change which fixes an issue without changing functionality) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change)
- Loading branch information
Showing
93 changed files
with
787 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.