diff --git a/crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs b/crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs index 744ab823934dd..7802cb0f0f054 100644 --- a/crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs +++ b/crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs @@ -78,11 +78,11 @@ declare_oxc_lint!( /// functions, etc. /// /// #### Ignored Files - /// This rule ignores `.d.ts` files and `.vue` files entirely. Variables, + /// This rule ignores `.d.ts`, `.astro`, `.svelte` and `.vue` files entirely. Variables, /// classes, interfaces, and types declared in `.d.ts` files are generally /// used by other files, which are not checked by Oxlint. Since Oxlint does - /// not support parsing Vue templates, this rule cannot tell if a variable - /// is used or unused in a Vue file. + /// not support parsing template syntax, this rule cannot tell if a variable + /// is used or unused in a Vue / Svelte / Astro file. /// /// #### Exported /// diff --git a/tasks/website_linter/src/rules/snapshots/docs_rule_pages.snap b/tasks/website_linter/src/rules/snapshots/docs_rule_pages.snap index ff801d4f29816..f54fe65e3c8f1 100644 --- a/tasks/website_linter/src/rules/snapshots/docs_rule_pages.snap +++ b/tasks/website_linter/src/rules/snapshots/docs_rule_pages.snap @@ -72,11 +72,11 @@ Enums and namespaces are treated the same as variables, classes, functions, etc. #### Ignored Files -This rule ignores `.d.ts` files and `.vue` files entirely. Variables, +This rule ignores `.d.ts`, `.astro`, `.svelte` and `.vue` files entirely. Variables, classes, interfaces, and types declared in `.d.ts` files are generally used by other files, which are not checked by Oxlint. Since Oxlint does -not support parsing Vue templates, this rule cannot tell if a variable -is used or unused in a Vue file. +not support parsing template syntax, this rule cannot tell if a variable +is used or unused in a Vue / Svelte / Astro file. #### Exported