mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 09:26:42 +00:00
Enforce lazy loading via tslint import-blacklist
Change-type: patch
This commit is contained in:
parent
b5cac122cf
commit
0df6368ab9
@ -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"]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user