'use strict';

const eslint = exports;

// What environments the code runs in.
eslint.env = {
  'shared-node-browser': true,
  es6: true,
  commonjs: true,
};

// Default configs plus my personal fav.
eslint.extends = [
  'eslint:recommended',
  'llama',
];

// Custom parser for draft-stage language features.
eslint.parser = 'babel-eslint';

// List of plugins.
eslint.plugins = [
  'babel',
];

// Enable ES module support.
eslint.parserOptions = {
  sourceType: 'module',
};

// Add custom rules here.
eslint.rules = {

  // JS-Next specific rules.
  'babel/generator-star-spacing': 'error',
  'babel/new-cap': 'error',
  'babel/array-bracket-spacing': 'error',
  'babel/object-curly-spacing': ['error', 'always'],
  'babel/object-shorthand': 'error',
  'babel/arrow-parens': 'error',
  'babel/no-await-in-loop': 'off',
  'babel/flow-object-type': 'error',
  'babel/func-params-comma-dangle': 'error',
};

@@ -559,349 +559,112 @@
 bel/
-generator-star-spacing': 'error',%0A  'babel/new-cap': 'error',%0A  'babel/array-bracket-spacing': 'error',%0A  'babel/object-curly-spacing': %5B'error', 'always'%5D,%0A  'babel/object-shorthand': 'error',%0A  'babel/arrow-parens': 'error',%0A  'babel/no-await-in-loop': 'off',%0A  'babel/flow-object-type': 'error',%0A  'babel/func-params-comma-dangle': 'error
+new-cap': 'error',%0A  'babel/object-curly-spacing': %5B'error', 'always'%5D,%0A  'babel/no-await-in-loop': 'off
 ',%0A%7D

Remove deprecated eslint rules