module.exports = {
  env: {
    browser: true,
  },
  extends: 'eslint:recommended',
  parser: 'babel-eslint',
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
    ecmaVersion: 2015,
    sourceType: 'module',
  },
  plugins: [
    'react',
  ],
  rules: {
    'comma-dangle': [1, 'always-multiline'],
    'no-console': 0,
    'no-var': 1,
    'prefer-const': 1,
    'react/jsx-uses-vars': 1,
  },
};

module.exports = {
  env: {
    browser: true,
  },
  extends: 'eslint:recommended',
  parser: 'babel-eslint',
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
    ecmaVersion: 2015,
    sourceType: 'module',
  },
  plugins: [
    'react',
  ],
  rules: {
    // Rules included in ESLint
    'comma-dangle': [1, 'always-multiline'],
    'no-console': 0,
    'no-multi-spaces': 1,
    'no-unused-expressions': 1,
    'no-var': 1,
    'prefer-const': 1,

    // React rules from eslint-plugin-react
    'react/jsx-uses-vars': 1,
  },
};

Enable ESLint rules that are already passing
Enable ESLint rules that are already passing

* no-multi-spaces: error on multiple spaces in a row
* no-unused-expressions: error on unused expressions, probably an error
  or a typo