module.exports = {
  extends: [
    'plugin:ember/recommended',
    require.resolve('./base.js')
  ],
  env: {
    'browser': true
  },
  rules: {
    'new-cap': [ 'error', { 'capIsNewExceptions': [ 'A' ] } ],

    // Custom rules
    'ember/no-empty-attrs': 'error',
    // We actually do not want to turn this rule off. However,
    // the current rule has a bug. This rule does not take into
    // account the new module import syntax. Until this is fixed,
    // this rule should be turned off.
    'ember/no-global-jquery': 'off'
  }
};

module.exports = {
  extends: [
    'plugin:ember/recommended',
    require.resolve('./base.js')
  ],
  env: {
    'browser': true
  },
  rules: {
    'new-cap': [ 'error', { 'capIsNewExceptions': [ 'A' ] } ],
    'no-console': [ 'error', { 'allow': [ 'warn', 'error' ] } ],

    // Custom rules
    'ember/no-empty-attrs': 'error',
    // We actually do not want to turn this rule off. However,
    // the current rule has a bug. This rule does not take into
    // account the new module import syntax. Until this is fixed,
    // this rule should be turned off.
    'ember/no-global-jquery': 'off'
  }
};

Update no-console rule for Ember
Update no-console rule for Ember

Ember is getting rid of the logger, which really was just a thing wrapper around the console and existed to patch up cross-browser inconsistencies. So, modify the rule so we can use console directly for warnings and errors, but we still assume logs are dev artifacts that should not be checked in.
