$ show vuejs/eslint-plugin-vue
eslint-plugin-vue is an ESLint plugin specifically designed for linting Vue.js single-file components (SFCs). It provides over 100 rules covering template syntax, script setup, Options API, Composition API, and Vue-specific best practices. The architecture follows standard ESLint plugin patterns with rule implementations in lib/rules/, shareable configurations in lib/configs/ (both legacy and Flat Config formats), and a processor for handling .vue files. Key entry points include the main plugin export (lib/index.ts), the processor (lib/processor.ts), and utility modules (lib/utils/) that provide AST traversal helpers, scope analysis, and component introspection. The plugin relies on peer dependencies eslint and vue-eslint-parser, with optional TypeScript support via @typescript-eslint/parser. It demonstrates strong craftsmanship through well-tested rules, comprehensive documentation, and active maintenance for both Vue 2 and Vue 3 ecosystems.
The LLM identified 1 files worth highlighting for reuse:
A self-contained CSS selector parser and matcher designed for virtual DOM trees (like Vue template AST). It implements complex selector logic (attribute selectors, pseudo-classes, combinators) with zero external dependencies. The module can be extracted and used in any project needing to apply CSS selectors to a tree of node objects with only minor interface adaptations, demonstrating non-obvious skill in AST traversal and selector engineering.