gobengo / distbin

distributed social pastebin using Activitypub
https://distbin.com
Apache License 2.0
78 stars 8 forks source link

Massive Tslint #11

Closed gobengo closed 6 years ago

gobengo commented 6 years ago

Add https://palantir.github.io/tslint

Follow all the things it says are "recommended".

There were a lot of imports in files I hadn't switched from require()s to imports yet, which is what triggers type checking. So once the linter caught all those and I took the time to fix them, we get much better type checking all over.

npm run lint to lint things. Travis will do it for you too.