Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: [no-unused-vars] <should consider use in JSDoc> #8258

Closed as not planned
Closed as not planned
Labels
wontfixThis will not be worked on
@parloti

Description

@parloti

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I havesearched for related issues and found none that matched my issue.
  • I haveread the FAQ and my problem is not listed.

Playground Link

https://typescript-eslint.io/play/#ts=5.3.3&fileType=.ts&code=JYWwDg9gTgLgBAbzgeQHYBECmBnGUICecAvnAGb4hwDkAAgIaoDmArgDb1QD0AxtJtQDcAWABQY4KhiYoZej0xwAkkqkzEYscU2iuAKj1i4exLTaSA1igw48hEqfOorKtVG2jjXMZgAekWHIWVB4YYAhUOAAxYIAKAEoNTzgoTBgWKEiABhFRDyA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQHYHsBaWXWZRAE0IDcBDaVDSfAMxcgBpxtIABAFwCeABxQBjaAEth-QiniTc-APQFipclToN0URNGj5okbgF8QpoA&tsconfig=&tokens=false

Repro Code

import{OnDestroy}from'@angular/core';interfaceIInter{}/** * {@link OnDestroy} {@link IInter} */exportfunctionFun(){return0;}

ESLint Config

module.exports={parser:"@typescript-eslint/parser",rules:{"no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error"},};

tsconfig

{"compilerOptions": {// ...  }}

Expected Result

I expected none of these errors to occur:

'OnDestroy' is defined but never used. 1:10 - 1:19'IInter' is defined but never used. 3:11 - 3:17

Actual Result

The linter throws the following errors:

'OnDestroy' is defined but never used. 1:10 - 1:19'IInter' is defined but never used. 3:11 - 3:17

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp