AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How ESLint Knows When You're Doing Specific Things
Sebastian: I love hearing stories from the olden days when you use such word as native XML HTTP request. And that really was what started me down this path of investigating how to do something like that. Man, that's wild. But my next question was just like, how does how does ESLint even work? Like, how does it know when I'm doing specific things? So you're saying you parse it, and that gives you what? Is that called an AST?Yeah, so inside of ESLint, we use a parser, either the default parsers that we shipped with, or a custom one that you've supplied in your configuration. Each of the rules