module.exports = {
  extends: [
    './base.js'
  ],
  plugins: [
    'node',
    'es5'
  ],
  rules: {
    'es5/no-block-scoping': 'error',
    'node/no-unsupported-features': 'error',
    'node/no-deprecated-api': 'error',
    'no-const-assign': 'error',
    'no-dupe-class-members': 'error',
    'no-new-symbol': 'error',
    'require-yield': 'error',
    'constructor-super': 'error',
    'no-this-before-super': 'error',
    'generator-star-spacing': ['error', { before: true }],
    'prefer-arrow-callback': 'error',
    'arrow-parens': ['error', 'as-needed'],
    'arrow-body-style': ['error', 'always'],
    'prefer-template': 'error',
    'template-curly-spacing': ['error', 'always']
  },
  env: {
    es6: true
  }
}

module.exports = {
  extends: [
    './base.js'
  ],
  plugins: [
    'node',
    'es5'
  ],
  rules: {
    'es5/no-block-scoping': 'error',
    'node/no-unsupported-features': 'error',
    'node/no-deprecated-api': 'error',
    'no-const-assign': 'error',
    'no-dupe-class-members': 'error',
    'no-new-symbol': 'error',
    'require-yield': 'error',
    'constructor-super': 'error',
    'no-this-before-super': 'error',
    'generator-star-spacing': ['error', { before: true }],
    'prefer-arrow-callback': 'error',
    'arrow-parens': ['error', 'as-needed'],
    'arrow-body-style': 'error',
    'object-shorthand': 'error',
    'arrow-spacing': 'error',
    'prefer-template': 'error',
    'template-curly-spacing': ['error', 'always']
  },
  env: {
    es6: true
  }
}

Fix ES6 code style