ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.58k stars 1.33k forks source link

refactor: make linter happier #1670

Closed jimmywarting closed 2 years ago

jimmywarting commented 2 years ago

Thought I would try to minimize the amount of warning the linter spits out by fixing some of them... thinking of limiting my PR's to 1-5 files / PR so it isn't too much to review

niftylettuce commented 2 years ago

You can also just change it from warning to off in package.json. I'm totally cool with that instead of rewriting to response. I personally like res and shorthand better.

jimmywarting commented 2 years ago

ok, will make another pr instead