Glavin001/tslint-clean-code

Newspaper rule does not catch functions implemented above and used within a class

Open

#23 opened on Nov 25, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (15 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (175 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Example:

function doStuff() {};

class StuffDoer {
  myMethod() {
    doStuff();
  }
}

Desired:

class StuffDoer {
  myMethod() {
    doStuff();
  }
}

function doStuff() {};

Contributor guide