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
Table of contents 1. Object change detection 2. Q...
The img tag introduces the image Because react ac...
Without further ado, let's take a look at the...
I have been in contact with MGR for some time. Wi...
Copy code The code is as follows: <!DOCTYPE HT...
This article shares the specific code of JS to ac...
Preface Recently, I found a pitfall in upgrading ...
Table of contents MySQL Shell import_table data i...
This article example shares the specific code of ...
Preface Recently, our company has configured mbp,...
Using fonts on the Web is both a fundamental skill...
The main contents of this article are as follows:...
The virtual machine is installed on the host mach...
Preface: Partitioning is a table design pattern. ...
1. Summary: In general, they can be divided into ...