Skip to content

Commit 4a4687e

Browse files
authored
Add ignoreMembers to workspace schema (#1332)
1 parent b1ee776 commit 4a4687e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/knip/schema.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
"$ref": "#/definitions/list"
3838
},
3939
"ignoreMembers": {
40-
"title": "Class and enum members to exclude from the report (regex allowed)",
41-
"examples": ["render", "on.*"],
42-
"$ref": "#/definitions/list"
40+
"$ref": "#/definitions/ignoreMembers"
4341
},
4442
"ignoreUnresolved": {
4543
"title": "Unresolved imports to exclude from the report (regex allowed)",
@@ -203,6 +201,11 @@
203201
"type": "string"
204202
}
205203
},
204+
"ignoreMembers": {
205+
"title": "Class and enum members to exclude from the report (regex allowed)",
206+
"examples": ["render", "on.*"],
207+
"$ref": "#/definitions/list"
208+
},
206209
"issueTypes": {
207210
"type": "array",
208211
"items": {
@@ -282,6 +285,9 @@
282285
"examples": ["husky", "lint-staged"],
283286
"$ref": "#/definitions/list"
284287
},
288+
"ignoreMembers": {
289+
"$ref": "#/definitions/ignoreMembers"
290+
},
285291
"ignoreUnresolved": {
286292
"title": "Unresolved imports to exclude from the report (regex allowed)",
287293
"examples": ["#/virtual"],

0 commit comments

Comments
 (0)