it will not be reported and displayed correctly. No matter how I configure indent in my rules, it will not solve the indentation problem under the script tag! ESLINT3 doesn"t have this problem, but eslint 4 does!
it will not be reported and displayed correctly. No matter how I configure indent in my rules, it will not solve the indentation problem under the script tag! ESLINT3 doesn"t have this problem, but eslint 4 does!
I set the top box for formatting directly in WebStorm
:https://github.com/vuejs/esli...
vue
.eslintrc.js
vue project, just set this
eslint is configured with 2 space indentation rules, you here are 4 space indentation, you reported an error
excuse me, has this problem been solved? I met it, too. I don't know how to solve it!
I have the same problem. Because when using quick formatting code with webStorm, the first line under < script >
will automatically indent 2 squares, while eslint
will think this is an error.
I have found a solution to this problem, which is to upgrade your eslint-loader vue-cli build using version 1.7.1 of eslint-loader. This problem will not occur when I upgrade to 1.9.0. It is suggested that you can try
.Previous: Very simple js variable difficulty, who can make me understand
Next: How Charles forwards online addresses to local addresses
.eslintrc.js is configured as follows description: The problem with is plugin:vue essential . If you comment it out, vscode will work properly. npm run dev can run normally and will not report an error of export . Of course, an error ...
const invalidTunnelIds = result.data && result.data.invalidTunnelIds || [] this code feels normal. I don t know why eslint reported it wrong. ...
vue-cli adds eslinit error after generating vue project. version is as follows: "babel-eslint": "^8.2.1", "eslint": "^4.15.0", "eslint-config-standard": "^10.2.1", "eslint-friendly-form...
120:26 error v-on directives don t support the modifier sync vue valid-v-on : <el-button size="small" style="margin-left: 0px" type="primary" @click.sync="submitQuery"&...
let baseurl = ` search?keyword=${key} `; baseurl is assigned a value but never used baseurl += &page=1 ; if (this.checkAll === false) { baseurl += &range= ; for (let i = 0; i < this.checkedParts...
this is my .eslintrc.js file module.exports = { root: true, parser: "babel-eslint", "env": { "browser": true, "node": true, "commonjs": true, "es6&qu...