allegro / allegro/typescript-strict-plugin

Exclude files by pattern

Offen
#58 2 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
397
Forks
34
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

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!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.