Jason Bosco
03/23/2022, 4:51 PMIs there any reason why there is not typescript eslint installed?No particular reason. I thought eslint already took care of linting TS as well, until WebStorm started complaining about not being able to parse
import type
. That's when I learnt eslint needs a TS plugin separately. I was trying to set this up myself earlier this week, and paused it when it said something about a useless constructor, though it's valid Typescript to define class variables via a constructor. Paused the exploration there...
Thank you for taking care of this as well. I wonder why even unchanged lines are showing up as changed in Github PR diff though. Any ideas?