Merge pull request from balena-io/enforce-lazy-loading

Enforce lazy loading via tslint import-blacklist
This commit is contained in:
Page- 2020-05-01 10:56:17 +01:00 committed by GitHub
commit ec17ed6ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

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

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