Skip to content

txc workspace validate runs validation on node_modules and other ignored files #74

@metjuperry

Description

@metjuperry

When running txc workspace validate in a TypeScript repository, the command currently validates all files in the workspace — including those from third-party packages (e.g., node_modules). This produces excessive noise and may cause false validation failures unrelated to the project's own code.

Expected behavior

Validation should be scoped to the project's own source files. If a .gitignore file is present, the command should respect it and exclude any files or directories listed there.

Suggested fix

  • Skip directories like node_modules by default
  • Honor .gitignore rules when determining which files to validate
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions