【发布时间】:2017-01-16 05:51:46
【问题描述】:
我喜欢在 vscode 中排除 test 文件夹表单使用 tslint 进行 linting。所以我在我的 tslint.json 配置文件中放置了一个排除项。不幸的是,排除语句不起作用。有谁知道如何设置排除?
{
"exclude": "tests/**/*.ts",
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"rules": {
"export-name": true,
...
}
}
【问题讨论】:
标签: javascript visual-studio-code lint tslint