Skip to content

no-at-debug-tags

Reports a {@debug} tag.

The tag pauses the browser’s debugger whenever its values change, for everyone who runs the page, and it is a leftover of debugging.

To fix, remove the tag.

Reported
...
<p>{comment.body}</p>
{@debug comment}
angular:
lint:
rules:
no-at-debug-tags: warn # off, warn (default), error
html:
lint:
rules:
no-at-debug-tags: warn # off, warn (default), error
svelte:
lint:
rules:
no-at-debug-tags: warn # off, warn (default), error
vue:
lint:
rules:
no-at-debug-tags: warn # off, warn (default), error

Enabled by the presets: html/eslint-plugin-svelte-recommended.

Suppress one line with sudsy-disable-next-line no-at-debug-tags in a comment of the file’s language.

The same check in other tools; Sudsy reports what each upstream rule reports.

Tool Rule Match
eslint-plugin-svelte no-at-debug-tags full