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. Self-enumerable properties 2...
Table of contents Function Introduction Rendering...
I summarized the previous notes on installing MyS...
Implementation Preparation # Need to back up the ...
This article shares the specific code for JavaScr...
Table of contents 1. Script vim environment 2. Ho...
Environment: init_worker_by_lua, set_by_lua, rewr...
I see many novice students doing front-end develop...
Virtual machines are very convenient testing soft...
Need to know how many days there are before an im...
MySQL 5.7.9 version sql_mode=only_full_group_by i...
Table of contents A brief overview of the replica...
Nginx is configured with the same domain name, wh...
1. Shut down MySQL [root@localhost /]# service my...
1. <body> tag: Used to mark the main body o...