process.env.NODE_ENV = process.env.NODE_ENV || 'development'

const environment = require('./environment')
const StyleLintPlugin = require('stylelint-webpack-plugin')

environment.plugins.append(
  'StyleLintPlugin',
  new StyleLintPlugin({
  })
)

environment.loaders.insert('standard-loader', {
  loader: 'standard-loader',
  test: /\.js$/,
  exclude: /vendor\/.+\.js$/,
  options: {
    error: true,
    globals: [
      '$',
      'ClientSideValidations',
      'google',
      'Handlebars',
      'HandlebarsTemplates',
      'I18n',
      'InfoBox',
      'initGoogleMaps'
    ]
  }
}, { after: 'babel'} )

module.exports = environment.toWebpackConfig()

@@ -234,16 +234,54 @@
 lugin(%7B%0A
+    files: '/app/**/*.(s(c%7Ca)ss%7Ccss)'%0A
   %7D)%0A)%0A%0A

Improve StyleLint configuration