From 3b7d97b194bb29f2a686863d0ecf1cc862e2b818 Mon Sep 17 00:00:00 2001 From: Volnei Munhoz Date: Tue, 2 Sep 2025 12:24:09 -0300 Subject: [PATCH] chore: add eslint rules to avoid importing from app-store (#23518) --- .eslintrc.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 926caf7162..1d9c2bb462 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/*"], + }, + ], + }, + }, + ], };