diff --git a/lib/utils/lazy.ts b/lib/utils/lazy.ts index 37fb7776..89d32eff 100644 --- a/lib/utils/lazy.ts +++ b/lib/utils/lazy.ts @@ -14,6 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. */ +// tslint:disable:import-blacklist - the import blacklist is to enforce lazy loading so exempt this file + import * as BalenaSdk from 'balena-sdk'; import { Chalk } from 'chalk'; import * as visuals from 'resin-cli-visuals'; diff --git a/tslint.json b/tslint.json index 5923f444..910a4e09 100644 --- a/tslint.json +++ b/tslint.json @@ -1,6 +1,7 @@ { "extends": "./node_modules/@balena/lint/config/tslint-prettier.json", "rules": { - "ignoreDefinitionFiles": false + "ignoreDefinitionFiles": false, + "import-blacklist": [true, "resin-cli-visuals", "chalk"] } }