chore: Restrict import of passport package

This commit is contained in:
Tom Moor
2024-05-28 22:07:01 -04:00
parent 50bbe05334
commit 66c6c09e28

View File

@@ -13,7 +13,14 @@
}
],
"no-restricted-imports": ["error", {
"paths": ["fetch-with-proxy", "node-fetch"]
"name": "fetch-with-proxy",
"message": "Use `@server/utils/fetch` instead"
}, {
"name": "node-fetch",
"message": "Use `@server/utils/fetch` instead"
}, {
"name": "passport",
"message": "Use the `@outlinewiki/koa-passport` package"
}]
},
"overrides": [