var rules = require('./rules');

module.exports = {
  env: {
    browser: true,
    node: true,
    es6: true,
  },
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
      experimentalObjectRestSpread: true,
    },
  },
  rules: rules,
  plugins: ['react'],
};

var rules = require('./rules');

module.exports = {
  env: {
    browser: true,
    node: true,
    es6: true,
  },
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
      experimentalObjectRestSpread: true,
    },
  },
  settings: {
    react: {
      version: "16.0"
    }
  },
  rules: rules,
  plugins: ['react'],
};

Add react version of 16.0 in base eslint config so we don't get a warning on the repos using the config about not specifying the react version, hopefully eslint-plugin-react will allow us to specify the 'latest' here soon
Add react version of 16.0 in base eslint config so we don't get a warning on the repos using the config about not specifying the react version, hopefully eslint-plugin-react will allow us to specify the 'latest' here soon
