mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-14 10:26:19 +01:00
eslint: error on importing bitwarden licensed code into /libs**/*
This commit is contained in:
parent
f5e6fc8ed5
commit
d2bf97efe8
@ -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/**/*",
|
||||
|
Loading…
Reference in New Issue
Block a user