I recently merged a change that showed a post build error here: https://integration.wikimedia.org/ci/job/mwext-jsduck-publish/8057/console
(T207386)
I have traced this to this merged change here adding the wikibase termbox repository from phabricator:
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/469323/ (T207042)
Presumably this means that jsduck needs to be told to skip these non compliant files somehow. Currently it runs on everything in /view/.