Registry / testing / eslint-plugin-vue-libs

eslint-plugin-vue-libs

JSON →
library4.0.0jsnpmunverified

ESLint plugin and config for internal development of Vue.js ecosystem libraries (e.g., vue-router, vuex, vue-cli). Version 4.0.0, maintained by the Vue.js core team. It is not intended for Vue application development; instead it enforces Vue team coding conventions and provides a recommended preset. Different from the general eslint-plugin-vue which targets Vue SFCs and templates.

npm install eslint-plugin-vue-libs
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-VUE-
E
eslint-plugin-vue-libs
testingjavascriptv4.0.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plugin:vue-libs/recommended
extends: ['plugin:vue-libs/recommended']
extends: ['eslint-plugin-vue-libs/recommended']
Use the short form with plugin: prefix, not the full package name.

Install and configure eslint-plugin-vue-libs with recommended preset for Vue team projects.

npm install eslint-plugin-vue-libs --save-dev // .eslintrc.js module.exports = { extends: ['plugin:vue-libs/recommended'], rules: { // override rules if needed } };
Debug
Known issues
gotchaThis plugin is meant for internal Vue organization projects, not general Vue app development. It may not be suitable for most Vue applications.
fix
Use eslint-plugin-vue instead for general Vue app development.
affects: >=4.0.0
Errors
Common errors & fixes
Error: Failed to load plugin 'vue-libs' declared in '.eslintrc': Cannot find module 'eslint-plugin-vue-libs'
Plugin not installed or missing in node_modules.
fix
Run npm install eslint-plugin-vue-libs --save-dev
ESLint couldn't find the config 'plugin:vue-libs/recommended' after extending.
Incorrect config name or plugin not loaded.
fix
Ensure extends uses 'plugin:vue-libs/recommended' exactly and that the plugin is installed.
Upgrade
Version history
4.0.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency for plugin functionality
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-plugin-vue-libs — npm install eslint-plugin-vue-libs · libregistry