node_modules/eslint/lib/rules/no-void.js in immosquare-cleaner-0.1.60 vs node_modules/eslint/lib/rules/no-void.js in immosquare-cleaner-0.1.61
- old
+ new
@@ -11,10 +11,12 @@
/** @type {import('../shared/types').Rule} */
module.exports = {
meta: {
type: "suggestion",
- defaultOptions: [{}],
+ defaultOptions: [{
+ allowAsStatement: false
+ }],
docs: {
description: "Disallow `void` operators",
recommended: false,
url: "https://eslint.org/docs/latest/rules/no-void"