Tag Archives: Front end-vue

Problems with vue project installation No ESLint configuration found

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! ✌ ️ ✌ ️ ✌ ️ ✌ ️ ✌ ️ ✌ ️