Skip to content
These are temporary community docs. The official docs are in progress.Help improve them
Markless
Esc
↑↓navigate↵open⌘Jpreview
On this page

MARKLESS_ALLOW_STALE

A markless-allow comment names a code that no longer fires on that line.

Warning from the compiler, while it builds your .tsrx files.

What happened

The code named in this markless-allow comment does not fire on this line anymore.

Markless prints the message, the reason, and a suggestion:

MARKLESS_ALLOW_STALE: markless-allow named <code>, but that diagnostic did not fire at this site.
markless-allow is a per-site escape hatch for warning diagnostics only; it must stay readable and current for the next person editing the site.
Fix the diagnostic or remove the markless-allow comment.
https://markless.dev/errors/MARKLESS_ALLOW_STALE

Words in angle brackets change from case to case.

How to fix it

Delete the markless-allow comment.

If you accept the warning on purpose, put this comment on the line above it:

// markless-allow MARKLESS_ALLOW_STALE: the reason you accept it

Where it comes from

@markless/compiler raises this code. Source:

Read how to read a Markless error, or go back to all error codes.

Was this page helpful?