# importExcludes

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Variable: importExcludes

> `const` **importExcludes**: [`ValidationRule`](https://getpromptscript.dev/api-reference/validator/src/interfaces/ValidationRule/index.md)

Defined in: [validator/src/rules/import-excludes.ts:55](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/validator/src/rules/import-excludes.ts#L55)

PS040: Per-import validation excludes must stay bound to the pinned commit.

Suppression of validation findings is declared by the consumer, never by the
scanned content, so an imported file cannot mute its own scan. Every exclude
records the commit it was reviewed at; when the lockfile pins a different
commit, the exclude stops applying and this rule fails the build with a
clear message, forcing the consumer to re-review the new content.