Error No ESLint configuration found
occurs when ESLint is selected when installing vue project with low version scaffold. The solution is as follows:
npm init -ynpm install eslint –save-dev./node_modules/.bin/eslint –init
The problem with No ESLint Configuration Found was resolved after the above three steps, but there will be other errors, so if there is a. Eslintrc.js file in the project, change it to the following. If there is No file created, write the following code:
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
},
extends: [
error-prevention
'plugin:vue/essential',
'standard'
],
plugins: [
'vue'
],
rules: {
'generator-star-spacing': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ?'error' : 'off'
}
}
There’s nothing wrong with running a project now! ✌ ️ ✌ ️ ✌ ️ ✌ ️ ✌ ️ ✌ ️
Read More:
- Solve the problem of “error empty block statement no empty” in the console (Vue project)
- Vscode development Vue project eslint check error
- Solution of “do not use ‘new’ for side effects” for eslint verification of Vue project
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- Solution to prompt “cannot find module ‘eslint config defaults / configurations / eslint’” when submitting with Git
- Problems that Vue project manager can’t open
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- Configuration: error: no acceptable C compiler found in $path error in Linux installation file
- Idea installation vue.js After plug-in, new has no Vue component
- To solve problems in cmake VTK: error configuration process, project files may be invalid
- Error: no mail configuration found…
- Vue: validation syntax error of eslint
- To solve the problem in Windows opencv installation: error configuration process, project files may be invalid
- Vue error: no postcss config found solution
- [actual record of Android stepping on the pit] Android studio reports an error invalid gradle JDK configuration found after importing the project
- An error was reported on the command line of Vue when it first wrote a small project: expected indentation of 4 spaces but found 6
- About error statuslogger no log4j2 configuration file found
- [Solved] Vue Project Error: This relative module was not found
- ERROR StatusLogger No log4j2 configuration file found.
- ERROR StatusLogger No Log4j 2 configuration file found