Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否添加一个选项,仅删除空行 #20

Closed
ljcbaby opened this issue Jul 19, 2020 · 2 comments
Closed

可否添加一个选项,仅删除空行 #20

ljcbaby opened this issue Jul 19, 2020 · 2 comments

Comments

@ljcbaby
Copy link

ljcbaby commented Jul 19, 2020

对于对于现有的形式,在git提交过程中,基本上相当于所有文件重写。这样的变更量太大,对于git来讲并不适。
如果仅仅是删除空行,这样就不至于造成文件重写,每次git同步的变化量也要小很多。

@ohroy
Copy link
Owner

ohroy commented Jul 20, 2020

目前已有此选项

neat_html:
  enable: true
  exclude: null
  preserveLineBreaks: true # 此选项决定移除空白行时不进行行折叠

@ohroy ohroy closed this as completed Jul 20, 2020
@ljcbaby
Copy link
Author

ljcbaby commented Jul 20, 2020

只有html有此选项吗?
还是js和css都有?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants