NG-ZORRO TSLint
TSLint rules for NG-ZORRO.
Install
$ npm i nz-tslint-rules -D# or $ yarn add nz-tslint-rules -D
Versions
NG-ZORRO | TSLint Rules |
---|---|
8.x | 0.800.x |
9.x | 0.900.x |
Rules
This repository provides the following rules:
Rule name | Configuration | Description |
---|---|---|
nz-secondary-entry-imports | none | Updates the import paths to secondary entry point |
Migration to Secondary Entry
Using the current set of rules allows you to automatically migrate your project which uses primary entry to secondary entry.
// Before; ; // After;;;;;;
Note: This rule does not applicable if you use import { NgZorroAntdModule } from 'ng-zorro-antd'
.
Use
Add this rule set in your tslint.json
file.
License
MIT