salesforce / eslint-config-lwc

Opinionated ESLint configurations for LWC projects
MIT License
112 stars 35 forks source link

feat(ts): add configs that support TypeScript @W-16036296@ #133

Closed wjhsf closed 2 weeks ago

wjhsf commented 2 weeks ago

Properly setting the right parserOptions to support TypeScript is tedious, so this PR adds new configs that do that for you. Each existing config now also has a -ts flavor that supports TypeScript. For example, to use the recommended rules in a TypeScript project, use the recommended-ts config.

ravijayaramappa commented 2 weeks ago

Overall this LGTM, preferably wait for another set of eyes to approve.

wjhsf commented 2 weeks ago

Overall this LGTM, preferably wait for another set of eyes to approve. Discussed during PR review sync; got no objections.