The problem of fixable with the `–fix` option appears in the running of the vscode project

1.

module.exports = {

// close validation

lintOnSave: false

}

2.

Related to creating a project Eslint setup, the solution:

Modify “lint”: “vue-cli-service lint” in package.json to: eslint –fix –ext .js,.vue src

Error reporting solution: 1. Directly delete the code before the modification

  1. Click on json in the lower right corner of [vscode]

Convert it to JSON with Comments

Leave a Comment

Your email address will not be published. Required fields are marked *