2 * @fileoverview Rule to flag use of with statement
3 * @author Nicholas C. Zakas
8 //------------------------------------------------------------------------------
10 //------------------------------------------------------------------------------
17 description: "disallow `with` statements",
18 category: "Best Practices",
20 url: "https://eslint.org/docs/rules/no-with"
26 unexpectedWith: "Unexpected use of 'with' statement."
34 context.report({ node, messageId: "unexpectedWith" });