module.exports = {
  rules: {
    // disallow usage of expressions in statement position
    'no-unused-expressions': 0
  }
}

module.exports = {
  globals: {
    expect: true
  },
  rules: {
    // disallow usage of expressions in statement position
    'no-unused-expressions': 0
  }
}

Mark expect as a global when using Chai
Mark expect as a global when using Chai

In some test running configurations (such as when using Karma),
`expect` is treated as a global symbol and does not need to be imported.

This PR updates `chai.js` to mark `expect` as a global so ESLint
doesn’t report it as an undefined value.
