js: Add "use strict" directive to CommonJS files.

ES and TypeScript modules are strict by default and don’t need this
directive.  ESLint will remind us to add it to new CommonJS files and
remove it from ES and TypeScript modules.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-31 18:43:15 -07:00
committed by Tim Abbott
parent 39c3a02736
commit 6ec808b8df
370 changed files with 746 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
"use strict";
const autosize = require("autosize");
const util = require("./util");