标签: typescript typescript2.0 tslint
我需要忽略包含spec int名称的所有文件,例如MyStuff.spec.ts
如何让tslint忽略这类文件?
答案 0 :(得分:1)
json add:
"exclude":[ "node_modules", "**/__test*", //exclude all that *__test* "**/*.spec.ts" // exclude all that contain "spec.ts" in name ]