Open
Description
Recently, we started reporting high-confidence errors for typos as suggestions in the language service. We believe that there is a set of grammar issues that are worth erroring on as well that are not reported today (e.g. duplicate block-scoped variables, extending multiple classes, rest parameters occurring before regular parameters, etc.)
Open questions:
- How do we implement this as part of our API?
- What sorts of errors are acceptable here?
- Would we be giving errors that run against the expectations of any popular runtimes, build tools, or syntax extensions?