PromptShield logo PromptShield
PromptShield WorkspaceAPI DocsVariables

IGNORE_FILES

const IGNORE_FILES: readonly [".gitignore", ".promptshieldignore", ".psignore"]

Defined in: constants.ts:17

Default ignore file names recognized by PromptShield.

Resolution Order:

  • Project-specific ignore files override generic ones.

Supported:

  • .gitignore → fallback compatibility
  • .promptshieldignore → primary configuration file
  • .psignore → short alias

Notes:

  • These files are resolved relative to workspace root.
  • First match does not stop resolution; merging behavior is implementation-defined.