From ff70926015f97561d9a78dcc3de164c928548d00 Mon Sep 17 00:00:00 2001 From: Nissa Seru <119150866+nissa-seru@users.noreply.github.com> Date: Sun, 9 Feb 2025 06:06:36 -0700 Subject: [PATCH] Provide lint-local commands to enable use of .eslintrc.local.json supported by #871 --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index a525cde4c0..2dc8b82e43 100644 --- a/package.json +++ b/package.json @@ -272,7 +272,9 @@ "compile:integration": "tsc -p tsconfig.integration.json", "install:all": "npm install && cd webview-ui && npm install", "lint": "eslint src --ext ts && npm run lint --prefix webview-ui", + "lint-local": "eslint -c .eslintrc.local.json src --ext ts && npm run lint --prefix webview-ui", "lint-fix": "eslint src --ext ts --fix && npm run lint-fix --prefix webview-ui", + "lint-fix-local": "eslint -c .eslintrc.local.json src --ext ts --fix && npm run lint-fix --prefix webview-ui", "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production", "pretest": "npm run compile && npm run compile:integration", "dev": "cd webview-ui && npm run dev",