The ts-morph Node to check.
OptionaltransformerName: stringOptional transformer name to check for specific ignore directive.
If provided, only ignores if the comment specifies this transformer.
Supports ESLint-style syntax like:
- // transformer-ignore-next-line (ignores all transformers)
- // transformer-ignore-next-line append-as-const (specific transformer)
- // transformer-ignore-next-line append-as-const, replace-any-with-unknown (multiple transformers)
- Also accepts ts-codemod-ignore-next-line, codemod-ignore-next-line, transform-ignore-next-line
True if the node is preceded by the ignore comment on the immediately previous line, false otherwise.
Checks if a given ts-morph Node is immediately preceded by an ignore-next-line comment, optionally filtered by transformer name(s).