Gathering detailed insights and metrics for @vue/cli-plugin-eslint
Gathering detailed insights and metrics for @vue/cli-plugin-eslint
Gathering detailed insights and metrics for @vue/cli-plugin-eslint
Gathering detailed insights and metrics for @vue/cli-plugin-eslint
@mpxjs/vue-cli-plugin-mpx-eslint
eslint plugin for mpx-cli
@micro-cli/cli-plugin-eslint
eslint plugin for micro-cli
eslint-config-standard-vue-ts
由于 [standardjs](https://standardjs.com/) 官方对 Vue 的支持不足,导致无法直接在 cli 使用 `standard --plugin vue **/*.vue` 命令来检查/修复 .vue 文件的语法错误。必须需要显示创建 .eslintrc.js 文件。 出于该原因在这里我编写了一个 eslint 扩展。排除了网络上的错误的,过时的,复杂的答案。保证你使用最简单的方式在项目里集成 standard 规范。
vue-cli-plugin-xuwu
通过命令行的方式初始化项目模版,从而完成项目的基础配置
🛠️ webpack-based tooling for Vue.js Development
npm install @vue/cli-plugin-eslint
Typescript
Module System
Node Version
NPM Version
JavaScript (75.05%)
Vue (22.89%)
TypeScript (0.87%)
Stylus (0.47%)
HTML (0.27%)
Shell (0.26%)
AppleScript (0.18%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
29,723 Stars
3,533 Commits
6,327 Forks
629 Watchers
22 Branches
521 Contributors
Updated on Jul 17, 2025
Latest Version
5.0.8
Package Id
@vue/cli-plugin-eslint@5.0.8
Unpacked Size
32.01 kB
Size
11.44 kB
File Count
16
NPM Version
lerna/4.0.0/node@v16.15.0+arm64 (darwin)
Node Version
16.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
eslint plugin for vue-cli
vue-cli-service lint
Usage: vue-cli-service lint [options] [...files]
Options:
--format [formatter] specify formatter (default: stylish)
--no-fix do not fix errors
--max-errors specify number of errors to make build failed (default: 0)
--max-warnings specify number of warnings to make build failed (default: Infinity)
--output-file specify file to write report to
Lints and fixes files. If no specific files are given, it lints all files in src
and tests
, as well as all JavaScript files in the root directory (these are most often config files such as babel.config.js
or .eslintrc.js
).
Other ESLint CLI options are not supported.
::: tip
vue-cli-service lint
will lint dotfiles .*.js
by default. If you want to follow ESLint's default behavior instead, consider adding a .eslintignore
file in your project.
:::
ESLint can be configured via .eslintrc
or the eslintConfig
field in package.json
. See the ESLint configuration docs for more detail.
::: tip
The following option is under the section of vue.config.js
. It is respected only when @vue/cli-plugin-eslint
is installed.
:::
Lint-on-save during development with eslint-loader
is enabled by default. It can be disabled with the lintOnSave
option in vue.config.js
:
1module.exports = { 2 lintOnSave: false 3}
When set to true
, eslint-loader
will emit lint errors as warnings. By default, warnings are only logged to the terminal and does not fail the compilation.
To make lint errors show up in the browser overlay, you can use lintOnSave: 'error'
. This will force eslint-loader
to always emit errors. this also means lint errors will now cause the compilation to fail.
Alternatively, you can configure the overlay to display both warnings and errors:
1// vue.config.js 2module.exports = { 3 devServer: { 4 overlay: { 5 warnings: true, 6 errors: true 7 } 8 } 9}
When lintOnSave
is a truthy value, eslint-loader
will be applied in both development and production. If you want to disable eslint-loader
during production build, you can use the following config:
1// vue.config.js 2module.exports = { 3 lintOnSave: process.env.NODE_ENV !== 'production' 4}
1vue add eslint
config.module.rule('eslint')
config.module.rule('eslint').use('eslint-loader')
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/29 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
120 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More