Skip to content

Scheduling infrastructure for absolutely everyone.

chore: add eslint rules to avoid importing from app-store (#23518)

Volnei Munhoz3b7d97b194bb
diff --git a/.eslintrc.js b/.eslintrc.js
index 926caf71620..1d9c2bb462e 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -2,4 +2,18 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: ["./packages/config/eslint-preset.js"],
+ overrides: [
+ {
+ files: ["packages/lib/**/*.{ts,tsx,js,jsx}", "packages/prisma/**/*.{ts,tsx,js,jsx}"],
+ rules: {
+ "no-restricted-imports": [
+ "warn",
+ {
+ paths: ["@calcom/app-store"],
+ patterns: ["@calcom/app-store/*"],
+ },
+ ],
+ },
+ },
+ ],
};