webstorm 代碼格式化設置與eslint standard一致

新弄了個vue項目,使用的eslint是standard規範。 新建項目,用webstorm打開項目,順利開搞,結果一到vue組件裏,就報紅色歎號錯誤了。 這裏就需要配置一下webstorm裏的code style 打開配置路徑: file--->settings,打開webstorm配置窗口 配置js格式化規範 配置html/vue組件 在do not indent children of里加入
相關文章
相關標籤/搜索