Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
›
Vue.js
Advertisement
V2EX
›
Vue.js
eslint+prettier 如何配置才能允许标签内与括号内空行
MMMcrystal
·
Mar 14, 2021
· 2216 views
This topic created in 1876 days ago, the information mentioned may be changed or developed.
<template> 空行 </template> <script> export default { 空行 } </script> <style> 空行 </style>
我新建这样的 vue 文件,空行的部分都会报错要求我删除,格式化的时候就会自动删除空行,有没有配置 option 可以解决这个问题呢
空行
template
script
style
2 replies
•
2021-03-15 06:01:32 +08:00
1
MMMcrystal
OP
Mar 14, 2021

2
NoDocCat
Mar 15, 2021
都用 prettier 了, 为什么还想着自己去定义格式呢?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
767 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 21:04
·
PVG 05:04
·
LAX 14:04
·
JFK 17:04
♥ Do have faith in what you're doing.
❯