{"repo":"vuejs/vue-eslint-parser","free":true,"listed":false,"github":"https://github.com/vuejs/vue-eslint-parser","clone":"git clone https://github.com/vuejs/vue-eslint-parser.git","description":"The ESLint custom parser for `.vue` files.","language":"TypeScript","stars":487,"topics":["javascript","eslint","eslint-custom-parser","vue","vuejs","single-file-component","static-code-analysis"],"license":"MIT","category":"ui-components","readme_excerpt":"vue-eslint-parser The ESLint custom parser for .vue files. ⤴️ Motivation This parser allows us to lint the of .vue files. We can make mistakes easily on if we use complex directives and expressions in the template. This parser and the rules of eslint-plugin-vue would catch some of the mistakes. 💿 Installation 📖 Usage Write parser option into your eslint.config. file. 🔧 Options parserOptions has the same properties as what espree, the default parser of ESLint, is supporting. For example: parserOptions.parser You can use parserOptions.parser property to specify a custom parser to parse tags. Other properties than parser would be given to the specified parser. For example: You can also specify an object and change the parser separately for . If the parserOptions.parser is false , the vue-eslint-parser skips parsing tags completely. This is useful for people who use the language ESLint community doesn't provide custom parser implementation. parserOptions.vueFeatures You can use parserOptions.vueFeatures property to specify how to parse related to Vue features. For example: parserOptions.vueFeatures.filter You can use parserOptions.vueFeatures.filter property to specify whether to parse the Vue2 filter. If you specify false , the parser does not parse as a filter. For example: If you specify false , it can be parsed in the same way as Vue 3. The following template parses as a bitwise operation. However, the following template that are valid in Vue 2 cannot be parsed. parserOpti","default_branch":null,"files":null,"tree":[],"storefront":"/r/vuejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vuejs/vue-eslint-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}