直接输出干货后,点击【Allactionsonsave】保存,试试Command+Option+L看格式化代码是否按照ESLint文件配置.
WebStorm使用EsLint格式化代码(format)相关文章