The latest version complies with the MediaWiki coding conventions. There may be a detail here or there, but 99% complies. We should still add a jshint though.
See T118941: Switch to eslint for our linting and our code styling in all Wikimedia JavaScript code.