no-at-debug-tags
Angular templatesHTMLVue / SvelteVue / Sveltesuspiciousno fixdefault: warnhtml/eslint-plugin-svelte-recommended
What it does
Section titled “What it does”Reports a {@debug} tag.
Why it matters
Section titled “Why it matters”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.
Example
Section titled “Example”...<p>{comment.body}</p>{@debug comment}Configuration
Section titled “Configuration”angular: lint: rules: no-at-debug-tags: warn # off, warn (default), errorhtml: lint: rules: no-at-debug-tags: warn # off, warn (default), errorsvelte: lint: rules: no-at-debug-tags: warn # off, warn (default), errorvue: lint: rules: no-at-debug-tags: warn # off, warn (default), errorEnabled 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.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| eslint-plugin-svelte | no-at-debug-tags |
full |