vuejs / eslint-plugin-vue

Official ESLint plugin for Vue.js
https://eslint.vuejs.org/
MIT License
4.47k stars 666 forks source link

docs: add an example on how to use custom parser with flat config #2490

Closed Lehoczky closed 4 months ago

Lehoczky commented 4 months ago

Related to: https://github.com/vuejs/eslint-plugin-vue/issues/2448

📚 Description

This PR adds an example on how to use this plugin with TypeScript, which is a common use case.

📜 Notes

The getting started guide is getting a bit hard to follow with a lot of warnings, duplicated text for each configuration style. It might worth extracting the .eslintrc format to a different subpage like it is done in the official eslint docs.