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

[adjacent-overload-signatures] False positive when static and instance methods share the same name #169

Closed
Labels
bugSomething isn't workinggood first issueGood for newcomerspackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
@Jessidhia

Description

@Jessidhia

Repro

/* eslint @typescript-eslint/adjacent-overload-signatures: error */classTest{statictest(){}untest(){}test(){}}

Expected Result

No warning, as despite having the same names they are unrelated. The firsttest is a member oftypeof Test, the secondtest is a member ofTest.

Actual Result

"All 'test' signatures should be adjacent."

Additional Info

Versions

packageversion
@typescript-eslint/eslint-plugin1.1.1
@typescript-eslint/parser1.1.1
TypeScript3.2.4
ESLint5.12.1
node11.8.0
yarn1.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomerspackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    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