An open API service providing repository metadata for many open source software ecosystems.

GitHub / vuejs / vue-eslint-parser

The ESLint custom parser for `.vue` files.

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuejs%2Fvue-eslint-parser
PURL: pkg:github/vuejs/vue-eslint-parser

Stars: 481
Forks: 77
Open issues: 24

License: mit
Language: TypeScript
Size: 2.23 MB
Dependencies parsed at: Pending

Created at: almost 9 years ago
Updated at: 16 days ago
Pushed at: 3 months ago
Last synced at: 2 days ago

Commit Stats

Commits: 385
Authors: 15
Mean commits per author: 25.67
Development Distribution Score: 0.366
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/vuejs/vue-eslint-parser

Topics: eslint, eslint-custom-parser, javascript, single-file-component, static-code-analysis, vue, vuejs

Funding Links https://github.com/sponsors/ota-meshi, https://github.com/sponsors/mysticatea

Releases
v7.2.0

v7.2.0

✨ Enhancements

  • Added parserOptions.vueFeatures option.
    • #88 Added parserOptions.vueFeatures.interpolationAsNonHTML option.
    • #89 Added parserOptions.vueFeatures.filter option.

πŸ› Bug fixes

  • #85 Fixed type of VDirectiveKey.
  • #87 Fixed the wrong location when using with @typescript-eslint
almost 5 years ago
Download
v7.1.1

v7.1.1

πŸ› Bug Fixes

  • #74 fixed wrong location calculation when including CRLF.
about 5 years ago
Download
v7.1.0

v7.1.0

✨ Enhancements

  • 27a275f530b27e4714183c535d2e121aadf9e3bd updates the default parser loading logic to use the espree of loaded ESLint.

πŸ› Bug fixes

  • 6c1ac6845c937d533766c0faba19419ec087e3cc fixed the parser to generate correct comment data.
over 5 years ago
Download
v7.0.0

v7.0.0

πŸ’₯ Breaking Changes

  • 57c86241b16e3bd3670a340a0f9c117dd419191c dropped Node.js 6.x support. And the validation of parserOptions got more strict (by espree’s update).

✨ Enhancements

  • 075d3ff208fbbb73925c44ecdb50729c9cb829de added a new parser service: parserServices.getDocumentFragment(). You can get the root node of *.vue file’s AST.
about 6 years ago
Download
v6.0.5

v6.0.5

πŸ› Bug Fixes

  • af6a986683e17f779b565b0efde6c57bc63e517b fixed installation warning about ESLint v6.
about 6 years ago
Download
v6.0.4

v6.0.4

πŸ› Bug Fixes

  • 7d729691da6bc365a7f18e379bb966c7d0ff0acc fixed false positive of memory-leak detection.
about 6 years ago
Download
v6.0.3

v6.0.3

πŸ› Bug fixes

over 6 years ago
Download
v6.0.2

v6.0.2

πŸ› Bug fixes

  • ba72875586379c11a8dc6697bf203caaebf2249d fixed a bug that references in dynamic argument is not resolved.
over 6 years ago
Download
v6.0.1

v6.0.1

πŸ› Bug fixes

  • 7a1bffda55ea727d002cf2c2bbdb6800bc9a644f fixed the wrong location of auto-generated .prop modifiers.
over 6 years ago
Download
v6.0.0

v6.0.0

This release supported the new syntax in Vue.js 2.6 πŸŽ‰

Breaking changes

This release contains a drastic change about VDirectiveKey AST node because now the directive key have gotten to be able to have JavaScript expression.

  export interface VDirectiveKey extends HasLocation, HasParent {
      type: "VDirectiveKey"
      parent: VAttribute
-     name: string
-     argument: string | null
-     modifiers: string[]
-     shorthand: boolean
+     name: VIdentifier
+     argument: VExpressionContainer | VIdentifier | null
+     modifiers: VIdentifier[]
  }
  • It changed the members name, argument, and modifiers to AST nodes from strings. Especially, argument will be a VExpressionContainer node if the directive has dynamic argument syntax.
  • It removed shorthand member. To check wheather the directive key is a shorthand or not, use name.rawName member.
    • :foo … directiveKey.name.rawName is ":" (and directiveKey.name.name is "bind").
    • .foo … directiveKey.name.rawName is "." (and directiveKey.name.name is "bind" and directiveKey.modifiers includes the identifier node of "prop").
    • @foo … directiveKey.name.rawName is "@" (and directiveKey.name.name is "on").
    • #foo … directiveKey.name.rawName is "#" (and directiveKey.name.name is "slot").

Commits

  • 0f241279dc412ff4bb0faa9211233a944465f9b4…3c356d974b4fb49f1f8371282707b40841abe4a7
almost 7 years ago
Download