2023-10-10 03:10:04 +00:00
|
|
|
/** @type {import("eslint").Linter.Config} */
|
2023-07-21 11:16:18 +00:00
|
|
|
module.exports = {
|
|
|
|
extends: ["../../.eslintrc.js"],
|
|
|
|
rules: {
|
|
|
|
"no-restricted-imports": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
// Ensure that embed packages(They are published) can't access unpublished packages which is basically all @calcom/* packages except embed packages
|
|
|
|
patterns: ["@calcom/*", "!@calcom/embed-*"],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
};
|