mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 22:44:11 +00:00
eslint: error on importing bitwarden licensed code into /libs**/*
This commit is contained in:
@@ -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/**/*",
|
||||
|
||||
Reference in New Issue
Block a user