Open ademyalcin27 opened 2 years ago
Same here in version 5.0.8
Add the following packages:
@babel/core
@babel/eslint-parser
@babel/preset-env
@vue/cli-plugin-eslint
eslint
eslint-plugin-import
eslint-plugin-node
eslint-plugin-promise
eslint-plugin-vue
eslint
It helps, but should we do that? Having @vue/cli-service should be enough no?
Vue CLI
npm i -D @vue/cli-service
Commands:
serve start development server
build build for production
inspect inspect internal webpack config
Vue CLI + Vue ESlint Plugin
npm i -D @vue/cli-service @vue/cli-plugin-eslint
Commands:
serve start development server
build build for production
inspect inspect internal webpack config
lint lint and fix source files
Maybe an error message something like this would be better?
The "lint" command requires the "@vue/cli-plugin-eslint" module to be installed.
Note: All other lint-related packages are implementation specific.
Version
5.0.6
Environment info
Steps to reproduce
when I npm run lint script, I get this error
ERROR command "lint" does not exist.
What is expected?
to run lint command
What is actually happening?
ERROR command "lint" does not exist.