If a file uses the TypeScript export assignment syntax (export =), this does not get picked up by the 'no-export' rule.
The rule currently supports ExportNameDeclaration, ExportDefaultDeclaration, and MemberExpression, but does not support the TSExportAssignment node.