Gbuomprisco / opinionated-angular

An Opinionated Coding Styleguide for Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An empty line suggested before return

Jasminehyz opened this issue · comments

Hi, I read your blog in medium . It's cool. This is an advice for style guide: An empty line shoud be added before function's return, like this in a service file:

getUsersInAdministration (){
  const requestUrl = 'xxx';

  return this.http.get(requestUrl)
}
       

This way may helps with readability.

I totally agree with this one :) Will add!