Wk-notes-12-10-eslint-dive

Eslint

eslint.js(entry) -> CLIEngine(options) -> processWithText(text, options) -> linter.verify(text, options) -> sourceCode = parse(text, parser, parseOptions) -> analyze sourceCode.ast

  • load and analyze an ast for a 200 line file is not too practical

Last updated