zulip/frontend_tests
Anders Kaseorg 02004c9b0f js: Convert self-referential vars to const.
ESLint won’t convert these automatically because it can’t rule out a
behavior difference arising from an access to a self-referential var
before it’s initialized:

> var x = (f => f())(() => x);
undefined
> let y = (f => f())(() => y);
Thrown:
ReferenceError: Cannot access 'y' before initialization
    at repl:1:26
    at repl:1:15

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-10-28 15:02:43 -07:00
..
casper_lib js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
casper_tests js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
node_tests js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
zjsunit js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper node_cache: Run yarn with --ignore-scripts. 2019-08-26 14:36:03 -07:00