最近在項目中嘗試使用eslint還有typescript,看了一些博客以及官方文檔,通常都是加上這樣一句/* eslint-disable no-new */然后我遇到了下面這種問題其實我可以把代碼改成:import Vue from 'vue'import App from './App.vue'import router from './router'Vue.config.productionTip = false/* eslint-disable no-new */const vue = new Vue({ el: '#app', router, render: h => h(App)})除開這樣的方法,單就更改eslint配置的話怎么寫呢?求指教
關于ESlint報錯提示的問題
HUX布斯
2019-03-06 14:15:02