From d2bf97efe8718ee9e58919880b257d17105c35ec Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Mon, 11 Nov 2024 09:52:32 +0100 Subject: [PATCH] eslint: error on importing bitwarden licensed code into /libs**/* --- .eslintrc.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index c606b8f933b..f6568b62bc6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -105,6 +105,11 @@ "from": ["apps/**/*"], "message": "Libs should not import app-specific code." }, + { + "target": ["libs/**/*"], + "from": ["bitwarden_license/**/*"], + "message": "Libs should not import bitwarden licensed code" + }, { // avoid specific frameworks or large dependencies in common "target": "./libs/common/**/*",