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

Appearance settings

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

Copy link
Copy link
Closed
@Jessidhia

Description

@Jessidhia
Issue body actions

Repro

/* eslint @typescript-eslint/adjacent-overload-signatures: error */
class Test {
  static test() {}
  untest() {}
  test() {}
}

Expected Result

No warning, as despite having the same names they are unrelated. The first test is a member of typeof Test, the second test is a member of Test.

Actual Result

"All 'test' signatures should be adjacent."

Additional Info

Versions

package version
@typescript-eslint/eslint-plugin 1.1.1
@typescript-eslint/parser 1.1.1
TypeScript 3.2.4
ESLint 5.12.1
node 11.8.0
yarn 1.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspackage: eslint-pluginIssues related to @typescript-eslint/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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.