/* global module */

/**
 * Configuration for PostCSS.
 *
 * Properties names correspond to the `postcss-cli` properties
 * accepted by the PostCSS CLI API -- with the addition of
 * plugin names for plugin settings.
 * (@see: https://github.com/postcss/postcss-cli)
 */
module.exports = {
  input: 'src/index.css',
  output: 'build/ticketfly-css.css',

  // ⚠️ Order matters! PostCSS will run plugins in the order listed.
  use: [
    'stylelint',
    'postcss-import',
    'autoprefixer',
    'cssstats',
    'postcss-custom-media',
    'postcss-custom-properties',
    'postcss-calc',
    'postcss-discard-comments',
    'postcss-remove-root',
    'postcss-reporter'
  ],

  stylelint: {
    configFile: './stylelint.config.js',
    configOverrides: {
      ignoreFiles: '**/ticketfly-css-normalize/**'
    },
    plugins: [
      'stylelint'
    ]
  },

  'postcss-reporter': {
    clearAllMessages: true,
    throwError: true
  }
};

@@ -808,48 +808,8 @@
    %7D
-,%0A    plugins: %5B%0A      'stylelint'%0A    %5D
 %0A  %7D

edit postcss.config