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

  rules: {
    // specify the maximum depth callbacks can be nested
    'max-nested-callbacks': 0
  }
}

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

  rules: {
    // specify the maximum depth callbacks can be nested
    'max-nested-callbacks': 0,
    // specify the maximum number of statement allowed in a function
    'max-statements': 0
  }
}

Disable max-statements in Mocha tests