Skip to content

Commit

Permalink
Add msw to schema & types
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Mar 14, 2024
1 parent bb39123 commit a1a6bb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/knip/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@
"title": "Mocha plugin configuration (https://github.com/webpro/knip/blob/main/src/plugins/mocha/README.md)",
"$ref": "#/definitions/plugin"
},
"msw": {
"title": "Mocha plugin configuration (https://github.com/webpro/knip/blob/main/src/plugins/msw/README.md)",
"$ref": "#/definitions/plugin"
},
"netlify": {
"title": "Netlify plugin configuration (https://github.com/webpro/knip/blob/main/src/plugins/netlify/README.md)",
"$ref": "#/definitions/plugin"
Expand Down
1 change: 1 addition & 0 deletions packages/knip/src/ConfigurationValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const pluginsSchema = z.object({
linthtml: pluginSchema,
markdownlint: pluginSchema,
mocha: pluginSchema,
msw: pluginSchema,
netlify: pluginSchema,
next: pluginSchema,
'node-test-runner': pluginSchema,
Expand Down

0 comments on commit a1a6bb3

Please sign in to comment.