当前位置:网站首页>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
边栏推荐
- 软件测试方法有哪些?带你看点不一样的东西
- 软件测试面试要问的性能测试术语你知道吗?
- Daily code 300 lines learning notes day 9
- ucorelab4
- 软件测试Bug报告怎么写?
- LeetCode#198. raid homes and plunder houses
- ucore lab2 物理内存管理 实验报告
- Heap, stack, queue
- Global and Chinese markets of PIM analyzers 2022-2028: Research Report on technology, participants, trends, market size and share
- ucore lab1 系统软件启动过程 实验报告
猜你喜欢
Lab 8 文件系统
全网最详细的postman接口测试教程,一篇文章满足你
Stc-b learning board buzzer plays music
[C language] twenty two steps to understand the function stack frame (pressing the stack, passing parameters, returning, bouncing the stack)
The latest query tracks the express logistics and analyzes the method of delivery timeliness
CSAPP homework answers chapter 789
FSM和i2c实验报告
How to become a good software tester? A secret that most people don't know
软件测试有哪些常用的SQL语句?
如何成为一个好的软件测试员?绝大多数人都不知道的秘密
随机推荐
安全测试入门介绍
Introduction to variable parameters
Rearrange spaces between words in leetcode simple questions
ucore lab2 物理内存管理 实验报告
ucore lab5用户进程管理 实验报告
Dlib detects blink times based on video stream
Eigen User Guide (Introduction)
ArrayList集合
Mysql database (V) views, stored procedures and triggers
Leetcode notes - dynamic planning -day7
12306: mom, don't worry about me getting the ticket any more (1)
Crawler series (9): item+pipeline data storage
[C language] twenty two steps to understand the function stack frame (pressing the stack, passing parameters, returning, bouncing the stack)
Future trend and planning of software testing industry
How to change XML attribute - how to change XML attribute
MySQL transactions
Mysql database (IV) transactions and functions
LeetCode#412. Fizz Buzz
ucore lab7 同步互斥 实验报告
Global and Chinese markets of PIM analyzers 2022-2028: Research Report on technology, participants, trends, market size and share