当前位置:网站首页>Eslint--- error: newline required at end of file but not found (EOL last) solution
Eslint--- error: newline required at end of file but not found (EOL last) solution
2022-07-06 15:23:00 【Cirrod】
1. stay eslint Of vue Appears when the project is compiled :
[ESLint] error: Newline required at end of file but not found (eol-last) terms of settlement
as a result of : There is no blank line at the end of the file code to indicate the end
Example :
Solution :
1. stay Edit the file code with a blank line at the end
( Not recommended , Because if you use vscode Of css-jss-formatter plug-in unit Words , The code will save the most Delete the blank line after )
2. Recommend the second solution
1. There is a configuration file in the project .editorconfig
,insert_final_newline=true
Change to false
2. .eslintrc.js
Cancel the verification of the last rule in 'eol-last': 0
3. recompile
边栏推荐
- Do you know the performance testing terms to be asked in the software testing interview?
- C4D quick start tutorial - Introduction to software interface
- Pedestrian re identification (Reid) - Overview
- What are the commonly used SQL statements in software testing?
- Servlet
- Nest and merge new videos, and preset new video titles
- Description of Vos storage space, bandwidth occupation and PPS requirements
- How to write the bug report of software test?
- LeetCode#53. Maximum subarray sum
- ucore lab 6
猜你喜欢
Interview answering skills for software testing
The number of reversing twice in leetcode simple question
csapp shell lab
Description of Vos storage space, bandwidth occupation and PPS requirements
In Oracle, start with connect by prior recursive query is used to query multi-level subordinate employees.
Capitalize the title of leetcode simple question
C4D quick start tutorial - Introduction to software interface
Servlet
The minimum number of operations to convert strings in leetcode simple problem
UCORE lab7 synchronous mutual exclusion experiment report
随机推荐
csapp shell lab
Global and Chinese market of pinhole glossmeter 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of RF shielding room 2022-2028: Research Report on technology, participants, trends, market size and share
Do you know the performance testing terms to be asked in the software testing interview?
Example 071 simulates a vending machine, designs a program of the vending machine, runs the program, prompts the user, enters the options to be selected, and prompts the selected content after the use
Your wechat nickname may be betraying you
How to become a good software tester? A secret that most people don't know
几款开源自动化测试框架优缺点对比你知道吗?
Want to change jobs? Do you know the seven skills you need to master in the interview software test
Portapack application development tutorial (XVII) nRF24L01 launch B
Global and Chinese market for antiviral coatings 2022-2028: Research Report on technology, participants, trends, market size and share
Sorting odd and even subscripts respectively for leetcode simple problem
安全测试入门介绍
CSAPP家庭作业答案7 8 9章
Currently, mysql5.6 is used. Which version would you like to upgrade to?
ucore lab8 文件系统 实验报告
线程及线程池
Eigen User Guide (Introduction)
UCORE LaB6 scheduler experiment report
Mysql database (II) DML data operation statements and basic DQL statements