allegro / allegro/typescript-strict-plugin

Exclude files by pattern

Open
#58 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
397
Forks
34
PR merge metrics
PR metrics pending

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.