webstorm vue eslint 自動修正配置


原文:https://medium.com/@netczuk/even-faster-code-formatting-using-eslint-22b80d061461

https://stackoverflow.com/questions/46641682/how-to-configure-eslint-autofix-on-save-in-phpstorm-webstorm

 

1. 安裝插件 File Watchers

2. 

 

3. 

 

幾個關鍵值

/Users/ruby/Code/electron-vue-app/node_modules/.bin/eslint

--fix $FilePath$

$FileDir$

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM