This rule is aimed at disallowing exports = {}
, but allows module.exports = exports = {}
to avoid conflict with node/exports-style rule's allowBatchAssign
option.
exports = {}
module.exports.foo = 1
exports.bar = 2
module.exports = {}
// allows `exports = {}` if along with `module.exports =`
module.exports = exports = {}
exports = module.exports = {}