diff --git a/src/test/datascience/jupyterServer.node.ts b/src/test/datascience/jupyterServer.node.ts index 33b4fc342e1..310e2043fb1 100644 --- a/src/test/datascience/jupyterServer.node.ts +++ b/src/test/datascience/jupyterServer.node.ts @@ -410,7 +410,7 @@ export class JupyterServer { } function generateHashedPassword(password: string) { - const hash = crypto.createHash('sha1'); + const hash = crypto.createHash('sha1'); // CodeQL [SM04514] This is used only in tests and not in production. Also this is a requirement of the Jupyter Application (out of our control). const salt = genRandomString(16); hash.update(password); // CodeQL [SM01511] This password is hashed as per the requirements of Jupyter Server application, it is only used in tests (to launch a password protected jupyter server) and not production. hash.update(salt); diff --git a/src/webviews/webview-side/data-explorer/globalJQueryImports.ts b/src/webviews/webview-side/data-explorer/globalJQueryImports.ts index 916880b52e5..444ad2eda7b 100644 --- a/src/webviews/webview-side/data-explorer/globalJQueryImports.ts +++ b/src/webviews/webview-side/data-explorer/globalJQueryImports.ts @@ -12,8 +12,6 @@ After that we need to load slickgrid, and then the jQuery plugin from slickgrid // use slickgridJQ instead of the usual $ to make it clear that we need that JQ and not // the one currently in node-modules -// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports require('slickgrid/lib/jquery-1.11.2.min'); -// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports require('slickgrid/lib/jquery.event.drag-2.3.0');