首页 > 技术文章 > electron 关闭eslint

zhunong 2021-06-02 09:39 原文

> 在使用手脚架安装的时候选了eslint,写代码的时候爽的不要不要的

这个时候,在这三个文件中,找到,删掉就完事 以下的代码

      {
        test: /\.(js|vue)$/,
        enforce: 'pre',
        exclude: /node_modules/,
        use: {
          loader: 'eslint-loader',
          options: {
            formatter: require('eslint-friendly-formatter')
          }
        }
      },

 

 

推荐阅读