]> source.dussan.org Git - jquery.git/commit
Build: Require strict mode in Node.js scripts via ESLint
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 8 Oct 2019 22:17:55 +0000 (00:17 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 22:17:55 +0000 (00:17 +0200)
commitbbad821c399da92995a11b88d6684970479d4a9b
tree6c37c0b6d7f5115f452bcfbf07b223a03a29d431
parent4504fc3d722dd029d861cb47aa65a5edc651c4d3
Build: Require strict mode in Node.js scripts via ESLint

So far, only browser-based JS files were required to be in strict mode (in the
function form). This commit adds such a requirement to Node.js scripts where
the global form is preferred. All Node.js scripts in sloppy mode were
converted to strict mode.

Closes gh-4499
.eslintrc-node.json
Gruntfile.js
build/release.js
build/release/cdn.js
build/release/dist.js
build/tasks/build.js
build/tasks/dist.js
build/tasks/node_smoke_tests.js
build/tasks/qunit_fixture.js
build/tasks/sourcemap.js
build/tasks/testswarm.js