Project scenario:When running the Vue project, there was an indentation error. I was using the idea compiler and checked online. Most of them directly changed the number of indents, but I thought it was troublesome and just wanted to turn off the verification. Problem description:Vue indentation error occurs in idea compiler
Solution:Just add these three lines of code in .eslintrc.js 'no-tabs':'off', 'indent':'off', 'space-before-function-paren':0 After joining rules: // allow async-await 'generator-star-spacing': 'off', // allow debugger during development 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-tabs':'off', 'indent':'off', 'space-before-function-paren':0 } This is the end of this article about the scenario analysis of the Vue indentation error problem in the idea compiler. For more relevant Vue indentation error content, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: A simple example of MySQL joint table query
>>: How to use the dig/nslookup command to view DNS resolution steps
1. Download from the official website and unzip h...
The installation process is basically the same as...
This article shares the specific code of JavaScri...
If you’re new to Docker, take a look at some of t...
Countdown function needs to be implemented in man...
1. Basic implementation of limit In general, the ...
Preface When we were writing the horse, I guess e...
This article shares the specific code of js to im...
Table of contents Preface How to switch between m...
Drop-down box, text field, file field The upper p...
Preface: Vue3.0 implements echarts three-dimensio...
Preface: When we need to store decimals and have ...
Table of contents 1. The role of nginx process lo...
Use ktl tool to synchronize data from mysql to my...
Table of contents 1. Build Docker 2. Enter the co...