npm vue-eslint-parser 2.0.1

latest releases: 8.3.0, 8.2.0, 8.1.0...
6 years ago

vue-eslint-parser has been rewritten completely!

Now vue-eslint-parser gets the ability to parse <template> (only HTML) in .vue files to AST.

  • New parserServices:
    • defineTemplateBodyVisitor(templateVisitor, scriptVisitor) ... returns ESLint visitor to traverse <template>.
    • getTemplateBodyTokenStore() ... returns ESLint TokenStore to get the tokens of <template>.
  • ast.md is <template> AST specification.
  • mustache-interpolation-spacing.js is an example.

Don't miss a new vue-eslint-parser release

NewReleases is sending notifications on new releases.