unexpectedjs/unexpected-http

Indentation

Closed this issue · 5 comments

It makes it hard to read the code with that much indentation.

Also the options you can pass to the request, could be highlighted by a comment or two.

PR welcome :)

@kevinsimper do you mean the nesting level or the 4 spaces indentation?

The library is only halfway promisified. Once that's fixed I hope it'll be less unbearable to look at.

Switched to 2 space indentation and prettier now, hopefully that helped 😏

@papandreou It is awesome, I appreciate the friendly comments 😍