old_contents: var webpack = require('webpack');
  var cssImport = require('postcss-import');
  var cssNested = require('postcss-nested');
  
  module.exports = {
    context : __dirname,
    entry : {
      main  : './app/main.js',
      entry : './app/entry.js'
    },
    output : {
      path : './dist',
      filename : '[name].js',
    },
    node : {
      __dirname  : false
    },
    module : {
      loaders : [
        {
          test : /\.js$/,
          loader : 'babel-loader',
          exclude : /node_modules/
        },
        {
          test : /\.json$/,
          loader : 'json?sourceMap'
        },
        {
          test: /\.css$/,
          loaders: ['style', 'css?modules&localIdentName=[local]--[hash:base64:5]', 'postcss'],
        },
        {
          test: /\.svg$/,
          loader: 'svg-url-loader'
        }
      ]
    },
    postcss : [cssImport, cssNested],
    target : 'electron'
  };
  
new_contents: var webpack = require('webpack');
  var cssImport = require('postcss-import');
  var cssNested = require('postcss-nested');
  
  module.exports = {
    context : __dirname,
    entry : {
      main  : './app/main.js',
      entry : './app/entry.js'
    },
    output : {
      path : './dist',
      filename : '[name].js',
    },
    node : {
      __dirname  : false
    },
    module : {
      loaders : [
        {
          test : /\.js$/,
          loader : 'babel-loader',
          exclude : /node_modules/
        },
        {
          test : /\.json$/,
          loader : 'json?sourceMap'
        },
        {
          test: /\.css$/,
          loaders: ['style', 'css?modules&localIdentName=[local]--[hash:base64:5]', 'postcss'],
        },
        {
          test: /\.svg$/,
          loader: 'svg-url-loader'
        },
        {
          test: /\.js$/,
          loader: 'eslint',
          exclude: /node_modules/
        }
      ]
    },
    postcss : [cssImport, cssNested],
    target : 'electron',
    eslint: {
      fix: true
    }
  };
  
subject: use eslint-loader