allegro / allegro/typescript-strict-plugin

Exclude files by pattern

未关闭
#58 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
397
派生
34
PR 合并指标
PR 指标待抓取

描述

Hi,

coming from an angular project where normal files and test (spec) files are located next to each other it seems impossible to only check the *.ts files and skip the *.spec.ts files. Or did i mess up the configuration.

```json
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": [
"./src/app/folder1",
"./src/app/folder2"
],
"exclude": [
// doesn't work
"./src/app/folder1/**/*.spec.ts"
// doesn't work
"**/*.spec.ts"
// even specifying the files directly seems to have no effect
"./src/app/folder1/subfolder/some-test.spec.ts"
]
}
]
```

Is ist simply not possible right now?

Thx for your help!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。