从codelyzer linting中排除一个.html文件

时间:2017-09-12 14:57:00

标签: tslint codelyzer

在处理ngx-bootstrap时,我已经提取了一部分datepicker逻辑 分离类,而不是codelyzer显示很多问题,如:

The property "viewMode" that you're trying to access does not exist in the class declaration.

此类文件排除不起作用:

``` tslint \“src / ** / * .ts \” - c tslint.json --type-check -p src / tsconfig.spec.json -e \“** / bs-datepicker-view.html \”

```

提前致谢

0 个答案:

没有答案
相关问题