Glavin001/tslint-clean-code

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

Open

#23 aperta il 25 nov 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (15 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (175 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Example:

function doStuff() {};

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

Desired:

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

function doStuff() {};

Guida contributor