diff --git a/test/__snapshots__/test.spec.js.snap b/test/__snapshots__/test.spec.js.snap index fce7fa2..9b5cb51 100644 --- a/test/__snapshots__/test.spec.js.snap +++ b/test/__snapshots__/test.spec.js.snap @@ -7,57 +7,74 @@ exports[`validate config load config file in ESLint to validate all rules are co "es2024": true, "jest": true, "jest/globals": true, + "node": true, }, "globals": { - "ArrayBuffer": "readonly", - "Atomics": "readonly", - "BigInt": "readonly", - "BigInt64Array": "readonly", - "BigUint64Array": "readonly", - "Buffer": "readonly", - "DataView": "readonly", - "Float32Array": "readonly", - "Float64Array": "readonly", - "GLOBAL": "readonly", - "Int16Array": "readonly", - "Int32Array": "readonly", - "Int8Array": "readonly", - "Intl": "readonly", - "Map": "readonly", - "Promise": "readonly", - "Proxy": "readonly", - "Reflect": "readonly", - "Set": "readonly", - "SharedArrayBuffer": "readonly", - "Symbol": "readonly", - "TextDecoder": "readonly", - "TextEncoder": "readonly", - "URL": "readonly", - "URLSearchParams": "readonly", - "Uint16Array": "readonly", - "Uint32Array": "readonly", - "Uint8Array": "readonly", - "Uint8ClampedArray": "readonly", - "WeakMap": "readonly", - "WeakSet": "readonly", - "WebAssembly": "readonly", + "AggregateError": false, + "Array": false, + "ArrayBuffer": false, + "Atomics": false, + "BigInt": false, + "BigInt64Array": false, + "BigUint64Array": false, + "Boolean": false, + "DataView": false, + "Date": false, + "Error": false, + "EvalError": false, + "FinalizationRegistry": false, + "Float32Array": false, + "Float64Array": false, + "Function": false, + "Infinity": false, + "Int16Array": false, + "Int32Array": false, + "Int8Array": false, + "Intl": false, + "JSON": false, + "Map": false, + "Math": false, + "NaN": false, + "Number": false, + "Object": false, + "Promise": false, + "Proxy": false, + "RangeError": false, + "ReferenceError": false, + "Reflect": false, + "RegExp": false, + "Set": false, + "SharedArrayBuffer": false, + "String": false, + "Symbol": false, + "SyntaxError": false, + "TypeError": false, + "URIError": false, + "Uint16Array": false, + "Uint32Array": false, + "Uint8Array": false, + "Uint8ClampedArray": false, + "WeakMap": false, + "WeakRef": false, + "WeakSet": false, "__dirname": "readonly", "__filename": "readonly", - "clearImmediate": "readonly", - "clearInterval": "readonly", - "clearTimeout": "readonly", - "console": "readonly", + "decodeURI": false, + "decodeURIComponent": false, + "encodeURI": false, + "encodeURIComponent": false, + "escape": false, + "eval": false, "exports": "writable", - "global": "readonly", - "globalThis": "readonly", + "globalThis": false, + "isFinite": false, + "isNaN": false, "module": "readonly", - "process": "readonly", - "queueMicrotask": "readonly", + "parseFloat": false, + "parseInt": false, "require": "readonly", - "root": "readonly", - "setImmediate": "readonly", - "setInterval": "readonly", - "setTimeout": "readonly", + "undefined": false, + "unescape": false, }, "ignorePatterns": [], "noInlineConfig": undefined, @@ -541,6 +558,9 @@ exports[`validate config load config file in ESLint to validate all rules are co "multiline-ternary": [ "off", ], + "n/hashbang": [ + "error", + ], "n/no-deprecated-api": [ "error", ], @@ -572,6 +592,8 @@ exports[`validate config load config file in ESLint to validate all rules are co "@jest/globals", "nock", ], + "ignorePrivate": true, + "ignoreTypeImport": false, }, ], "n/no-unpublished-require": [ @@ -592,9 +614,6 @@ exports[`validate config load config file in ESLint to validate all rules are co "n/process-exit-as-throw": [ "error", ], - "n/shebang": [ - "error", - ], "new-parens": [ "off", ],