diff --git a/crates/oxc_linter/src/rules/typescript/no_var_requires.rs b/crates/oxc_linter/src/rules/typescript/no_var_requires.rs index 364a36cd814bf..7dcfe4b96be7d 100644 --- a/crates/oxc_linter/src/rules/typescript/no_var_requires.rs +++ b/crates/oxc_linter/src/rules/typescript/no_var_requires.rs @@ -22,7 +22,11 @@ pub struct NoVarRequires; declare_oxc_lint!( /// ### What it does /// - /// Disallow `require` statements except in import statements + /// Disallow `require` statements except in import statements. + /// + /// **NOTE**: This rule is intentionally missing the `allow` option from the original typescript-eslint rule. + /// This rule is deprecated in the upstream plugin and the `typescript/no-require-imports` rule should be + /// used instead. /// /// ### Why is this bad? ///