Newer Version Available

This content describes an older version of this product. View Latest

Disallow with Statements (no-with)

Prevents using with statements, which adds members of an object to the current scope in a way that makes it hard to predict or view impact or behavior. This is a standard rule built into ESLint.

For complete details about this rule, including examples, see the corresponding ESLint documentation, disallow with statements (no-with).