Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

eslint 有没有办法自己格式化一些分号,空格的问题

使用webstorm开发,随便加入一个外来的js文件(可以稳定运行的),eslint会有很多错误 有办法可以自动修复一些格式问题吗?太多一个个去改实在太麻烦了,大家都是怎么处理,请高手指点。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

可以传个fix 很坑爹,只能修改一些简单的错误.关键还是写代码的时候一定要规范.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...