]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/lib/rules/no-with.js
219a68094cb5bf78db440130a7f0d2d82746df8d
2 * @fileoverview Rule to flag use of with statement
3 * @author Nicholas C. Zakas
8 //------------------------------------------------------------------------------
10 //------------------------------------------------------------------------------
17 description
: "disallow `with` statements",
19 url
: "https://eslint.org/docs/rules/no-with"
25 unexpectedWith
: "Unexpected use of 'with' statement."
33 context
.report({ node
, messageId
: "unexpectedWith" });