Skip to content

Commit 2b574fb

Browse files
authored
Merge pull request #896 from nissa-seru/patch-3
Provide lint-local commands to enable use of .eslintrc.local.json supported by #871
2 parents 0ef4cc0 + ff70926 commit 2b574fb

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
@@ -282,7 +282,9 @@
282282
"compile:integration": "tsc -p tsconfig.integration.json",
283283
"install:all": "npm install && cd webview-ui && npm install",
284284
"lint": "eslint src --ext ts && npm run lint --prefix webview-ui",
285+
"lint-local": "eslint -c .eslintrc.local.json src --ext ts && npm run lint --prefix webview-ui",
285286
"lint-fix": "eslint src --ext ts --fix && npm run lint-fix --prefix webview-ui",
287+
"lint-fix-local": "eslint -c .eslintrc.local.json src --ext ts --fix && npm run lint-fix --prefix webview-ui",
286288
"package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
287289
"pretest": "npm run compile && npm run compile:integration",
288290
"dev": "cd webview-ui && npm run dev",

0 commit comments

Comments
 (0)