es-x/no-using-declarations
disallow
using
andawait using
declarations
- ✅ The following configurations enable this rule: no-explicit-resource-management and no-new-in-esnext
This rule reports ES2026 using
and await using
declarations as errors.
💡 Examples
⛔ Examples of incorrect code for this rule:
🚀 Version
This rule was introduced in v8.7.0.