diff --git a/app/client/.eslintrc.js b/app/client/.eslintrc.js index a9e7e7978b..ee6ec52fc9 100644 --- a/app/client/.eslintrc.js +++ b/app/client/.eslintrc.js @@ -42,6 +42,10 @@ const eslintConfig = { message: "Reason: Please don’t import Remix icons statically. (They won’t always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please use the importRemixIcon wrapper from design-system-old (e.g. const StarIcon = importRemixIcon(() => import('remixicon-react/Star'))).", }, + { + group: ["**/ce/*"], + message: "Reason: Please use @appsmith import instead.", + }, ], }, ], diff --git a/app/client/src/ee/.eslintrc b/app/client/src/ee/.eslintrc new file mode 100644 index 0000000000..4d8c9b8f5e --- /dev/null +++ b/app/client/src/ee/.eslintrc @@ -0,0 +1,5 @@ +{ + "rules": { + "@typescript-eslint/no-restricted-imports": "off" + } +}