]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/lib/rules/no-with.js
2 * @fileoverview Rule to flag use of with statement
3 * @author Nicholas C. Zakas
8 //------------------------------------------------------------------------------
10 //------------------------------------------------------------------------------
12 /** @type {import('../shared/types').Rule} */
18 description
: "Disallow `with` statements",
20 url
: "https://eslint.org/docs/rules/no-with"
26 unexpectedWith
: "Unexpected use of 'with' statement."
34 context
.report({ node
, messageId
: "unexpectedWith" });