zulip/frontend_tests/zjsunit
Anders Kaseorg d72423ef21 eslint: Replace empty-returns with consistent-return.
Instead of prohibiting ‘return undefined’ (#8669), we require that a
function must return an explicit value always or never.  This prevents
you from forgetting to return a value in some cases.  It will also be
important for TypeScript, which distinguishes between undefined and
void.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-25 15:17:59 -07:00
..
handlebars.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
i18n.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
index.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
markdown_assert.js js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
mdiff.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
namespace.js node_tests: Don't remove require cache of module in zrequire. 2020-09-01 19:55:58 -07:00
stub.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
zblueslip.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
zjquery.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00