Skip to content

Commit ff70926

Browse files
authored
Provide lint-local commands to enable use of .eslintrc.local.json supported by #871
1 parent c66f685 commit ff70926

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@
272272
"compile:integration": "tsc -p tsconfig.integration.json",
273273
"install:all": "npm install && cd webview-ui && npm install",
274274
"lint": "eslint src --ext ts && npm run lint --prefix webview-ui",
275+
"lint-local": "eslint -c .eslintrc.local.json src --ext ts && npm run lint --prefix webview-ui",
275276
"lint-fix": "eslint src --ext ts --fix && npm run lint-fix --prefix webview-ui",
277+
"lint-fix-local": "eslint -c .eslintrc.local.json src --ext ts --fix && npm run lint-fix --prefix webview-ui",
276278
"package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
277279
"pretest": "npm run compile && npm run compile:integration",
278280
"dev": "cd webview-ui && npm run dev",

0 commit comments

Comments
 (0)