Skip to content

Exclude files by patternΒ #58

@bravewasp

Description

@bravewasp

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.

"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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions