From 48c7bda15732aabd1bdc676ce7ed329a27389c79 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Thu, 24 Aug 2023 16:20:03 +0200 Subject: [PATCH] Make linter happy --- package.json | 2 +- src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 728304a..a9fc679 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "clean:lib": "rimraf lib tsconfig.tsbuildinfo", "clean:lintcache": "rimraf .eslintcache .stylelintcache", "eslint": "jlpm eslint:check --fix", - "eslint:check": "eslint . --cache --ext .ts,.tsx", + "eslint:check": "eslint src --cache --ext .ts,.tsx", "install:extension": "jlpm build", "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", diff --git a/src/index.ts b/src/index.ts index 8b7f0db..35dc5ae 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,6 +34,7 @@ const sidecarPlugin: JupyterFrontEndPlugin = { w.addClass('jp-LinkedOutputView'); w.title.label = this.model.get('title'); w.title.closable = true; + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore app.shell._rightHandler.sideBar.tabCloseRequested.connect( (sender: any, tab: any) => {