Skip to content

Commit ab272b9

Browse files
committed
chore: update ESLint configuration to ignore webview files and add new ESLint plugins
1 parent 6924065 commit ab272b9

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"ignorePatterns": [
3434
"out",
3535
"dist",
36-
"**/*.d.ts"
36+
"**/*.d.ts",
37+
"src/webviews/**"
3738
]
3839
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"watch-tests": "tsc -p . -w --outDir out",
222222
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
223223
"check-types": "tsc --noEmit",
224-
"lint": "eslint src --ext ts",
224+
"lint": "eslint src --ext ts --ignore-pattern \"src/webviews/**\"",
225225
"test": "vscode-test",
226226
"prepare": "husky"
227227
},
@@ -243,6 +243,8 @@
243243
"eslint": "^8.57.0",
244244
"eslint-config-prettier": "^9.1.0",
245245
"eslint-plugin-prettier": "^5.1.3",
246+
"eslint-plugin-react-hooks": "^5.2.0",
247+
"eslint-plugin-react-refresh": "^0.4.19",
246248
"husky": "^9.0.11",
247249
"lint-staged": "^15.2.2",
248250
"npm-run-all": "^4.1.5",

pnpm-lock.yaml

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)