Official ESLint plugin for Vue.js
Please refer to the official website.
⚓ Versioning Policy
This project uses GitHub Releases.
🍻 Contribution Guide
Contributing is welcome! See the ESLint Vue Plugin Developer Guide.
Working With Rules
Be sure to read the official ESLint guide before you start writing a new rule.
vue-eslint-parser is a replacement parser that generates an enhanced AST with nodes that represent specific parts of the template syntax, as well as the contents of the
vue-eslint-parser provides a few useful parser services to help traverse the produced AST and access template tokens:
Check out an example rule to see usage of these services.
Be aware that depending on the code samples you write in tests, the
RuleTester parser property must be set accordingly (this can be done on a test by test basis). See an example here.
If you're stuck, remember there are many rules available for reference. If you can't find the right solution, don't hesitate to reach out in issues – we're happy to help!
See the LICENSE file for license rights and limitations (MIT).