How to close eslint in electron

has commented out the configuration of eslint in the webpack.main.config.js in the npm run dev
, but eslint still prompts an error

when it comes to npm run dev.
module: {
    rules: [
      // {
      //   test: /\.(js)$/,
      //   enforce: "pre",
      //   exclude: /node_modules/,
      //   use: {
      //     loader: "eslint-loader",
      //     options: {
      //       formatter: require("eslint-friendly-formatter")
      //     }
      //   }
      // },
      {
        test: /\.js$/,
        use: "babel-loader",
        exclude: /node_modules/
      },
      {
        test: /\.node$/,
        use: "node-loader"
      }
    ]
  },

clipboard.png

Mar.18,2021

are you done, Big Brother?

Menu