Enforce lazy loading via tslint import-blacklist

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-04-30 22:08:30 +01:00 committed by Balena CI
parent b5cac122cf
commit 0df6368ab9
2 changed files with 4 additions and 1 deletions

View File

@ -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';

View File

@ -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"]
}
}