Skip to content

[javascript] Remove redundant type annotations from Typescript JSDOC - #11318

Open
MaximeBICMTL wants to merge 3 commits into
aces:mainfrom
MaximeBICMTL:better-eslint-config
Open

MaximeBICMTL wants to merge 3 commits into
aces:mainfrom
MaximeBICMTL:better-eslint-config

Conversation

@MaximeBICMTL

Copy link
Copy Markdown
Contributor

Description

This PR adds the jsdoc/no-types ESLint linting rule, which forbids adding type annotations to Typescript JSDoc, as those are redundant with Typescript's own types.
This lint does not affect the vanilla Javascript code.

This PR can be reviewed commit by commit.

@github-actions github-actions Bot added Language: Javascript PR or issue that update Javascript code Module: configuration PR or issue related to configuration module Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: timepoint_list PR or issue related to the timepoint_list module Module: user_accounts PR or issue related to the user_accounts module Module: dicom_archive PR or issue related to dicom_archive module Module: dataquery PR or issue related to (new) dataquery module labels Nov 15, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: Javascript PR or issue that update Javascript code Module: configuration PR or issue related to configuration module Module: dataquery PR or issue related to (new) dataquery module Module: dicom_archive PR or issue related to dicom_archive module Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: timepoint_list PR or issue related to the timepoint_list module Module: user_accounts PR or issue related to the user_accounts module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant