当前位置:网站首页>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
边栏推荐
- ucore lab8 文件系统 实验报告
- MySQL数据库(二)DML数据操作语句和基本的DQL语句
- Mysql database (IV) transactions and functions
- Word macro operation: convert the automatic number in the document into editable text type
- UCORE LaB6 scheduler experiment report
- Report on the double computer experiment of scoring system based on 485 bus
- Maximum nesting depth of parentheses in leetcode simple questions
- How to rename multiple folders and add unified new content to folder names
- 转行软件测试必需要知道的知识
- Crawler series (9): item+pipeline data storage
猜你喜欢
遇到程序员不修改bug时怎么办?我教你
What are the software testing methods? Show you something different
Daily code 300 lines learning notes day 9
转行软件测试必需要知道的知识
Automated testing problems you must understand, boutique summary
Leetcode notes - dynamic planning -day6
ucore lab1 系统软件启动过程 实验报告
Leetcode notes - dynamic planning -day7
How to write the bug report of software test?
ucore lab5用户进程管理 实验报告
随机推荐
csapp shell lab
The most detailed postman interface test tutorial in the whole network. An article meets your needs
Knowledge that you need to know when changing to software testing
转行软件测试必需要知道的知识
ucore lab7
Iterators and generators
UCORE lab2 physical memory management experiment report
ucore lab6 调度器 实验报告
UCORE lab1 system software startup process experimental report
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.
How to rename multiple folders and add unified new content to folder names
[200 opencv routines] 98 Statistical sorting filter
[C language] twenty two steps to understand the function stack frame (pressing the stack, passing parameters, returning, bouncing the stack)
基于485总线的评分系统双机实验报告
Nest and merge new videos, and preset new video titles
软件测试需求分析之什么是“试纸测试”
MySQL development - advanced query - take a good look at how it suits you
MySQL数据库(三)高级数据查询语句
软件测试面试回答技巧