// For reference: https://github.com/airbnb/javascript

module.exports = {
  env: {
    mocha: true,
    browser: true,
  },

  parserOptions: {
    sourceType: 'script',
  },

  rules: {
    // We still get the value of this rule, it just allows for dev deps
    'import/no-extraneous-dependencies': ['error', {
      devDependencies: true
    }],

    // We want to keep each test structured the same, even if its contents are tiny
    'arrow-body-style': 'off',
  }
};

// For reference: https://github.com/airbnb/javascript

module.exports = {
  env: {
    mocha: true,
    browser: true,
  },

  globals: {
    assert: true
  },

  parserOptions: {
    sourceType: 'script',
  },

  rules: {
    // We still get the value of this rule, it just allows for dev deps
    'import/no-extraneous-dependencies': ['error', {
      devDependencies: true
    }],

    // We want to keep each test structured the same, even if its contents are tiny
    'arrow-body-style': 'off',
  }
};

Whitelist `assert` global for tests
Whitelist `assert` global for tests
