Async-await footgun pointed out to me last night by @bassjacob: Always `return await` or if you wrap with try-catch it won't be caughtpic.twitter.com/uwOvrnRKM0
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
One of the things I appreciate about @reasonml is the ability to insist a function deals with promises "correctly".
fwiw rust has a similar facility (via must_use types and a high fidelity lint) that I think TSLint should integrate.
that sounds really cool, though compiler > linter imo. keep meaning to find time to learn rust. wasm might be the final straw. or rocket.rs
Rust lints passes are often part of the compiler. The difference is that there's a way to disable lints.
so closer to -Werror -Wall than to eslint?
Right. We also use lints a lot to help people migrate away from bad practices or as part of transitional plans.
Lints make it possible to be in "prototype" mode to quickly sketch something out and then go into "hard error mode".
Things like dead code and unused imports/params lints are very annoying when prototyping or refactoring but good when done.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.