43081j / eslint-plugin-lit

lit-html support for ESLint
116 stars 21 forks source link

Re-introduce es2020 syntax but target es2017 #113

Closed 43081j closed 3 years ago

43081j commented 3 years ago

cc @stramel

we slipped up. the es2017 target actually means typescript will transpile the null coalesce and optional chaining to syntax node 12 supports.

so we can reintroduce the nice syntax but keep the target the same

stramel commented 3 years ago

My bad

43081j commented 3 years ago

no worries i didn't realise it transpiles it for you either :D