allegro / allegro/typescript-strict-plugin

Exclude files by pattern

オープン
#58 コメント 2 件 リアクション 2 件 担当者 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 を短くまとめたダイジェスト。