Provide lint-local commands to enable use of .eslintrc.local.json supported by #871

This commit is contained in:
Nissa Seru 2025-02-09 06:06:36 -07:00 committed by GitHub
parent c66f685e03
commit ff70926015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",