From 7eaa660af6eea857141a957346890828b10db33e Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Tue, 23 Dec 2025 11:05:23 +0000 Subject: [PATCH] fix(linter/plugins): set up global scope correctly (#17293) Overhaul how variables in the global scope are set up. * Create globals according to `env` and `globals` from config - previously we always used a standard "esnext" set. * Remove the patch to `@typescript-eslint/scope-manager`. Instead do what ESLint does and patch up the global scope programmatically after TS-ESLint has produced the scope tree. * Set `writable` property for global variables according to config. This still isn't quite correct. There are many subtleties to this and I haven't got to the bottom of it all. But this PR fixes 500 conformance tests, so it's a large step in the right direction. I haven't added more tests in this PR, because I'm not actually sure what behavior is correct, and what still needs to be fixed. Once all the conformance tests related to globals (which is most of the remaining failing ones) are fixed, we'll have the full picture and can add more tests. --- apps/oxlint/conformance/snapshot.md | 104564 ++------------- apps/oxlint/conformance/src/rule_tester.ts | 96 +- apps/oxlint/src-js/plugins/scope.ts | 134 +- .../@typescript-eslint__scope-manager.patch | 52 - pnpm-lock.yaml | 9 +- pnpm-workspace.yaml | 3 - 6 files changed, 8359 insertions(+), 96499 deletions(-) delete mode 100644 patches/@typescript-eslint__scope-manager.patch diff --git a/apps/oxlint/conformance/snapshot.md b/apps/oxlint/conformance/snapshot.md index 8044513bf95a4..3100fe1864076 100644 --- a/apps/oxlint/conformance/snapshot.md +++ b/apps/oxlint/conformance/snapshot.md @@ -7,8 +7,8 @@ | Status | Count | % | | ----------------- | ----- | ------ | | Total rules | 292 | 100.0% | -| Fully passing | 235 | 80.5% | -| Partially passing | 57 | 19.5% | +| Fully passing | 256 | 87.7% | +| Partially passing | 36 | 12.3% | | Fully failing | 0 | 0.0% | | Load errors | 0 | 0.0% | | No tests run | 0 | 0.0% | @@ -18,8 +18,8 @@ | Status | Count | % | | ----------- | ----- | ------ | | Total tests | 33090 | 100.0% | -| Passing | 32199 | 97.3% | -| Failing | 784 | 2.4% | +| Passing | 32699 | 98.8% | +| Failing | 284 | 0.9% | | Skipped | 107 | 0.3% | ## Fully Passing Rules @@ -32,9 +32,11 @@ - `arrow-body-style` (87 tests) - `arrow-parens` (109 tests) (21 skipped) - `arrow-spacing` (42 tests) +- `block-scoped-var` (106 tests) - `block-spacing` (101 tests) - `brace-style` (168 tests) - `callback-return` (78 tests) +- `camelcase` (204 tests) - `capitalized-comments` (178 tests) - `class-methods-use-this` (156 tests) - `comma-spacing` (173 tests) @@ -42,6 +44,7 @@ - `complexity` (165 tests) - `computed-property-spacing` (125 tests) - `consistent-return` (44 tests) +- `consistent-this` (26 tests) - `constructor-super` (82 tests) - `curly` (216 tests) - `default-case-last` (37 tests) @@ -77,6 +80,7 @@ - `lines-around-comment` (199 tests) - `lines-around-directive` (239 tests) - `lines-between-class-members` (112 tests) +- `logical-assignment-operators` (304 tests) (4 skipped) - `max-classes-per-file` (17 tests) - `max-depth` (25 tests) - `max-len` (108 tests) @@ -93,6 +97,8 @@ - `newline-after-var` (117 tests) - `newline-before-return` (93 tests) - `newline-per-chained-call` (37 tests) +- `no-alert` (42 tests) +- `no-array-constructor` (146 tests) - `no-async-promise-executor` (6 tests) - `no-await-in-loop` (37 tests) - `no-bitwise` (26 tests) @@ -106,6 +112,8 @@ - `no-confusing-arrow` (30 tests) - `no-console` (44 tests) - `no-const-assign` (33 tests) +- `no-constant-binary-expression` (260 tests) +- `no-constant-condition` (307 tests) - `no-constructor-return` (20 tests) - `no-continue` (6 tests) - `no-control-regex` (36 tests) @@ -134,6 +142,7 @@ - `no-floating-decimal` (8 tests) - `no-func-assign` (15 tests) - `no-implicit-coercion` (134 tests) +- `no-implied-eval` (138 tests) - `no-import-assign` (116 tests) - `no-inline-comments` (49 tests) - `no-inner-declarations` (68 tests) @@ -145,6 +154,7 @@ - `no-loop-func` (96 tests) - `no-loss-of-precision` (125 tests) - `no-magic-numbers` (205 tests) +- `no-misleading-character-class` (190 tests) - `no-mixed-operators` (40 tests) - `no-mixed-requires` (23 tests) - `no-mixed-spaces-and-tabs` (61 tests) @@ -155,10 +165,13 @@ - `no-negated-in-lhs` (3 tests) - `no-nested-ternary` (4 tests) - `no-new-func` (23 tests) +- `no-new-native-nonconstructor` (14 tests) - `no-new-object` (10 tests) - `no-new-require` (5 tests) +- `no-new-symbol` (7 tests) - `no-new` (3 tests) - `no-nonoctal-decimal-escape` (84 tests) +- `no-object-constructor` (56 tests) - `no-octal-escape` (94 tests) - `no-octal` (17 tests) - `no-param-reassign` (78 tests) @@ -170,6 +183,7 @@ - `no-prototype-builtins` (47 tests) - `no-regex-spaces` (73 tests) - `no-restricted-exports` (183 tests) +- `no-restricted-globals` (166 tests) - `no-restricted-modules` (44 tests) - `no-restricted-properties` (89 tests) - `no-restricted-syntax` (32 tests) @@ -179,6 +193,7 @@ - `no-self-assign` (85 tests) - `no-self-compare` (21 tests) - `no-sequences` (42 tests) +- `no-shadow-restricted-names` (44 tests) - `no-spaced-func` (28 tests) - `no-sparse-arrays` (6 tests) - `no-sync` (10 tests) @@ -190,6 +205,7 @@ - `no-trailing-spaces` (54 tests) - `no-unassigned-vars` (23 tests) - `no-undef-init` (28 tests) +- `no-undefined` (53 tests) - `no-underscore-dangle` (116 tests) - `no-unexpected-multiline` (56 tests) (4 skipped) - `no-unmodified-loop-condition` (37 tests) @@ -227,6 +243,7 @@ - `padding-line-between-statements` (624 tests) - `prefer-arrow-callback` (107 tests) - `prefer-destructuring` (103 tests) +- `prefer-named-capture-group` (57 tests) - `prefer-numeric-literals` (87 tests) - `prefer-promise-reject-errors` (65 tests) - `prefer-reflect` (49 tests) @@ -236,7 +253,9 @@ - `preserve-caught-error` (49 tests) - `quote-props` (104 tests) - `quotes` (113 tests) +- `require-atomic-updates` (63 tests) - `require-await` (38 tests) (2 skipped) +- `require-unicode-regexp` (79 tests) - `require-yield` (15 tests) - `rest-spread-spacing` (82 tests) - `semi-spacing` (62 tests) @@ -251,9 +270,11 @@ - `space-unary-ops` (112 tests) - `spaced-comment` (99 tests) - `switch-colon-spacing` (46 tests) +- `symbol-description` (8 tests) - `template-curly-spacing` (57 tests) - `template-tag-spacing` (63 tests) - `use-isnan` (214 tests) +- `valid-typeof` (54 tests) - `vars-on-top` (61 tests) - `wrap-iife` (128 tests) - `wrap-regex` (8 tests) @@ -262,98 +283,98 @@ ## Rules with Failures -- `block-scoped-var` - 97 / 106 (91.5%) -- `camelcase` - 187 / 204 (91.7%) - `comma-dangle` - 265 / 267 (99.3%) -- `consistent-this` - 23 / 26 (88.5%) - `func-call-spacing` - 137 / 151 (90.7%) -- `id-blacklist` - 120 / 131 (91.6%) -- `id-denylist` - 132 / 143 (92.3%) -- `logical-assignment-operators` - 291 / 304 (95.7%) -- `no-alert` - 36 / 42 (85.7%) -- `no-array-constructor` - 145 / 146 (99.3%) -- `no-constant-binary-expression` - 225 / 260 (86.5%) -- `no-constant-condition` - 305 / 307 (99.3%) -- `no-eval` - 76 / 101 (75.2%) +- `id-blacklist` - 128 / 131 (97.7%) +- `id-denylist` - 140 / 143 (97.9%) +- `no-eval` - 97 / 101 (96.0%) - `no-extra-parens` - 1068 / 1072 (99.6%) - `no-fallthrough` - 86 / 87 (98.9%) -- `no-global-assign` - 12 / 18 (66.7%) -- `no-implicit-globals` - 153 / 245 (62.4%) -- `no-implied-eval` - 83 / 138 (60.1%) +- `no-global-assign` - 15 / 18 (83.3%) +- `no-implicit-globals` - 155 / 245 (63.3%) - `no-invalid-this` - 520 / 562 (92.5%) - `no-irregular-whitespace` - 279 / 280 (99.6%) - `no-lone-blocks` - 49 / 50 (98.0%) -- `no-misleading-character-class` - 185 / 190 (97.4%) - `no-multiple-empty-lines` - 45 / 46 (97.8%) -- `no-native-reassign` - 12 / 18 (66.7%) -- `no-new-native-nonconstructor` - 12 / 14 (85.7%) -- `no-new-symbol` - 5 / 7 (71.4%) -- `no-new-wrappers` - 9 / 11 (81.8%) -- `no-obj-calls` - 73 / 107 (68.2%) -- `no-object-constructor` - 55 / 56 (98.2%) -- `no-promise-executor-return` - 66 / 124 (53.2%) -- `no-redeclare` - 51 / 75 (68.0%) -- `no-restricted-globals` - 143 / 166 (86.1%) +- `no-native-reassign` - 15 / 18 (83.3%) +- `no-new-wrappers` - 10 / 11 (90.9%) +- `no-obj-calls` - 101 / 107 (94.4%) +- `no-promise-executor-return` - 123 / 124 (99.2%) +- `no-redeclare` - 50 / 75 (66.7%) - `no-restricted-imports` - 253 / 254 (99.6%) -- `no-setter-return` - 161 / 164 (98.2%) -- `no-shadow-restricted-names` - 43 / 44 (97.7%) -- `no-shadow` - 300 / 308 (97.4%) -- `no-undef` - 54 / 94 (57.4%) -- `no-undefined` - 37 / 53 (69.8%) +- `no-setter-return` - 163 / 164 (99.4%) +- `no-shadow` - 306 / 308 (99.4%) +- `no-undef` - 88 / 94 (93.6%) - `no-unused-expressions` - 120 / 124 (96.8%) -- `no-unused-vars` - 340 / 436 (78.0%) -- `no-use-before-define` - 323 / 347 (93.1%) +- `no-unused-vars` - 407 / 436 (93.3%) +- `no-use-before-define` - 346 / 347 (99.7%) - `no-useless-assignment` - 83 / 85 (97.6%) -- `no-useless-backreference` - 188 / 190 (98.9%) +- `no-useless-backreference` - 189 / 190 (99.5%) - `prefer-const` - 136 / 138 (98.6%) -- `prefer-exponentiation-operator` - 164 / 167 (98.2%) -- `prefer-named-capture-group` - 54 / 57 (94.7%) +- `prefer-exponentiation-operator` - 166 / 167 (99.4%) - `prefer-object-has-own` - 91 / 92 (98.9%) -- `prefer-object-spread` - 82 / 87 (94.3%) -- `prefer-regex-literals` - 239 / 251 (95.2%) -- `radix` - 33 / 54 (61.1%) -- `require-atomic-updates` - 62 / 63 (98.4%) -- `require-unicode-regexp` - 76 / 79 (96.2%) +- `prefer-object-spread` - 86 / 87 (98.9%) +- `prefer-regex-literals` - 249 / 251 (99.2%) +- `radix` - 53 / 54 (98.1%) - `semi` - 307 / 308 (99.7%) - `strict` - 106 / 126 (84.1%) -- `symbol-description` - 6 / 8 (75.0%) - `unicode-bom` - 4 / 7 (57.1%) -- `valid-typeof` - 53 / 54 (98.1%) ## Rules with Failures Detail -### `block-scoped-var` +### `comma-dangle` -Pass: 97 / 106 (91.5%) -Fail: 9 / 106 (8.5%) -Skip: 0 / 106 (0.0%) +Pass: 257 / 267 (96.3%) +Fail: 2 / 267 (0.7%) +Skip: 8 / 267 (3.0%) -#### block-scoped-var > invalid +#### comma-dangle > invalid ```js -for (var a = 0;;) {} a; +/*eslint custom/add-named-import:1*/ +import { + StyleSheet, + View, + TextInput, + ImageBackground, + Image, + TouchableOpacity, + SafeAreaView +} from 'react-native'; ``` ```json { - "errors": [ + "output": "/*eslint custom/add-named-import:1*/\nimport {\n StyleSheet,\n View,\n TextInput,\n ImageBackground,\n Image,\n TouchableOpacity,\n SafeAreaView,\n} from 'react-native';", + "options": [ { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 10 - }, - "line": 1, - "column": 22 + "imports": "always-multiline" } - ] + ], + "languageOptions": { + "ecmaVersion": 6, + "sourceType": "module" + }, + "errors": 2 } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ + { + ruleId: 'rule-to-test/comma-dangle', + message: 'Missing trailing comma.', + messageId: 'missing', + severity: 1, + nodeType: 'ImportDeclaration', + line: 9, + column: 16, + endLine: 10, + endColumn: 0, + suggestions: null + } +] -0 !== 1 +1 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -361,32 +382,53 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### block-scoped-var > invalid +#### comma-dangle > invalid ```js -for (var a in []) {} a; +/*eslint custom/add-named-import:1*/ +import { + StyleSheet, + View, + TextInput, + ImageBackground, + Image, + TouchableOpacity, + SafeAreaView, +} from 'react-native'; ``` ```json { - "errors": [ + "output": "/*eslint custom/add-named-import:1*/\nimport {\n StyleSheet,\n View,\n TextInput,\n ImageBackground,\n Image,\n TouchableOpacity,\n SafeAreaView\n} from 'react-native';", + "options": [ { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 10 - }, - "line": 1, - "column": 22 + "imports": "never" } - ] + ], + "languageOptions": { + "ecmaVersion": 6, + "sourceType": "module" + }, + "errors": 2 } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ + { + ruleId: 'rule-to-test/comma-dangle', + message: 'Unexpected trailing comma.', + messageId: 'unexpected', + severity: 1, + nodeType: 'ImportDeclaration', + line: 9, + column: 16, + endLine: 9, + endColumn: 17, + suggestions: null + } +] -0 !== 1 +1 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -394,662 +436,431 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### block-scoped-var > invalid +### `func-call-spacing` + +Pass: 137 / 151 (90.7%) +Fail: 14 / 151 (9.3%) +Skip: 0 / 151 (0.0%) + +#### func-call-spacing > invalid ```js -for (var a of []) {} a; +f +(); ``` ```json { - "languageOptions": { - "ecmaVersion": 6 - }, + "output": null, "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 10 - }, - "line": 1, - "column": 22 + "messageId": "unexpectedWhitespace" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### block-scoped-var > invalid +#### func-call-spacing > invalid ```js -if (true) { var a; } a; +f (); ``` ```json { + "output": null, "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 17 - }, - "line": 1, - "column": 22 + "messageId": "unexpectedWhitespace" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### block-scoped-var > invalid +#### func-call-spacing > invalid ```js -if (true) { var a = 1; } else { var a = 2; } +f
(); ``` ```json { + "output": null, "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 37 - }, - "line": 1, - "column": 17 - }, - { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 17 - }, - "line": 1, - "column": 37 + "messageId": "unexpectedWhitespace" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### block-scoped-var > invalid +#### func-call-spacing > invalid ```js -for (var i = 0;;) {} for(var i = 0;;) {} +f
(); ``` ```json { + "output": null, "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "i", - "definitionLine": 1, - "definitionColumn": 30 - }, - "line": 1, - "column": 10 - }, - { - "messageId": "outOfScope", - "data": { - "name": "i", - "definitionLine": 1, - "definitionColumn": 10 - }, - "line": 1, - "column": 30 + "messageId": "unexpectedWhitespace" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### block-scoped-var > invalid +#### func-call-spacing > invalid ```js -{ var foo, - bar; } bar; +f +(); ``` ```json { + "output": null, "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "bar", - "definitionLine": 2, - "definitionColumn": 3 - }, - "line": 2, - "column": 10 + "messageId": "unexpectedWhitespace" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### block-scoped-var > invalid +#### func-call-spacing > invalid ```js -{ var { foo, - bar } = baz; } bar; +import +(source); ``` ```json { + "output": null, "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 2020 }, "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "bar", - "definitionLine": 2, - "definitionColumn": 3 - }, - "line": 2, - "column": 18 + "messageId": "unexpectedWhitespace" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### block-scoped-var > invalid +#### func-call-spacing > invalid ```js -if (foo) { var a = 1; } else if (bar) { var a = 2; } else { var a = 3; } +f +(); ``` ```json { + "output": null, + "options": [ + "never" + ], "errors": [ { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 45 - }, - "line": 1, - "column": 16 - }, - { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 65 - }, - "line": 1, - "column": 16 - }, - { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 16 - }, - "line": 1, - "column": 45 - }, - { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 65 - }, - "line": 1, - "column": 45 - }, - { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 16 - }, - "line": 1, - "column": 65 - }, - { - "messageId": "outOfScope", - "data": { - "name": "a", - "definitionLine": 1, - "definitionColumn": 45 - }, + "messageId": "unexpectedWhitespace", "line": 1, - "column": 65 + "column": 2, + "endLine": 2, + "endColumn": 0 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 6 errors but had 0: [] - -0 !== 6 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `camelcase` +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -Pass: 187 / 204 (91.7%) -Fail: 17 / 204 (8.3%) -Skip: 0 / 204 (0.0%) -#### camelcase > valid +#### func-call-spacing > invalid ```js -var camelCased = a_global_variable +this.cancelled.add(request) +this.decrement(request) +(0, request.reject)(new api.Cancel()) ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "unexpectedWhitespace", + "line": 2, + "column": 24, + "endLine": 3, + "endColumn": 0 } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 17, - endLine: 1, - endColumn: 34, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### camelcase > valid +#### func-call-spacing > invalid ```js -a_global_variable.foo() +var a = foo +(function(global) {}(this)); ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "unexpectedWhitespace", + "line": 1, + "column": 12, + "endLine": 2, + "endColumn": 0 } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### camelcase > valid +#### func-call-spacing > invalid ```js -a_global_variable[undefined] +var a = foo +(0, baz()) ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "unexpectedWhitespace", + "line": 1, + "column": 12, + "endColumn": 0, + "endLine": 2 } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### camelcase > valid +#### func-call-spacing > invalid ```js -var foo = a_global_variable.bar +f (); ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "unexpectedWhitespace" } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 10, - endLine: 1, - endColumn: 27, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### camelcase > valid +#### func-call-spacing > invalid ```js -a_global_variable.foo = bar +f
(); ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "unexpectedWhitespace" } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -#### camelcase > valid +#### func-call-spacing > invalid ```js -( { foo: a_global_variable.bar } = baz ) +f
(); ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "unexpectedWhitespace" } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 9, - endLine: 1, - endColumn: 26, - suggestions: null - } -] +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -1 !== 0 - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### camelcase > valid +#### func-call-spacing > invalid ```js -a_global_variable = foo +f +(); ``` ```json { + "output": null, "options": [ - { - "ignoreGlobals": true - } + "never" ], - "languageOptions": { - "globals": { - "a_global_variable": "writable" + "errors": [ + { + "messageId": "unexpectedWhitespace" } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] +RangeError: Invalid column number (column -1 requested). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) -1 !== 0 - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +### `id-blacklist` +Pass: 128 / 131 (97.7%) +Fail: 3 / 131 (2.3%) +Skip: 0 / 131 (0.0%) -#### camelcase > valid +#### id-blacklist > valid ```js -a_global_variable = foo +/* global myGlobal: readonly */ myGlobal = 5; ``` ```json { "options": [ - { - "ignoreGlobals": true - } - ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" - } - } + "myGlobal" + ] } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/id-blacklist', + message: "Identifier 'myGlobal' is restricted.", + messageId: 'restricted', severity: 1, nodeType: 'Identifier', line: 1, - column: 0, + column: 32, endLine: 1, - endColumn: 17, + endColumn: 40, suggestions: null } ] @@ -1062,174 +873,132 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### camelcase > valid +#### id-blacklist > invalid ```js -({ a_global_variable } = foo) +/* globals myGlobal */ window.myGlobal = 5; foo = myGlobal; ``` ```json { "options": [ - { - "ignoreGlobals": true - } + "myGlobal" ], "languageOptions": { - "ecmaVersion": 6, "globals": { - "a_global_variable": "writable" + "window": "readonly" } - } + }, + "errors": [ + { + "messageId": "restricted", + "data": { + "name": "myGlobal" + }, + "column": 31 + } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/id-blacklist', + message: "Identifier 'myGlobal' is restricted.", + messageId: 'restricted', severity: 1, nodeType: 'Identifier', line: 1, - column: 3, + column: 30, endLine: 1, - endColumn: 20, + endColumn: 38, suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### camelcase > valid - -```js -({ snake_cased: a_global_variable } = foo) -``` - -```json -{ - "options": [ - { - "ignoreGlobals": true - } - ], - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "a_global_variable": "writable" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + }, { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/id-blacklist', + message: "Identifier 'myGlobal' is restricted.", + messageId: 'restricted', severity: 1, nodeType: 'Identifier', line: 1, - column: 16, + column: 50, endLine: 1, - endColumn: 33, + endColumn: 58, suggestions: null } ] -1 !== 0 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### camelcase > valid +#### id-blacklist > invalid ```js -({ snake_cased: a_global_variable = foo } = bar) +/* globals Number: off */ Number.parseInt() ``` ```json { "options": [ - { - "ignoreGlobals": true - } + "Number" ], - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "a_global_variable": "writable" + "errors": [ + { + "messageId": "restricted", + "data": { + "name": "Number" + } } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 33, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -1 !== 0 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### camelcase > valid +### `id-denylist` + +Pass: 140 / 143 (97.9%) +Fail: 3 / 143 (2.1%) +Skip: 0 / 143 (0.0%) + +#### id-denylist > valid ```js -[a_global_variable] = bar +/* global myGlobal: readonly */ myGlobal = 5; ``` ```json { "options": [ - { - "ignoreGlobals": true - } - ], - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "a_global_variable": "writable" - } - } + "myGlobal" + ] } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/id-denylist', + message: "Identifier 'myGlobal' is restricted.", + messageId: 'restricted', severity: 1, nodeType: 'Identifier', line: 1, - column: 1, + column: 32, endLine: 1, - endColumn: 18, + endColumn: 40, suggestions: null } ] @@ -1242,112 +1011,120 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### camelcase > valid +#### id-denylist > invalid ```js -[a_global_variable = foo] = bar +/* globals myGlobal */ window.myGlobal = 5; foo = myGlobal; ``` ```json { "options": [ - { - "ignoreGlobals": true - } + "myGlobal" ], "languageOptions": { - "ecmaVersion": 6, "globals": { - "a_global_variable": "writable" + "window": "readonly" } - } + }, + "errors": [ + { + "messageId": "restricted", + "data": { + "name": "myGlobal" + }, + "column": 31 + } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/id-denylist', + message: "Identifier 'myGlobal' is restricted.", + messageId: 'restricted', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 30, + endLine: 1, + endColumn: 38, + suggestions: null + }, { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/id-denylist', + message: "Identifier 'myGlobal' is restricted.", + messageId: 'restricted', severity: 1, nodeType: 'Identifier', line: 1, - column: 1, + column: 50, endLine: 1, - endColumn: 18, + endColumn: 58, suggestions: null } ] -1 !== 0 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### camelcase > valid +#### id-denylist > invalid ```js -foo[a_global_variable] = bar +/* globals Number: off */ Number.parseInt() ``` ```json { "options": [ - { - "ignoreGlobals": true - } + "Number" ], - "languageOptions": { - "globals": { - "a_global_variable": "readonly" + "errors": [ + { + "messageId": "restricted", + "data": { + "name": "Number" + } } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 21, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -1 !== 0 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### camelcase > valid +### `no-eval` + +Pass: 97 / 101 (96.0%) +Fail: 4 / 101 (4.0%) +Skip: 0 / 101 (0.0%) + +#### no-eval > valid ```js -var foo = { [a_global_variable]: bar } +'use strict'; this.eval('foo'); ``` ```json { - "options": [ - { - "ignoreGlobals": true - } - ], "languageOptions": { - "ecmaVersion": 6, - "globals": { - "a_global_variable": "readonly" + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true + } } } } @@ -1355,15 +1132,15 @@ var foo = { [a_global_variable]: bar } AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/no-eval', + message: '`eval` can be harmful.', + messageId: 'unexpected', severity: 1, nodeType: 'Identifier', line: 1, - column: 13, + column: 19, endLine: 1, - endColumn: 30, + endColumn: 23, suggestions: null } ] @@ -1376,23 +1153,19 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### camelcase > valid +#### no-eval > valid ```js -var { [a_global_variable]: foo } = bar +function foo() { this.eval('foo'); } ``` ```json { - "options": [ - { - "ignoreGlobals": true - } - ], "languageOptions": { - "ecmaVersion": 6, - "globals": { - "a_global_variable": "readonly" + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } } } @@ -1400,15 +1173,15 @@ var { [a_global_variable]: foo } = bar AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', + ruleId: 'rule-to-test/no-eval', + message: '`eval` can be harmful.', + messageId: 'unexpected', severity: 1, nodeType: 'Identifier', line: 1, - column: 7, + column: 22, endLine: 1, - endColumn: 24, + endColumn: 26, suggestions: null } ] @@ -1421,64 +1194,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### camelcase > invalid +#### no-eval > invalid ```js -var foo = { a_global_variable: a_global_variable } +function foo() { ('use strict'); this.eval; } ``` ```json { - "options": [ - { - "ignoreGlobals": true - } - ], - "languageOptions": { - "globals": { - "a_global_variable": "writable" - } - }, "errors": [ { - "messageId": "notCamelCase", - "data": { - "name": "a_global_variable" - }, - "column": 13 + "messageId": "unexpected", + "column": 39, + "endColumn": 43 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 31, - endLine: 1, - endColumn: 48, - suggestions: null - }, - { - ruleId: 'rule-to-test/camelcase', - message: "Identifier 'a_global_variable' is not in camel case.", - messageId: 'notCamelCase', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 12, - endLine: 1, - endColumn: 29, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -2 !== 1 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -1486,59 +1222,28 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ at apps/oxlint/dist/index.js -### `comma-dangle` - -Pass: 257 / 267 (96.3%) -Fail: 2 / 267 (0.7%) -Skip: 8 / 267 (3.0%) - -#### comma-dangle > invalid +#### no-eval > invalid ```js -/*eslint custom/add-named-import:1*/ -import { - StyleSheet, - View, - TextInput, - ImageBackground, - Image, - TouchableOpacity, - SafeAreaView -} from 'react-native'; +function foo() { 'use strict'; this.eval(); } ``` ```json { - "output": "/*eslint custom/add-named-import:1*/\nimport {\n StyleSheet,\n View,\n TextInput,\n ImageBackground,\n Image,\n TouchableOpacity,\n SafeAreaView,\n} from 'react-native';", - "options": [ - { - "imports": "always-multiline" - } - ], "languageOptions": { - "ecmaVersion": 6, - "sourceType": "module" + "ecmaVersion": 3 }, - "errors": 2 + "errors": [ + { + "messageId": "unexpected" + } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ - { - ruleId: 'rule-to-test/comma-dangle', - message: 'Missing trailing comma.', - messageId: 'missing', - severity: 1, - nodeType: 'ImportDeclaration', - line: 9, - column: 16, - endLine: 10, - endColumn: 0, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -1 !== 2 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -1546,91 +1251,67 @@ AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ at apps/oxlint/dist/index.js -#### comma-dangle > invalid +### `no-extra-parens` + +Pass: 1067 / 1072 (99.5%) +Fail: 4 / 1072 (0.4%) +Skip: 1 / 1072 (0.1%) + +#### no-extra-parens > valid ```js -/*eslint custom/add-named-import:1*/ -import { - StyleSheet, - View, - TextInput, - ImageBackground, - Image, - TouchableOpacity, - SafeAreaView, -} from 'react-native'; +(let[a] = b); ``` ```json -{ - "output": "/*eslint custom/add-named-import:1*/\nimport {\n StyleSheet,\n View,\n TextInput,\n ImageBackground,\n Image,\n TouchableOpacity,\n SafeAreaView\n} from 'react-native';", - "options": [ - { - "imports": "never" - } - ], - "languageOptions": { - "ecmaVersion": 6, - "sourceType": "module" - }, - "errors": 2 -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/comma-dangle', - message: 'Unexpected trailing comma.', + ruleId: 'rule-to-test/no-extra-parens', + message: 'Unnecessary parentheses around expression.', messageId: 'unexpected', severity: 1, - nodeType: 'ImportDeclaration', - line: 9, - column: 16, - endLine: 9, - endColumn: 17, + nodeType: 'ExpressionStatement', + line: 1, + column: 0, + endLine: 1, + endColumn: 1, suggestions: null } ] -1 !== 2 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -### `consistent-this` - -Pass: 23 / 26 (88.5%) -Fail: 3 / 26 (11.5%) -Skip: 0 / 26 (0.0%) - -#### consistent-this > valid +#### no-extra-parens > valid ```js -var self; self = this +(let) +foo ``` ```json -{ - "options": [ - "self" - ] -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/consistent-this', - message: "Designated alias 'self' is not assigned to 'this'.", - messageId: 'aliasNotAssignedToThis', + ruleId: 'rule-to-test/no-extra-parens', + message: 'Unnecessary parentheses around expression.', + messageId: 'unexpected', severity: 1, - nodeType: 'Identifier', + nodeType: 'ExpressionStatement', line: 1, - column: 4, + column: 0, endLine: 1, - endColumn: 8, + endColumn: 1, suggestions: null } ] @@ -1643,31 +1324,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### consistent-this > valid +#### no-extra-parens > valid ```js -var foo, self; self = this +(let[foo]) = 1 ``` ```json -{ - "options": [ - "self" - ] -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/consistent-this', - message: "Designated alias 'self' is not assigned to 'this'.", - messageId: 'aliasNotAssignedToThis', + ruleId: 'rule-to-test/no-extra-parens', + message: 'Unnecessary parentheses around expression.', + messageId: 'unexpected', severity: 1, - nodeType: 'Identifier', + nodeType: 'AssignmentExpression', line: 1, - column: 9, + column: 0, endLine: 1, - endColumn: 13, + endColumn: 1, suggestions: null } ] @@ -1680,31 +1357,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### consistent-this > valid +#### no-extra-parens > valid ```js -var foo, self; foo = 42; self = this +(let)[foo] ``` ```json -{ - "options": [ - "self" - ] -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/consistent-this', - message: "Designated alias 'self' is not assigned to 'this'.", - messageId: 'aliasNotAssignedToThis', + ruleId: 'rule-to-test/no-extra-parens', + message: 'Unnecessary parentheses around expression.', + messageId: 'unexpected', severity: 1, - nodeType: 'Identifier', + nodeType: 'MemberExpression', line: 1, - column: 9, + column: 0, endLine: 1, - endColumn: 13, + endColumn: 1, suggestions: null } ] @@ -1717,431 +1390,290 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -### `func-call-spacing` +### `no-fallthrough` -Pass: 137 / 151 (90.7%) -Fail: 14 / 151 (9.3%) -Skip: 0 / 151 (0.0%) +Pass: 86 / 87 (98.9%) +Fail: 1 / 87 (1.1%) +Skip: 0 / 87 (0.0%) -#### func-call-spacing > invalid +#### no-fallthrough > valid ```js -f -(); +switch (foo) { case 0: a(); +// eslint-disable-next-line rule-to-test/no-fallthrough + case 1: } ``` ```json -{ - "output": null, - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] -} -``` - -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - - -#### func-call-spacing > invalid - -```js -f (); -``` - -```json -{ - "output": null, - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] -} +{} ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-fallthrough', + message: "Expected a 'break' statement before 'case'.", + messageId: 'case', + severity: 1, + nodeType: 'SwitchCase', + line: 3, + column: 1, + endLine: 3, + endColumn: 8, + suggestions: null + } +] -#### func-call-spacing > invalid +1 !== 0 -```js -f
(); -``` + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -```json -{ - "output": null, - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] -} -``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) +### `no-global-assign` +Pass: 15 / 18 (83.3%) +Fail: 3 / 18 (16.7%) +Skip: 0 / 18 (0.0%) -#### func-call-spacing > invalid +#### no-global-assign > invalid ```js -f
(); +/*global b:false*/ function f() { b = 1; } ``` ```json { - "output": null, "errors": [ { - "messageId": "unexpectedWhitespace" + "messageId": "globalShouldNotBeModified", + "data": { + "name": "b" + } } ] } ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - - -#### func-call-spacing > invalid - -```js -f -(); -``` +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -```json -{ - "output": null, - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] -} -``` +0 !== 1 -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -#### func-call-spacing > invalid +#### no-global-assign > invalid ```js -import -(source); +/*global b:false*/ function f() { b++; } ``` ```json { - "output": null, - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "unexpectedWhitespace" + "messageId": "globalShouldNotBeModified", + "data": { + "name": "b" + } } ] } ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - - -#### func-call-spacing > invalid - -```js -f -(); -``` +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -```json -{ - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace", - "line": 1, - "column": 2, - "endLine": 2, - "endColumn": 0 - } - ] -} -``` +0 !== 1 -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -#### func-call-spacing > invalid +#### no-global-assign > invalid ```js -this.cancelled.add(request) -this.decrement(request) -(0, request.reject)(new api.Cancel()) +/*global b*/ b = 1; ``` ```json { - "output": null, - "options": [ - "never" - ], "errors": [ { - "messageId": "unexpectedWhitespace", - "line": 2, - "column": 24, - "endLine": 3, - "endColumn": 0 + "messageId": "globalShouldNotBeModified", + "data": { + "name": "b" + } } ] } ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -#### func-call-spacing > invalid +0 !== 1 -```js -var a = foo -(function(global) {}(this)); -``` + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -```json -{ - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace", - "line": 1, - "column": 12, - "endLine": 2, - "endColumn": 0 - } - ] -} -``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) +### `no-implicit-globals` +Pass: 155 / 245 (63.3%) +Fail: 90 / 245 (36.7%) +Skip: 0 / 245 (0.0%) -#### func-call-spacing > invalid +#### no-implicit-globals > valid ```js -var a = foo -(0, baz()) +var foo = 1; ``` ```json { - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace", - "line": 1, - "column": 12, - "endColumn": 0, - "endLine": 2 + "languageOptions": { + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true + } } - ] + } } ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - - -#### func-call-spacing > invalid - -```js -f (); -``` +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 4, + endLine: 1, + endColumn: 11, + suggestions: null + } +] -```json -{ - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] -} -``` +1 !== 0 -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -#### func-call-spacing > invalid +#### no-implicit-globals > valid ```js -f
(); +function foo() {} ``` ```json { - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace" + "languageOptions": { + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true + } } - ] + } } ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) - - -#### func-call-spacing > invalid - -```js -f
(); -``` +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'FunctionDeclaration', + line: 1, + column: 0, + endLine: 1, + endColumn: 17, + suggestions: null + } +] -```json -{ - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] -} -``` +1 !== 0 -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -#### func-call-spacing > invalid +#### no-implicit-globals > valid ```js -f -(); +var foo = 1; ``` ```json { - "output": null, - "options": [ - "never" - ], - "errors": [ - { - "messageId": "unexpectedWhitespace" - } - ] + "languageOptions": { + "sourceType": "commonjs" + } } ``` -RangeError: Invalid column number (column -1 requested). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at checkSpacing (apps/oxlint/conformance/submodules/eslint/lib/rules/func-call-spacing.js:146:13) +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 4, + endLine: 1, + endColumn: 11, + suggestions: null + } +] +1 !== 0 -### `id-blacklist` + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -Pass: 120 / 131 (91.6%) -Fail: 11 / 131 (8.4%) -Skip: 0 / 131 (0.0%) -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -var foo = undefined; +function foo() {} ``` ```json { - "options": [ - "undefined" - ] + "languageOptions": { + "sourceType": "commonjs" + } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'FunctionDeclaration', line: 1, - column: 10, + column: 0, endLine: 1, - endColumn: 19, + endColumn: 17, suggestions: null } ] @@ -2154,31 +1686,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -if (foo === undefined); +/* global foo: writable*/ foo = bar ``` ```json -{ - "options": [ - "undefined" - ] -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', severity: 1, nodeType: 'Identifier', line: 1, - column: 12, + column: 26, endLine: 1, - endColumn: 21, + endColumn: 35, suggestions: null } ] @@ -2191,31 +1719,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -obj[undefined] = 5; +/*global foo:writable*/ var foo = 1; ``` ```json -{ - "options": [ - "undefined" - ] -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 4, + column: 28, endLine: 1, - endColumn: 13, + endColumn: 35, suggestions: null } ] @@ -2228,21 +1752,17 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -foo = { [myGlobal]: 1 }; +function foo() {} ``` ```json { - "options": [ - "myGlobal" - ], "languageOptions": { - "ecmaVersion": 6, "globals": { - "myGlobal": "readonly" + "foo": "writable" } } } @@ -2250,13 +1770,13 @@ foo = { [myGlobal]: 1 }; AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'FunctionDeclaration', line: 1, - column: 9, + column: 0, endLine: 1, endColumn: 17, suggestions: null @@ -2271,37 +1791,31 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -({ myGlobal } = foo); +/*global foo:writable*/ function *foo() {} ``` ```json { - "options": [ - "myGlobal" - ], "languageOptions": { - "ecmaVersion": 6, - "globals": { - "myGlobal": "writable" - } + "ecmaVersion": 2015 } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'FunctionDeclaration', line: 1, - column: 3, + column: 24, endLine: 1, - endColumn: 11, + endColumn: 42, suggestions: null } ] @@ -2314,31 +1828,36 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -/* global myGlobal: readonly */ myGlobal = 5; +/*global foo:writable*/ const foo = 1; ``` ```json { "options": [ - "myGlobal" - ] + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 32, + column: 30, endLine: 1, - endColumn: 40, + endColumn: 37, suggestions: null } ] @@ -2351,36 +1870,36 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > valid +#### no-implicit-globals > valid ```js -var foo = { bar: window.baz }; +/*global foo:writable*/ let foo; ``` ```json { "options": [ - "window" + { + "lexicalBindings": true + } ], "languageOptions": { - "globals": { - "window": "readonly" - } + "ecmaVersion": 2015 } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'window' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 17, + column: 28, endLine: 1, - endColumn: 23, + endColumn: 31, suggestions: null } ] @@ -2393,222 +1912,172 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-blacklist > invalid +#### no-implicit-globals > valid ```js -var foo = { undefined: undefined }; +/*global Foo:writable*/ class Foo {} ``` ```json { "options": [ - "undefined" - ], - "errors": [ { - "messageId": "restricted", - "data": { - "name": "undefined" - }, - "column": 13 + "lexicalBindings": true } - ] + ], + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 12, - endLine: 1, - endColumn: 21, - suggestions: null - }, +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', + messageId: 'globalLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'ClassDeclaration', line: 1, - column: 23, + column: 24, endLine: 1, - endColumn: 32, + endColumn: 36, suggestions: null } ] -2 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### id-blacklist > invalid +#### no-implicit-globals > valid ```js -/* globals myGlobal */ window.myGlobal = 5; foo = myGlobal; +/*global foo:writable*/ foo = 1; ``` ```json -{ - "options": [ - "myGlobal" - ], - "languageOptions": { - "globals": { - "window": "readonly" - } - }, - "errors": [ - { - "messageId": "restricted", - "data": { - "name": "myGlobal" - }, - "column": 31 - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 38, - suggestions: null - }, +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-blacklist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', severity: 1, nodeType: 'Identifier', line: 1, - column: 50, + column: 24, endLine: 1, - endColumn: 58, + endColumn: 31, suggestions: null } ] -2 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### id-blacklist > invalid +#### no-implicit-globals > valid ```js -/* globals Number: off */ Number.parseInt() +/* exported foo */ var foo = 'foo'; ``` ```json -{ - "options": [ - "Number" - ], - "errors": [ - { - "messageId": "restricted", - "data": { - "name": "Number" - } - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 23, + endLine: 1, + endColumn: 34, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### id-blacklist > invalid +#### no-implicit-globals > valid ```js -var foo = [Map]; +/* exported foo */ function foo() {} ``` ```json -{ - "options": [ - "Map" - ], - "errors": [ - { - "messageId": "restricted", - "data": { - "name": "Map" - } - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'FunctionDeclaration', + line: 1, + column: 19, + endLine: 1, + endColumn: 36, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -### `id-denylist` - -Pass: 132 / 143 (92.3%) -Fail: 11 / 143 (7.7%) -Skip: 0 / 143 (0.0%) - -#### id-denylist > valid +#### no-implicit-globals > valid ```js -var foo = undefined; +/* exported foo */ function *foo() {} ``` ```json { - "options": [ - "undefined" - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'FunctionDeclaration', line: 1, - column: 10, + column: 19, endLine: 1, - endColumn: 19, + endColumn: 37, suggestions: null } ] @@ -2621,31 +2090,31 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > valid +#### no-implicit-globals > valid ```js -if (foo === undefined); +/* exported foo */ async function foo() {} ``` ```json { - "options": [ - "undefined" - ] + "languageOptions": { + "ecmaVersion": 2017 + } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'FunctionDeclaration', line: 1, - column: 12, + column: 19, endLine: 1, - endColumn: 21, + endColumn: 42, suggestions: null } ] @@ -2658,31 +2127,31 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > valid +#### no-implicit-globals > valid ```js -obj[undefined] = 5; +/* exported foo */ async function *foo() {} ``` ```json { - "options": [ - "undefined" - ] + "languageOptions": { + "ecmaVersion": 2018 + } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', + messageId: 'globalNonLexicalBinding', severity: 1, - nodeType: 'Identifier', + nodeType: 'FunctionDeclaration', line: 1, - column: 4, + column: 19, endLine: 1, - endColumn: 13, + endColumn: 43, suggestions: null } ] @@ -2695,37 +2164,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > valid +#### no-implicit-globals > valid ```js -foo = { [myGlobal]: 1 }; +/* exported foo */ var foo = function() {}; ``` ```json -{ - "options": [ - "myGlobal" - ], - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "myGlobal": "readonly" - } - } -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 9, + column: 23, endLine: 1, - endColumn: 17, + endColumn: 42, suggestions: null } ] @@ -2738,37 +2197,27 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > valid +#### no-implicit-globals > valid ```js -({ myGlobal } = foo); +/* exported foo */ var foo = function foo() {}; ``` ```json -{ - "options": [ - "myGlobal" - ], - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "myGlobal": "writable" - } - } -} +{} ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 3, + column: 23, endLine: 1, - endColumn: 11, + endColumn: 46, suggestions: null } ] @@ -2781,31 +2230,31 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > valid +#### no-implicit-globals > valid ```js -/* global myGlobal: readonly */ myGlobal = 5; +/* exported foo */ var foo = function*() {}; ``` ```json { - "options": [ - "myGlobal" - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 32, + column: 23, endLine: 1, - endColumn: 40, + endColumn: 43, suggestions: null } ] @@ -2818,36 +2267,31 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > valid +#### no-implicit-globals > valid ```js -var foo = { bar: window.baz }; +/* exported foo */ var foo = function *foo() {}; ``` ```json { - "options": [ - "window" - ], "languageOptions": { - "globals": { - "window": "readonly" - } + "ecmaVersion": 2015 } } ``` AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'window' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 17, + column: 23, endLine: 1, - endColumn: 23, + endColumn: 47, suggestions: null } ] @@ -2860,483 +2304,624 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### id-denylist > invalid +#### no-implicit-globals > valid ```js -var foo = { undefined: undefined }; +/* exported foo, bar */ var foo = 1, bar = 2; ``` ```json -{ - "options": [ - "undefined" - ], - "errors": [ - { - "messageId": "restricted", - "data": { - "name": "undefined" - }, - "column": 13 - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 12, + column: 28, endLine: 1, - endColumn: 21, + endColumn: 35, suggestions: null }, { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'undefined' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 23, + column: 37, endLine: 1, - endColumn: 32, + endColumn: 44, suggestions: null } ] -2 !== 1 +2 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### id-denylist > invalid +#### no-implicit-globals > valid ```js -/* globals myGlobal */ window.myGlobal = 5; foo = myGlobal; +/* exported a */ const a = 1; ``` ```json { "options": [ - "myGlobal" - ], - "languageOptions": { - "globals": { - "window": "readonly" - } - }, - "errors": [ { - "messageId": "restricted", - "data": { - "name": "myGlobal" - }, - "column": 31 + "lexicalBindings": true } - ] + ], + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 38, - suggestions: null - }, +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/id-denylist', - message: "Identifier 'myGlobal' is restricted.", - messageId: 'restricted', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 50, + column: 23, endLine: 1, - endColumn: 58, + endColumn: 28, suggestions: null } ] -2 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### id-denylist > invalid +#### no-implicit-globals > valid ```js -/* globals Number: off */ Number.parseInt() +/* exported a */ let a; ``` ```json { "options": [ - "Number" - ], - "errors": [ { - "messageId": "restricted", - "data": { - "name": "Number" - } + "lexicalBindings": true } - ] + ], + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 21, + endLine: 1, + endColumn: 22, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### id-denylist > invalid +#### no-implicit-globals > valid ```js -var foo = [Map]; +/* exported a */ let a = 1; ``` ```json { "options": [ - "Map" - ], - "errors": [ { - "messageId": "restricted", - "data": { - "name": "Map" - } + "lexicalBindings": true } - ] + ], + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `logical-assignment-operators` +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 21, + endLine: 1, + endColumn: 26, + suggestions: null + } +] + +1 !== 0 -Pass: 287 / 304 (94.4%) -Fail: 13 / 304 (4.3%) -Skip: 4 / 304 (1.3%) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid + +#### no-implicit-globals > valid ```js -if (a == undefined) a = b +/* exported A */ class A {} ``` ```json { - "output": "a ??= b", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - } - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ClassDeclaration', + line: 1, + column: 17, + endLine: 1, + endColumn: 27, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > valid ```js -if (a === null || a === undefined) a = b +/* exported a, b */ const a = 1; const b = 2; ``` ```json { - "output": "a ??= b", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - } - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 26, + endLine: 1, + endColumn: 31, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 39, + endLine: 1, + endColumn: 44, + suggestions: null + } +] -0 !== 1 +2 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > valid ```js -if (a === undefined || a === null) a = b +/* exported a, b */ const a = 1, b = 2; ``` ```json { - "output": "a ??= b", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - } - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 26, + endLine: 1, + endColumn: 31, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 33, + endLine: 1, + endColumn: 38, + suggestions: null + } +] -0 !== 1 +2 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > valid ```js -{ const undefined = 0; } -if (a == undefined) a = b +/* exported a, b */ let a, b = 1; ``` ```json { - "output": "{ const undefined = 0; }\na ??= b", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - } - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 24, + endLine: 1, + endColumn: 25, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 27, + endLine: 1, + endColumn: 32, + suggestions: null + } +] -0 !== 1 +2 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > valid ```js -if (a == undefined) a = b -{ const undefined = 0; } +/* exported a, b, C */ const a = 1; let b; class C {} ``` ```json { - "output": "a ??= b\n{ const undefined = 0; }", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - } - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 29, + endLine: 1, + endColumn: 34, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 40, + endLine: 1, + endColumn: 41, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ClassDeclaration', + line: 1, + column: 43, + endLine: 1, + endColumn: 53, + suggestions: null + } +] -0 !== 1 +3 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > valid ```js -if (undefined == a) a = b +/* exported a, b, c */ const [a, b, ...c] = []; ``` ```json { - "output": "a ??= b", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 29, + endLine: 1, + endColumn: 46, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 29, + endLine: 1, + endColumn: 46, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 29, + endLine: 1, + endColumn: 46, + suggestions: null + } +] -0 !== 1 +3 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > valid ```js -if (undefined === a || a === null) a = b +/* exported a, b, c */ let { a, foo: b, bar: { c } } = {}; ``` ```json { - "output": "a ??= b", "options": [ - "always", { - "enforceForIfStatements": true + "lexicalBindings": true } ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] - } - ] + "languageOptions": { + "ecmaVersion": 2015 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ObjectPattern', + line: 1, + column: 27, + endLine: 1, + endColumn: 57, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ObjectPattern', + line: 1, + column: 27, + endLine: 1, + endColumn: 57, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ObjectPattern', + line: 1, + column: 27, + endLine: 1, + endColumn: 57, + suggestions: null + } +] -0 !== 1 +3 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > invalid ```js -if (a === undefined || null === a) a = b +/*global foo:writable*/ foo = bar = 1 ``` ```json { - "output": "a ??= b", - "options": [ - "always", - { - "enforceForIfStatements": true - } - ], "errors": [ { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 31 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 24, + endLine: 1, + endColumn: 37, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 30, + endLine: 1, + endColumn: 37, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -3344,36 +2929,51 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > invalid ```js -if (undefined === a || null === a) a = b +/*global bar:writable*/ foo = bar = 1 ``` ```json { - "output": "a ??= b", - "options": [ - "always", - { - "enforceForIfStatements": true - } - ], "errors": [ { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 25 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 24, + endLine: 1, + endColumn: 37, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 30, + endLine: 1, + endColumn: 37, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -3381,36 +2981,51 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > invalid ```js -if (null === a || a === undefined) a = b +/*global foo:writable*/ var foo = bar = 1; ``` ```json { - "output": "a ??= b", - "options": [ - "always", - { - "enforceForIfStatements": true - } - ], "errors": [ { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 35 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 28, + endLine: 1, + endColumn: 41, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 34, + endLine: 1, + endColumn: 41, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -3418,73 +3033,50 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > invalid ```js -if (a === null || undefined === a) a = b +/*global bar:writable*/ var foo = bar = 1; ``` ```json { - "output": "a ??= b", - "options": [ - "always", - { - "enforceForIfStatements": true - } - ], "errors": [ { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] + "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### logical-assignment-operators > invalid - -```js -if (null === a || undefined === a) a = b -``` - -```json -{ - "output": "a ??= b", - "options": [ - "always", - { - "enforceForIfStatements": true - } - ], - "errors": [ - { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 28, + endLine: 1, + endColumn: 41, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 34, + endLine: 1, + endColumn: 41, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -3492,787 +3084,835 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### logical-assignment-operators > invalid +#### no-implicit-globals > invalid ```js -if (a.b === undefined || a.b === null) a.b = c +/*global foo:writable*/ [foo, bar] = []; ``` ```json { - "output": null, - "options": [ - "always", - { - "enforceForIfStatements": true - } - ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "if", - "data": { - "operator": "??=" - }, - "suggestions": [ - { - "messageId": "convertIf", - "data": { - "operator": "??=" - }, - "output": "a.b ??= c" - } - ] + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 25 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-alert` - -Pass: 36 / 42 (85.7%) -Fail: 6 / 42 (14.3%) -Skip: 0 / 42 (0.0%) - -#### no-alert > valid - -```js -var alert = function() {}; alert(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ { - ruleId: 'rule-to-test/no-alert', - message: 'Unexpected alert.', - messageId: 'unexpected', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', severity: 1, - nodeType: 'Identifier', + nodeType: 'ArrayPattern', line: 1, - column: 27, + column: 24, endLine: 1, - endColumn: 34, + endColumn: 39, suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-alert > valid - -```js -var alert = function() {}; function test() { alert(); } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + }, { - ruleId: 'rule-to-test/no-alert', - message: 'Unexpected alert.', - messageId: 'unexpected', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', severity: 1, - nodeType: 'Identifier', + nodeType: 'ArrayPattern', line: 1, - column: 45, + column: 24, endLine: 1, - endColumn: 52, + endColumn: 39, suggestions: null } ] -1 !== 0 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-alert > valid +#### no-implicit-globals > invalid ```js -var globalThis = foo; globalThis.alert(); +/*global bar:writable*/ [foo, bar] = []; ``` ```json { "languageOptions": { - "ecmaVersion": 2020 - } + "ecmaVersion": 2015 + }, + "errors": [ + { + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 25 + } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ { - ruleId: 'rule-to-test/no-alert', - message: 'Unexpected alert.', - messageId: 'unexpected', + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', severity: 1, - nodeType: 'Identifier', + nodeType: 'ArrayPattern', line: 1, - column: 22, + column: 24, endLine: 1, - endColumn: 40, + endColumn: 39, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 24, + endLine: 1, + endColumn: 39, suggestions: null } ] -1 !== 0 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-alert > invalid +#### no-implicit-globals > invalid ```js -globalThis['alert'](foo) +/*global foo:readonly*/ foo = 1 ``` ```json { - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "unexpected", - "data": { - "name": "alert" - }, - "line": 1, - "column": 1 + "message": "Unexpected assignment to read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-alert > invalid +#### no-implicit-globals > invalid ```js -globalThis.alert(); +/*global foo:readonly*/ for (foo in {}); ``` ```json { - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "unexpected", - "data": { - "name": "alert" - }, - "line": 1, - "column": 1 + "message": "Unexpected assignment to read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-alert > invalid +#### no-implicit-globals > invalid ```js -function foo() { var globalThis = bar; globalThis.alert(); } -globalThis.alert(); +/*global foo:readonly*/ for (foo of []); ``` ```json { "languageOptions": { - "ecmaVersion": 2020 + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "data": { - "name": "alert" - }, - "line": 2, - "column": 1 + "message": "Unexpected assignment to read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - -### `no-array-constructor` -Pass: 145 / 146 (99.3%) -Fail: 1 / 146 (0.7%) -Skip: 0 / 146 (0.0%) - -#### no-array-constructor > valid +#### no-implicit-globals > invalid ```js -new Array() +var Array = 1 ``` ```json { - "languageOptions": { - "globals": { - "Array": "off" + "errors": [ + { + "message": "Unexpected redeclaration of read-only global variable." } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-array-constructor', - message: 'The array literal notation [] is preferable.', - messageId: 'preferLiteral', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 11, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' -### `no-constant-binary-expression` + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) -Pass: 225 / 260 (86.5%) -Fail: 35 / 260 (13.5%) -Skip: 0 / 260 (0.0%) -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined && foo +var Array = 1; Array = 2; ``` ```json { "errors": [ { - "messageId": "constantShortCircuit" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined ?? foo +/*global foo:readonly*/ var foo ``` ```json { "errors": [ { - "messageId": "constantShortCircuit" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -({}) == undefined +/*global foo:readonly*/ var foo = 1 ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined == ({}) +/*global foo:readonly*/ var foo; foo = 1; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined == true +/*global foo:readonly*/ for (var foo in obj); ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -true == undefined +/*global foo:readonly*/ for (var foo in obj); foo = 1; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined === true +/*global foo:readonly*/ for (var foo of arr); ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined === null +/*global foo:readonly*/ for (var foo of arr); foo = 1; ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -({}) !== undefined +/*global foo:readonly*/ function foo() {} ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.' +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -({}) === undefined +/*global foo:readonly*/ const foo = 1 ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -([]) === undefined +/*global foo:readonly*/ const foo = 1; foo = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(() => {}) === undefined +/*global foo:readonly*/ let foo ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(function() {}) === undefined +/*global foo:readonly*/ let foo = 1 ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(class {}) === undefined +/*global foo:readonly*/ let foo; foo = 1; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -new Foo() === undefined +/*global Foo:readonly*/ class Foo {} ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.' +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -`` === undefined +/*global foo:readonly, bar: readonly*/ foo = bar = 1 ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 40 + }, + { + "message": "Unexpected assignment to read-only global variable.", + "column": 46 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -1 === undefined +/*global foo:writable, bar: readonly*/ foo = bar = 1 ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 46 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 39, + endLine: 1, + endColumn: 52, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 45, + endLine: 1, + endColumn: 52, + suggestions: null + } +] + +2 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -'hello' === undefined +/*global foo:readonly, bar: writable*/ foo = bar = 1 ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 40 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 39, + endLine: 1, + endColumn: 52, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Global variable leak, declare the variable if it is intended to be local.', + messageId: 'globalVariableLeak', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 45, + endLine: 1, + endColumn: 52, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -4280,261 +3920,347 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -/[a-z]/ === undefined +/*global foo: readonly*/ foo = bar = 1 ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 26 + }, + { + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 32 } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -true === undefined +/*global bar: readonly*/ foo = bar = 1 ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Global variable leak, declare the variable if it is intended to be local.", + "column": 26 + }, + { + "message": "Unexpected assignment to read-only global variable.", + "column": 32 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -null === undefined +/*global foo*/ [foo] = arr ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 16 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -a++ === undefined +/*global foo, bar: readonly*/ [foo, bar] = arr ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 31 + }, + { + "message": "Unexpected assignment to read-only global variable.", + "column": 31 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -++a === undefined +/*global foo: readonly*/ ({ foo } = obj) ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 27 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js ---a === undefined +/*global foo: readonly*/ ({ 'a': foo } = obj) ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 27 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -a-- === undefined +/*global foo: readonly*/ ({ 'a': { 'b': [foo] } } = obj) ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 27 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -!a === undefined +/*global foo, bar: readonly*/ ({ foo, 'a': bar } = obj) ``` ```json { + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected assignment to read-only global variable.", + "column": 32 + }, + { + "message": "Unexpected assignment to read-only global variable.", + "column": 32 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ 'Global variable leak, declare the variable if it is intended to be local.' +- 'Unexpected assignment to read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -typeof a === undefined +/*global foo:readonly, bar: readonly*/ var foo, bar; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." + }, + { + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -delete a === undefined +/*global foo:writable, bar: readonly*/ var foo, bar; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 43, + endLine: 1, + endColumn: 46, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 48, + endLine: 1, + endColumn: 51, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -4542,25 +4268,50 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -void a === undefined +/*global foo:readonly, bar: writable*/ var foo, bar; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 43, + endLine: 1, + endColumn: 46, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 48, + endLine: 1, + endColumn: 51, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -4568,105 +4319,159 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -undefined === undefined +/*global foo:readonly*/ var foo, bar; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." + }, + { + "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(x = {}) === undefined +/*global bar: readonly*/ var foo, bar; ``` ```json { "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." + }, + { + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected -+ 'alwaysNew' -- 'constantBinaryOperand' ++ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." +- 'Unexpected redeclaration of read-only global variable.' + at assertMessageMatches (apps/oxlint/dist/index.js) at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(x += y) === undefined +/*global foo:readonly, bar: readonly*/ const foo = 1, bar = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." + }, + { + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(x -= y) === undefined +/*global foo:writable, bar: readonly*/ const foo = 1, bar = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 45, + endLine: 1, + endColumn: 52, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 54, + endLine: 1, + endColumn: 61, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -4674,243 +4479,234 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -(a, b, {}) === undefined +/*global foo:readonly, bar: writable*/ const foo = 1, bar = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "constantBinaryOperand" + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: messageId 'alwaysNew' does not match expected messageId 'constantBinaryOperand' -+ actual - expected +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 45, + endLine: 1, + endColumn: 52, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 54, + endLine: 1, + endColumn: 61, + suggestions: null + } +] -+ 'alwaysNew' -- 'constantBinaryOperand' +2 !== 1 - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-constant-binary-expression > invalid +#### no-implicit-globals > invalid ```js -x === new Promise() +/*global foo:readonly*/ const foo = 1, bar = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "alwaysNew" + "message": "Unexpected redeclaration of read-only global variable." + }, + { + "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - -### `no-constant-condition` -Pass: 305 / 307 (99.3%) -Fail: 2 / 307 (0.7%) -Skip: 0 / 307 (0.0%) - -#### no-constant-condition > valid +#### no-implicit-globals > invalid ```js -if (Boolean()) {} +/*global bar: readonly*/ const foo = 1, bar = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], "languageOptions": { - "globals": { - "Boolean": "off" + "ecmaVersion": 2015 + }, + "errors": [ + { + "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." + }, + { + "message": "Unexpected redeclaration of read-only global variable." } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-constant-condition', - message: 'Unexpected constant condition.', - messageId: 'unexpected', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 13, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -1 !== 0 ++ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) -#### no-constant-condition > invalid +#### no-implicit-globals > invalid ```js -if (undefined) {} +/*global foo:readonly, bar: readonly*/ let foo, bar; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "unexpected" + "message": "Unexpected redeclaration of read-only global variable." + }, + { + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -### `no-eval` - -Pass: 76 / 101 (75.2%) -Fail: 25 / 101 (24.8%) -Skip: 0 / 101 (0.0%) - -#### no-eval > valid +#### no-implicit-globals > invalid ```js -'use strict'; this.eval('foo'); +/*global foo:writable, bar: readonly*/ let foo, bar; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } + "ecmaVersion": 2015 + }, + "errors": [ + { + "message": "Unexpected redeclaration of read-only global variable." } - } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ { - ruleId: 'rule-to-test/no-eval', - message: '`eval` can be harmful.', - messageId: 'unexpected', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 19, + column: 43, endLine: 1, - endColumn: 23, + endColumn: 46, suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-eval > valid - -```js -function foo() { this.eval('foo'); } -``` - -```json -{ - "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + }, { - ruleId: 'rule-to-test/no-eval', - message: '`eval` can be harmful.', - messageId: 'unexpected', + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', severity: 1, nodeType: 'Identifier', line: 1, - column: 22, + column: 48, endLine: 1, - endColumn: 26, + endColumn: 51, suggestions: null } ] -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-eval > invalid - -```js -(0, eval)('foo') -``` - -```json -{ - "errors": [ - { - "messageId": "unexpected", - "column": 5, - "endColumn": 9 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -4918,32 +4714,58 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -(0, window.eval)('foo') +/*global foo:readonly, bar: writable*/ let foo, bar; ``` ```json { - "languageOptions": { - "globals": { - "window": "readonly" + "options": [ + { + "lexicalBindings": true } + ], + "languageOptions": { + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 12, - "endColumn": 16 + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 43, + endLine: 1, + endColumn: 46, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 48, + endLine: 1, + endColumn: 51, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -4951,88 +4773,128 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -(0, window['eval'])('foo') +/*global foo:readonly*/ let foo, bar; ``` ```json { - "languageOptions": { - "globals": { - "window": "readonly" + "options": [ + { + "lexicalBindings": true } + ], + "languageOptions": { + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 12, - "endColumn": 18 + "message": "Unexpected redeclaration of read-only global variable." + }, + { + "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -var EVAL = eval; EVAL('foo') +/*global bar: readonly*/ let foo, bar; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "unexpected", - "column": 12, - "endColumn": 16 + "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." + }, + { + "message": "Unexpected redeclaration of read-only global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: ++ actual - expected -0 !== 1 ++ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." +- 'Unexpected redeclaration of read-only global variable.' - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertMessageMatches (apps/oxlint/dist/index.js) + at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -function foo() { ('use strict'); this.eval; } +/* exported bar */ var foo = 1, bar = 2; ``` ```json { "errors": [ { - "messageId": "unexpected", - "column": 39, - "endColumn": 43 + "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 23, + endLine: 1, + endColumn: 30, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", + messageId: 'globalNonLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 32, + endLine: 1, + endColumn: 39, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5040,27 +4902,58 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -(function(exe){ exe('foo') })(eval); +/* exported a */ const a = 1; const b = 2; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, "errors": [ { - "messageId": "unexpected", - "column": 31, - "endColumn": 35 + "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 23, + endLine: 1, + endColumn: 28, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 36, + endLine: 1, + endColumn: 41, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5068,32 +4961,58 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -window.eval('foo') +/* exported a */ const a = 1, b = 2; ``` ```json { - "languageOptions": { - "globals": { - "window": "readonly" + "options": [ + { + "lexicalBindings": true } + ], + "languageOptions": { + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 8, - "endColumn": 12 + "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 23, + endLine: 1, + endColumn: 28, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 30, + endLine: 1, + endColumn: 35, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5101,32 +5020,58 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -window.window.eval('foo') +/* exported a */ let a, b = 1; ``` ```json { - "languageOptions": { - "globals": { - "window": "readonly" + "options": [ + { + "lexicalBindings": true } + ], + "languageOptions": { + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 15, - "endColumn": 19 + "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 21, + endLine: 1, + endColumn: 22, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 24, + endLine: 1, + endColumn: 29, + suggestions: null + } +] -0 !== 1 +2 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5134,32 +5079,73 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -window.window['eval']('foo') +/* exported a */ const a = 1; let b; class C {} ``` ```json { - "languageOptions": { - "globals": { - "window": "readonly" + "options": [ + { + "lexicalBindings": true } + ], + "languageOptions": { + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 15, - "endColumn": 21 + "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." + }, + { + "message": "Unexpected class declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 23, + endLine: 1, + endColumn: 28, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 34, + endLine: 1, + endColumn: 35, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ClassDeclaration', + line: 1, + column: 37, + endLine: 1, + endColumn: 47, + suggestions: null + } +] -0 !== 1 +3 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5167,30 +5153,73 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -global.eval('foo') +/* exported a */ const [a, b, ...c] = []; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], "languageOptions": { - "sourceType": "commonjs" + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 8, - "endColumn": 12 + "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." + }, + { + "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 23, + endLine: 1, + endColumn: 40, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 23, + endLine: 1, + endColumn: 40, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ArrayPattern', + line: 1, + column: 23, + endLine: 1, + endColumn: 40, + suggestions: null + } +] -0 !== 1 +3 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5198,155 +5227,232 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-implicit-globals > invalid ```js -global.global.eval('foo') +/* exported a */ let { a, foo: b, bar: { c } } = {}; ``` ```json { + "options": [ + { + "lexicalBindings": true + } + ], "languageOptions": { - "sourceType": "commonjs" + "ecmaVersion": 2015 }, "errors": [ { - "messageId": "unexpected", - "column": 15, - "endColumn": 19 + "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." + }, + { + "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ObjectPattern', + line: 1, + column: 21, + endLine: 1, + endColumn: 51, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ObjectPattern', + line: 1, + column: 21, + endLine: 1, + endColumn: 51, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-implicit-globals', + message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", + messageId: 'globalLexicalBinding', + severity: 1, + nodeType: 'ObjectPattern', + line: 1, + column: 21, + endLine: 1, + endColumn: 51, + suggestions: null + } +] + +3 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-eval > invalid +### `no-invalid-this` + +Pass: 520 / 562 (92.5%) +Fail: 42 / 562 (7.5%) +Skip: 0 / 562 (0.0%) + +#### no-invalid-this > valid ```js -global.global[`eval`]('foo') +function foo() { 'use strict'; this.eval(); } ``` ```json { "languageOptions": { - "ecmaVersion": 6, - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "unexpected", - "column": 15, - "endColumn": 21 - } - ] + "ecmaVersion": 3 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-invalid-this', + message: "Unexpected 'this'.", + messageId: 'unexpectedThis', + severity: 1, + nodeType: 'ThisExpression', + line: 1, + column: 31, + endLine: 1, + endColumn: 35, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > valid ```js -var EVAL = globalThis.eval; EVAL('foo') +"use strict"; function foo() { 'use strict'; this.eval(); } ``` ```json { "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpected", - "column": 23, - "endColumn": 27 - } - ] + "ecmaVersion": 3 + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-invalid-this', + message: "Unexpected 'this'.", + messageId: 'unexpectedThis', + severity: 1, + nodeType: 'ThisExpression', + line: 1, + column: 45, + endLine: 1, + endColumn: 49, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > valid ```js -globalThis.eval('foo') +/* implied strict mode */ function foo() { 'use strict'; this.eval(); } ``` ```json { "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpected", - "column": 12, - "endColumn": 16 + "ecmaVersion": 3, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } - ] + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-invalid-this', + message: "Unexpected 'this'.", + messageId: 'unexpectedThis', + severity: 1, + nodeType: 'ThisExpression', + line: 1, + column: 57, + endLine: 1, + endColumn: 61, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -globalThis.globalThis.eval('foo') +"use strict"; console.log(this); z(x => console.log(x, this)); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true + } + } }, "errors": [ { - "messageId": "unexpected", - "column": 23, - "endColumn": 27 + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5354,30 +5460,37 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -globalThis.globalThis['eval']('foo') +/* implied strict mode */ console.log(this); z(x => console.log(x, this)); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true, + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "unexpected", - "column": 23, - "endColumn": 29 + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5385,30 +5498,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -(0, globalThis.eval)('foo') +/* implied strict mode */ (function() { console.log(this); z(x => console.log(x, this)); })(); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "unexpected", - "column": 16, - "endColumn": 20 + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5416,30 +5535,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -(0, globalThis['eval'])('foo') +/* implied strict mode */ function foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "unexpected", - "column": 16, - "endColumn": 22 + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5447,31 +5572,41 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -window?.eval('foo') +/* implied strict mode */ function foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } }, + "options": [ + { + "capIsConstructor": false + } + ], "errors": [ { - "messageId": "unexpected" + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5479,31 +5614,41 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -(window?.eval)('foo') +/* implied strict mode */ function Foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } }, + "options": [ + { + "capIsConstructor": false + } + ], "errors": [ { - "messageId": "unexpected" + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5511,31 +5656,37 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -(window?.window).eval('foo') +/* implied strict mode */ return function() { console.log(this); z(x => console.log(x, this)); }; /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true, + "impliedStrict": true + } } }, "errors": [ { - "messageId": "unexpected" + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5543,28 +5694,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -function foo() { 'use strict'; this.eval(); } +/* implied strict mode */ var foo = (function() { console.log(this); z(x => console.log(x, this)); }).bar(obj); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 3 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "unexpected" + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5572,25 +5731,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-eval > invalid +#### no-invalid-this > invalid ```js -callbacks.findLastIndex(function (cb) { return cb(eval); }, this); +/* implied strict mode */ var obj = {foo: function() { function foo() { console.log(this); z(x => console.log(x, this)); } foo(); }}; /* should error */ ``` ```json { + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, "errors": [ { - "messageId": "unexpected" + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -5598,92430 +5768,324 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -### `no-extra-parens` - -Pass: 1067 / 1072 (99.5%) -Fail: 4 / 1072 (0.4%) -Skip: 1 / 1072 (0.1%) - -#### no-extra-parens > valid +#### no-invalid-this > invalid ```js -(let[a] = b); +/* implied strict mode */ var obj = {foo() { function foo() { console.log(this); z(x => console.log(x, this)); } foo(); }}; /* should error */ ``` ```json -{} +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-extra-parens', - message: 'Unnecessary parentheses around expression.', - messageId: 'unexpected', - severity: 1, - nodeType: 'ExpressionStatement', - line: 1, - column: 0, - endLine: 1, - endColumn: 1, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -1 !== 0 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-extra-parens > valid +#### no-invalid-this > invalid ```js -(let) -foo +/* implied strict mode */ var obj = {foo: function() { return function() { console.log(this); z(x => console.log(x, this)); }; }}; /* should error */ ``` ```json -{} +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-extra-parens', - message: 'Unnecessary parentheses around expression.', - messageId: 'unexpected', - severity: 1, - nodeType: 'ExpressionStatement', - line: 1, - column: 0, - endLine: 1, - endColumn: 1, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -1 !== 0 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-extra-parens > valid +#### no-invalid-this > invalid ```js -(let[foo]) = 1 +/* implied strict mode */ obj.foo = function() { return function() { console.log(this); z(x => console.log(x, this)); }; }; /* should error */ ``` ```json -{} +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-extra-parens', - message: 'Unnecessary parentheses around expression.', - messageId: 'unexpected', - severity: 1, - nodeType: 'AssignmentExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 1, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -1 !== 0 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-extra-parens > valid +#### no-invalid-this > invalid ```js -(let)[foo] +/* implied strict mode */ obj.foo = (function() { return () => { console.log(this); z(x => console.log(x, this)); }; })(); /* should error */ ``` ```json -{} +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-extra-parens', - message: 'Unnecessary parentheses around expression.', - messageId: 'unexpected', - severity: 1, - nodeType: 'MemberExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 1, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -1 !== 0 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -### `no-fallthrough` +#### no-invalid-this > invalid -Pass: 86 / 87 (98.9%) -Fail: 1 / 87 (1.1%) -Skip: 0 / 87 (0.0%) +```js +/* implied strict mode */ var foo = function() { console.log(this); z(x => console.log(x, this)); }.bind(null); /* should error */ +``` -#### no-fallthrough > valid +```json +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-invalid-this > invalid ```js -switch (foo) { case 0: a(); -// eslint-disable-next-line rule-to-test/no-fallthrough - case 1: } +/* implied strict mode */ (function() { console.log(this); z(x => console.log(x, this)); }).call(undefined); /* should error */ ``` ```json -{} +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-fallthrough', - message: "Expected a 'break' statement before 'case'.", - messageId: 'case', - severity: 1, - nodeType: 'SwitchCase', - line: 3, - column: 1, - endLine: 3, - endColumn: 8, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -1 !== 0 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -### `no-global-assign` +#### no-invalid-this > invalid -Pass: 12 / 18 (66.7%) -Fail: 6 / 18 (33.3%) -Skip: 0 / 18 (0.0%) +```js +/* implied strict mode */ (function() { console.log(this); z(x => console.log(x, this)); }).apply(void 0); /* should error */ +``` -#### no-global-assign > invalid +```json +{ + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "errors": [ + { + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-invalid-this > invalid ```js -top = 0; +/* implied strict mode */ Array.from([], function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "globalShouldNotBeModified", - "data": { - "name": "top" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-global-assign > invalid - -```js -require = 0; -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "globalShouldNotBeModified", - "data": { - "name": "require" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-global-assign > invalid - -```js -/*global b:false*/ function f() { b = 1; } -``` - -```json -{ - "errors": [ - { - "messageId": "globalShouldNotBeModified", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-global-assign > invalid - -```js -function f() { b = 1; } -``` - -```json -{ - "languageOptions": { - "globals": { - "b": false - } - }, - "errors": [ - { - "messageId": "globalShouldNotBeModified", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-global-assign > invalid - -```js -/*global b:false*/ function f() { b++; } -``` - -```json -{ - "errors": [ - { - "messageId": "globalShouldNotBeModified", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-global-assign > invalid - -```js -/*global b*/ b = 1; -``` - -```json -{ - "errors": [ - { - "messageId": "globalShouldNotBeModified", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-implicit-globals` - -Pass: 153 / 245 (62.4%) -Fail: 92 / 245 (37.6%) -Skip: 0 / 245 (0.0%) - -#### no-implicit-globals > valid - -```js -var foo = 1; -``` - -```json -{ - "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 11, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -function foo() {} -``` - -```json -{ - "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -var foo = 1; -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 11, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -function foo() {} -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* global foo: writable*/ foo = bar -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 26, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -foo = 1; -``` - -```json -{ - "languageOptions": { - "globals": { - "foo": "writable" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/*global foo:writable*/ var foo = 1; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -function foo() {} -``` - -```json -{ - "languageOptions": { - "globals": { - "foo": "writable" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 0, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/*global foo:writable*/ function *foo() {} -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 24, - endLine: 1, - endColumn: 42, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/*global foo:writable*/ const foo = 1; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 37, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/*global foo:writable*/ let foo; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 31, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/*global Foo:writable*/ class Foo {} -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ClassDeclaration', - line: 1, - column: 24, - endLine: 1, - endColumn: 36, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/*global foo:writable*/ foo = 1; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 31, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -foo = 1 -``` - -```json -{ - "languageOptions": { - "globals": { - "foo": "writable" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ var foo = 'foo'; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 34, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ function foo() {} -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 19, - endLine: 1, - endColumn: 36, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ function *foo() {} -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 19, - endLine: 1, - endColumn: 37, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ async function foo() {} -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2017 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 19, - endLine: 1, - endColumn: 42, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ async function *foo() {} -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2018 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.', - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'FunctionDeclaration', - line: 1, - column: 19, - endLine: 1, - endColumn: 43, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ var foo = function() {}; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 42, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ var foo = function foo() {}; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 46, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ var foo = function*() {}; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 43, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo */ var foo = function *foo() {}; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 47, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported foo, bar */ var foo = 1, bar = 2; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 35, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 37, - endLine: 1, - endColumn: 44, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a */ const a = 1; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 28, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a */ let a; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 22, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a */ let a = 1; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 26, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported A */ class A {} -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ClassDeclaration', - line: 1, - column: 17, - endLine: 1, - endColumn: 27, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a, b */ const a = 1; const b = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 26, - endLine: 1, - endColumn: 31, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 39, - endLine: 1, - endColumn: 44, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a, b */ const a = 1, b = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 26, - endLine: 1, - endColumn: 31, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 33, - endLine: 1, - endColumn: 38, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a, b */ let a, b = 1; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 25, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 27, - endLine: 1, - endColumn: 32, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a, b, C */ const a = 1; let b; class C {} -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 29, - endLine: 1, - endColumn: 34, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 40, - endLine: 1, - endColumn: 41, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ClassDeclaration', - line: 1, - column: 43, - endLine: 1, - endColumn: 53, - suggestions: null - } -] - -3 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a, b, c */ const [a, b, ...c] = []; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 29, - endLine: 1, - endColumn: 46, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 29, - endLine: 1, - endColumn: 46, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 29, - endLine: 1, - endColumn: 46, - suggestions: null - } -] - -3 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > valid - -```js -/* exported a, b, c */ let { a, foo: b, bar: { c } } = {}; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ObjectPattern', - line: 1, - column: 27, - endLine: 1, - endColumn: 57, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ObjectPattern', - line: 1, - column: 27, - endLine: 1, - endColumn: 57, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ObjectPattern', - line: 1, - column: 27, - endLine: 1, - endColumn: 57, - suggestions: null - } -] - -3 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 31 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 37, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 37, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global bar:writable*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 25 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 37, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 37, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable*/ var foo = bar = 1; -``` - -```json -{ - "errors": [ - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 35 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 41, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 34, - endLine: 1, - endColumn: 41, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global bar:writable*/ var foo = bar = 1; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 41, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 34, - endLine: 1, - endColumn: 41, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable*/ [foo, bar] = []; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 25 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 24, - endLine: 1, - endColumn: 39, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 24, - endLine: 1, - endColumn: 39, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global bar:writable*/ [foo, bar] = []; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 25 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 24, - endLine: 1, - endColumn: 39, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 24, - endLine: 1, - endColumn: 39, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -window = 1; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ foo = 1 -``` - -```json -{ - "errors": [ - { - "message": "Unexpected assignment to read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -foo = 1; -``` - -```json -{ - "languageOptions": { - "globals": { - "foo": "readonly" - } - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ for (foo in {}); -``` - -```json -{ - "errors": [ - { - "message": "Unexpected assignment to read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ for (foo of []); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ var foo -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ var foo = 1 -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ var foo; foo = 1; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ for (var foo in obj); -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ for (var foo in obj); foo = 1; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ for (var foo of arr); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ for (var foo of arr); foo = 1; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ function foo() {} -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.' -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ const foo = 1 -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ const foo = 1; foo = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ let foo -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ let foo = 1 -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ let foo; foo = 1; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global Foo:readonly*/ class Foo {} -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.' -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: readonly*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 40 - }, - { - "message": "Unexpected assignment to read-only global variable.", - "column": 46 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable, bar: readonly*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 46 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 39, - endLine: 1, - endColumn: 52, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 45, - endLine: 1, - endColumn: 52, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: writable*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 40 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 39, - endLine: 1, - endColumn: 52, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Global variable leak, declare the variable if it is intended to be local.', - messageId: 'globalVariableLeak', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 45, - endLine: 1, - endColumn: 52, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo: readonly*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 26 - }, - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 32 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global bar: readonly*/ foo = bar = 1 -``` - -```json -{ - "errors": [ - { - "message": "Global variable leak, declare the variable if it is intended to be local.", - "column": 26 - }, - { - "message": "Unexpected assignment to read-only global variable.", - "column": 32 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo*/ [foo] = arr -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 16 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo, bar: readonly*/ [foo, bar] = arr -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 31 - }, - { - "message": "Unexpected assignment to read-only global variable.", - "column": 31 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo: readonly*/ ({ foo } = obj) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 27 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo: readonly*/ ({ 'a': foo } = obj) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 27 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo: readonly*/ ({ 'a': { 'b': [foo] } } = obj) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 27 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo, bar: readonly*/ ({ foo, 'a': bar } = obj) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected assignment to read-only global variable.", - "column": 32 - }, - { - "message": "Unexpected assignment to read-only global variable.", - "column": 32 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ 'Global variable leak, declare the variable if it is intended to be local.' -- 'Unexpected assignment to read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: readonly*/ var foo, bar; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - }, - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable, bar: readonly*/ var foo, bar; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 43, - endLine: 1, - endColumn: 46, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 48, - endLine: 1, - endColumn: 51, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: writable*/ var foo, bar; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 43, - endLine: 1, - endColumn: 46, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 48, - endLine: 1, - endColumn: 51, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ var foo, bar; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - }, - { - "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global bar: readonly*/ var foo, bar; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." - }, - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: readonly*/ const foo = 1, bar = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - }, - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable, bar: readonly*/ const foo = 1, bar = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 45, - endLine: 1, - endColumn: 52, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 54, - endLine: 1, - endColumn: 61, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: writable*/ const foo = 1, bar = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 45, - endLine: 1, - endColumn: 52, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 54, - endLine: 1, - endColumn: 61, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ const foo = 1, bar = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - }, - { - "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global bar: readonly*/ const foo = 1, bar = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." - }, - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: readonly*/ let foo, bar; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - }, - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global foo:writable, bar: readonly*/ let foo, bar; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 43, - endLine: 1, - endColumn: 46, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 48, - endLine: 1, - endColumn: 51, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly, bar: writable*/ let foo, bar; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 43, - endLine: 1, - endColumn: 46, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 48, - endLine: 1, - endColumn: 51, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/*global foo:readonly*/ let foo, bar; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected redeclaration of read-only global variable." - }, - { - "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/*global bar: readonly*/ let foo, bar; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." - }, - { - "message": "Unexpected redeclaration of read-only global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: -+ actual - expected - -+ "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." -- 'Unexpected redeclaration of read-only global variable.' - - at assertMessageMatches (apps/oxlint/dist/index.js) - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - - -#### no-implicit-globals > invalid - -```js -/* exported bar */ var foo = 1, bar = 2; -``` - -```json -{ - "errors": [ - { - "message": "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 30, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.", - messageId: 'globalNonLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 32, - endLine: 1, - endColumn: 39, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/* exported a */ const a = 1; const b = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 28, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 36, - endLine: 1, - endColumn: 41, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/* exported a */ const a = 1, b = 2; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 28, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/* exported a */ let a, b = 1; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 22, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 29, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/* exported a */ const a = 1; let b; class C {} -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." - }, - { - "message": "Unexpected class declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 28, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 34, - endLine: 1, - endColumn: 35, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: 'Unexpected class declaration in the global scope, wrap in a block or in an IIFE.', - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ClassDeclaration', - line: 1, - column: 37, - endLine: 1, - endColumn: 47, - suggestions: null - } -] - -3 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/* exported a */ const [a, b, ...c] = []; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." - }, - { - "message": "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 23, - endLine: 1, - endColumn: 40, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 23, - endLine: 1, - endColumn: 40, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'const' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ArrayPattern', - line: 1, - column: 23, - endLine: 1, - endColumn: 40, - suggestions: null - } -] - -3 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implicit-globals > invalid - -```js -/* exported a */ let { a, foo: b, bar: { c } } = {}; -``` - -```json -{ - "options": [ - { - "lexicalBindings": true - } - ], - "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." - }, - { - "message": "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ObjectPattern', - line: 1, - column: 21, - endLine: 1, - endColumn: 51, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ObjectPattern', - line: 1, - column: 21, - endLine: 1, - endColumn: 51, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-implicit-globals', - message: "Unexpected 'let' declaration in the global scope, wrap in a block or in an IIFE.", - messageId: 'globalLexicalBinding', - severity: 1, - nodeType: 'ObjectPattern', - line: 1, - column: 21, - endLine: 1, - endColumn: 51, - suggestions: null - } -] - -3 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-implied-eval` - -Pass: 83 / 138 (60.1%) -Fail: 55 / 138 (39.9%) -Skip: 0 / 138 (0.0%) - -#### no-implied-eval > invalid - -```js -setTimeout("x = 1;"); -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout("x = 1;", 100); -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setInterval("x = 1;"); -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -execScript("x = 1;"); -``` - -```json -{ - "languageOptions": { - "globals": { - "execScript": false - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -const s = 'x=1'; setTimeout(s, 100); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout(String('x=1'), 100); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setInterval('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.execScript('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window['setTimeout']('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window['setInterval']('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window[`setInterval`]('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window['execScript']('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window[`execScript`]('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.window['setInterval']('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.window['execScript']('foo') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setTimeout('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setInterval('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.execScript('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global['setTimeout']('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global['setInterval']('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global[`setInterval`]('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global['execScript']('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global[`execScript`]('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.global['setInterval']('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.global['execScript']('foo') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -globalThis.setTimeout('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -globalThis.setInterval('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -globalThis.execScript('foo') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout(`foo${bar}`) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout(`foo${bar}`) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.window.setTimeout(`foo${bar}`) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.global.setTimeout(`foo${bar}`) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "__dirname": false, - "__filename": false, - "AbortController": false, - "AbortSignal": false, - "AsyncDisposableStack": false, - "atob": false, - "Blob": false, - "BroadcastChannel": false, - "btoa": false, - "Buffer": false, - "ByteLengthQueuingStrategy": false, - "clearImmediate": false, - "clearInterval": false, - "clearTimeout": false, - "CloseEvent": false, - "CompressionStream": false, - "console": false, - "CountQueuingStrategy": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CustomEvent": false, - "DecompressionStream": false, - "DisposableStack": false, - "DOMException": false, - "ErrorEvent": false, - "Event": false, - "EventTarget": false, - "exports": true, - "fetch": false, - "File": false, - "FormData": false, - "global": false, - "Headers": false, - "localStorage": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "module": false, - "navigator": false, - "Navigator": false, - "performance": false, - "Performance": false, - "PerformanceEntry": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformanceResourceTiming": false, - "process": false, - "queueMicrotask": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "Request": false, - "require": false, - "Response": false, - "sessionStorage": false, - "setImmediate": false, - "setInterval": false, - "setTimeout": false, - "Storage": false, - "structuredClone": false, - "SubtleCrypto": false, - "SuppressedError": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "WebAssembly": false, - "WebSocket": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout('foo' + bar) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout(foo + 'bar') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout(`foo` + bar) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout(1 + ';' + 1) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout('foo' + bar) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout(foo + 'bar') -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout(`foo` + bar) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout(1 + ';' + 1) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.window.setTimeout(1 + ';' + 1) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setTimeout('foo' + bar) -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setTimeout(foo + 'bar') -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setTimeout(`foo` + bar) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setTimeout(1 + ';' + 1) -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.global.setTimeout(1 + ';' + 1) -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -globalThis.setTimeout('foo' + bar) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -setTimeout('foo' + (function() { - setTimeout(helper); - execScript('str'); - return 'bar'; -})()) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false, - "execScript": false - } - }, - "errors": [ - { - "messageId": "impliedEval", - "line": 1 - }, - { - "messageId": "execScript", - "line": 3 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window.setTimeout('foo' + (function() { - setTimeout(helper); - window.execScript('str'); - return 'bar'; -})()) -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval", - "line": 1 - }, - { - "messageId": "execScript", - "line": 3 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -global.setTimeout('foo' + (function() { - setTimeout(helper); - global.execScript('str'); - return 'bar'; -})()) -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs", - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "impliedEval", - "line": 1 - }, - { - "messageId": "execScript", - "line": 3 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window?.setTimeout('code', 0) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -(window?.setTimeout)('code', 0) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" - } - }, - "errors": [ - { - "messageId": "impliedEval" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -window?.execScript('code') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-implied-eval > invalid - -```js -(window?.execScript)('code') -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "window": "readonly" - } - }, - "errors": [ - { - "messageId": "execScript" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-invalid-this` - -Pass: 520 / 562 (92.5%) -Fail: 42 / 562 (7.5%) -Skip: 0 / 562 (0.0%) - -#### no-invalid-this > valid - -```js -function foo() { 'use strict'; this.eval(); } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-invalid-this', - message: "Unexpected 'this'.", - messageId: 'unexpectedThis', - severity: 1, - nodeType: 'ThisExpression', - line: 1, - column: 31, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > valid - -```js -"use strict"; function foo() { 'use strict'; this.eval(); } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-invalid-this', - message: "Unexpected 'this'.", - messageId: 'unexpectedThis', - severity: 1, - nodeType: 'ThisExpression', - line: 1, - column: 45, - endLine: 1, - endColumn: 49, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > valid - -```js -/* implied strict mode */ function foo() { 'use strict'; this.eval(); } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-invalid-this', - message: "Unexpected 'this'.", - messageId: 'unexpectedThis', - severity: 1, - nodeType: 'ThisExpression', - line: 1, - column: 57, - endLine: 1, - endColumn: 61, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -"use strict"; console.log(this); z(x => console.log(x, this)); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ console.log(this); z(x => console.log(x, this)); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true, - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ (function() { console.log(this); z(x => console.log(x, this)); })(); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ function foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ function foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "options": [ - { - "capIsConstructor": false - } - ], - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ function Foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "options": [ - { - "capIsConstructor": false - } - ], - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ return function() { console.log(this); z(x => console.log(x, this)); }; /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true, - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var foo = (function() { console.log(this); z(x => console.log(x, this)); }).bar(obj); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var obj = {foo: function() { function foo() { console.log(this); z(x => console.log(x, this)); } foo(); }}; /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var obj = {foo() { function foo() { console.log(this); z(x => console.log(x, this)); } foo(); }}; /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var obj = {foo: function() { return function() { console.log(this); z(x => console.log(x, this)); }; }}; /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ obj.foo = function() { return function() { console.log(this); z(x => console.log(x, this)); }; }; /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ obj.foo = (function() { return () => { console.log(this); z(x => console.log(x, this)); }; })(); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var foo = function() { console.log(this); z(x => console.log(x, this)); }.bind(null); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ (function() { console.log(this); z(x => console.log(x, this)); }).call(undefined); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ (function() { console.log(this); z(x => console.log(x, this)); }).apply(void 0); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ Array.from([], function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.every(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.filter(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.find(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.findIndex(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.findLast(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.findLastIndex(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.flatMap(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.forEach(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.map(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.some(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ foo.forEach(function() { console.log(this); z(x => console.log(x, this)); }, null); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ /** @returns {void} */ function foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ /** @this Obj */ foo(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var Ctor = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "options": [ - { - "capIsConstructor": false - } - ], - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ var func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "options": [ - { - "capIsConstructor": false - } - ], - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ Ctor = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "options": [ - { - "capIsConstructor": false - } - ], - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "options": [ - { - "capIsConstructor": false - } - ], - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ function foo(func = function() { console.log(this); z(x => console.log(x, this)); }) {} /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > invalid - -```js -/* implied strict mode */ [func = function() { console.log(this); z(x => console.log(x, this)); }] = a /* should error */ -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - }, - "errors": [ - { - "messageId": "unexpectedThis" - }, - { - "messageId": "unexpectedThis" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-invalid-this > valid - -```js - - z(function (x, this: context) { - console.log(x, this); - }); - -``` - -```json -{} -``` - -Error: Parsing failed - at parse (apps/oxlint/dist/index.js) - at lint (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - - -### `no-irregular-whitespace` - -Pass: 279 / 280 (99.6%) -Fail: 1 / 280 (0.4%) -Skip: 0 / 280 (0.0%) - -#### no-irregular-whitespace > valid - -```js -console.log('hello BOM'); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-irregular-whitespace', - message: 'Irregular whitespace not allowed.', - messageId: 'noIrregularWhitespace', - severity: 1, - nodeType: null, - line: 1, - column: 0, - endLine: 1, - endColumn: 1, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-lone-blocks` - -Pass: 47 / 50 (94.0%) -Fail: 1 / 50 (2.0%) -Skip: 2 / 50 (4.0%) - -#### no-lone-blocks > valid - -```js -{ function bar() {} } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-lone-blocks', - message: 'Block is redundant.', - messageId: 'redundantBlock', - severity: 1, - nodeType: 'BlockStatement', - line: 1, - column: 0, - endLine: 1, - endColumn: 21, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-misleading-character-class` - -Pass: 185 / 190 (97.4%) -Fail: 5 / 190 (2.6%) -Skip: 0 / 190 (0.0%) - -#### no-misleading-character-class > valid - -```js -new RegExp('[👍]') -``` - -```json -{ - "languageOptions": { - "globals": { - "RegExp": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-misleading-character-class', - message: "Unexpected surrogate pair in character class. Use 'u' flag.", - messageId: 'surrogatePairWithoutUFlag', - severity: 1, - nodeType: 'Literal', - line: 1, - column: 13, - endLine: 1, - endColumn: 15, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-misleading-character-class > invalid - -```js -var r = new globalThis.RegExp("[❇️]", "") -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "column": 33, - "endColumn": 35, - "messageId": "combiningClass", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-misleading-character-class > invalid - -```js -var r = new globalThis.RegExp("[👶🏻]", "u") -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "column": 33, - "endColumn": 37, - "messageId": "emojiModifier", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-misleading-character-class > invalid - -```js -var r = new globalThis.RegExp("[🇯🇵]", "") -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "column": 33, - "endColumn": 35, - "messageId": "surrogatePairWithoutUFlag", - "suggestions": [ - { - "messageId": "suggestUnicodeFlag", - "output": "var r = new globalThis.RegExp(\"[🇯🇵]\", \"u\")" - } - ] - }, - { - "column": 35, - "endColumn": 37, - "messageId": "surrogatePairWithoutUFlag", - "suggestions": [ - { - "messageId": "suggestUnicodeFlag", - "output": "var r = new globalThis.RegExp(\"[🇯🇵]\", \"u\")" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-misleading-character-class > invalid - -```js -var r = new globalThis.RegExp("[\\u{1F468}\\u{200D}\\u{1F469}\\u{200D}\\u{1F466}]", "u") -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "column": 33, - "endColumn": 81, - "messageId": "zwj", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-multiple-empty-lines` - -Pass: 45 / 46 (97.8%) -Fail: 1 / 46 (2.2%) -Skip: 0 / 46 (0.0%) - -#### no-multiple-empty-lines > invalid - -```js -foo - -``` - -```json -{ - "output": "foo\n", - "options": [ - { - "max": 1, - "maxEOF": 0 - } - ], - "errors": [ - { - "messageId": "blankEndOfFile", - "data": { - "max": 0 - }, - "column": 1 - } - ] -} -``` - -RangeError: Line number out of range (line 3 requested). Line numbers should be 1-based, and less than or equal to number of lines in file (2). - at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) - at report (apps/oxlint/dist/lint.js) - at Object.report (apps/oxlint/dist/lint.js) - at apps/oxlint/conformance/submodules/eslint/lib/rules/no-multiple-empty-lines.js:157:17 - - -### `no-native-reassign` - -Pass: 12 / 18 (66.7%) -Fail: 6 / 18 (33.3%) -Skip: 0 / 18 (0.0%) - -#### no-native-reassign > invalid - -```js -top = 0; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "nativeReassign", - "data": { - "name": "top" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-native-reassign > invalid - -```js -require = 0; -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - }, - "errors": [ - { - "messageId": "nativeReassign", - "data": { - "name": "require" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-native-reassign > invalid - -```js -/*global b:false*/ function f() { b = 1; } -``` - -```json -{ - "errors": [ - { - "messageId": "nativeReassign", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-native-reassign > invalid - -```js -function f() { b = 1; } -``` - -```json -{ - "languageOptions": { - "globals": { - "b": false - } - }, - "errors": [ - { - "messageId": "nativeReassign", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-native-reassign > invalid - -```js -/*global b:false*/ function f() { b++; } -``` - -```json -{ - "errors": [ - { - "messageId": "nativeReassign", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-native-reassign > invalid - -```js -/*global b*/ b = 1; -``` - -```json -{ - "errors": [ - { - "messageId": "nativeReassign", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-new-native-nonconstructor` - -Pass: 12 / 14 (85.7%) -Fail: 2 / 14 (14.3%) -Skip: 0 / 14 (0.0%) - -#### no-new-native-nonconstructor > invalid - -```js -var foo = new Symbol('foo'); -``` - -```json -{ - "errors": [ - { - "message": "`Symbol` cannot be called as a constructor." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-new-native-nonconstructor > invalid - -```js -function bar() { return function Symbol() {}; } var baz = new Symbol('baz'); -``` - -```json -{ - "errors": [ - { - "message": "`Symbol` cannot be called as a constructor." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-new-symbol` - -Pass: 5 / 7 (71.4%) -Fail: 2 / 7 (28.6%) -Skip: 0 / 7 (0.0%) - -#### no-new-symbol > invalid - -```js -var foo = new Symbol('foo'); -``` - -```json -{ - "errors": [ - { - "messageId": "noNewSymbol" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-new-symbol > invalid - -```js -function bar() { return function Symbol() {}; } var baz = new Symbol('baz'); -``` - -```json -{ - "errors": [ - { - "messageId": "noNewSymbol" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-new-wrappers` - -Pass: 9 / 11 (81.8%) -Fail: 2 / 11 (18.2%) -Skip: 0 / 11 (0.0%) - -#### no-new-wrappers > valid - -```js -new String() -``` - -```json -{ - "languageOptions": { - "globals": { - "String": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-new-wrappers', - message: 'Do not use String as a constructor.', - messageId: 'noConstructor', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-new-wrappers > valid - -```js - - /* global Boolean:off */ - assert(new Boolean); - -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-new-wrappers', - message: 'Do not use Boolean as a constructor.', - messageId: 'noConstructor', - severity: 1, - nodeType: 'NewExpression', - line: 3, - column: 15, - endLine: 3, - endColumn: 26, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-obj-calls` - -Pass: 73 / 107 (68.2%) -Fail: 34 / 107 (31.8%) -Skip: 0 / 107 (0.0%) - -#### no-obj-calls > valid - -```js -/*globals Math: off*/ Math(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Math' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 22, - endLine: 1, - endColumn: 28, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -/*globals Math: off*/ new Math(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Math' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 22, - endLine: 1, - endColumn: 32, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -JSON(); -``` - -```json -{ - "languageOptions": { - "globals": { - "JSON": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'JSON' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 6, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -new JSON(); -``` - -```json -{ - "languageOptions": { - "globals": { - "JSON": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'JSON' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 10, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -Reflect(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Reflect' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 9, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -Atomics(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Atomics' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 9, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -new Reflect(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Reflect' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -new Atomics(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Atomics' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -Atomics(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Atomics' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 9, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -Intl() -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Intl' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 6, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > valid - -```js -new Intl() -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-obj-calls', - message: "'Intl' is not a function.", - messageId: 'unexpectedCall', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 10, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = globalThis.Math(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Math" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = new globalThis.Math(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Math" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -f(globalThis.Math()); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Math" - }, - "column": 3, - "endColumn": 20 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -globalThis.Math().foo; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Math" - }, - "column": 1, - "endColumn": 18 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -new globalThis.Math().foo; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Math" - }, - "column": 1, - "endColumn": 22 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = globalThis.JSON(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "JSON" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -x = globalThis.JSON(str); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "JSON" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -globalThis.Math( globalThis.JSON() ); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Math" - }, - "column": 1, - "endColumn": 37 - }, - { - "messageId": "unexpectedCall", - "data": { - "name": "JSON" - }, - "column": 18, - "endColumn": 35 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = globalThis.Reflect(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Reflect" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = new globalThis.Reflect; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Reflect" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = globalThis.Atomics(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Atomics" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = globalThis.Intl(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Intl" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = new globalThis.Intl; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Intl" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = bar ? baz: JSON; foo(); -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "JSON" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = bar ? baz: JSON; new foo(); -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "JSON" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = bar ? baz: globalThis.JSON; foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "JSON" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = bar ? baz: globalThis.JSON; new foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "JSON" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = window.Atomics; foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "Atomics" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = window.Atomics; new foo; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "Atomics" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = window.Intl; foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "Intl" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var foo = window.Intl; new foo; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "unexpectedRefCall", - "data": { - "name": "foo", - "ref": "Intl" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = globalThis?.Reflect(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Reflect" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-obj-calls > invalid - -```js -var x = (globalThis?.Reflect)(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "unexpectedCall", - "data": { - "name": "Reflect" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-object-constructor` - -Pass: 55 / 56 (98.2%) -Fail: 1 / 56 (1.8%) -Skip: 0 / 56 (0.0%) - -#### no-object-constructor > valid - -```js -new Object() -``` - -```json -{ - "languageOptions": { - "globals": { - "Object": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-object-constructor', - message: 'The object literal notation {} is preferable.', - messageId: 'preferLiteral', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 0, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-promise-executor-return` - -Pass: 66 / 124 (53.2%) -Fail: 58 / 124 (46.8%) -Skip: 0 / 124 (0.0%) - -#### no-promise-executor-return > invalid - -```js -new Promise(function (resolve, reject) { return 1; }) -``` - -```json -{ - "errors": [ - { - "message": "Return values from promise executor functions cannot be read.", - "column": 42, - "endColumn": 51, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => resolve(1)) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "message": "Return values from promise executor functions cannot be read.", - "column": 34, - "endColumn": 44, - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise((resolve, reject) => void resolve(1))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise((resolve, reject) => {resolve(1)})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => { return 1 }) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "message": "Return values from promise executor functions cannot be read.", - "column": 36, - "endColumn": 44, - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise((resolve, reject) => { return void 1 })" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => 1) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void 1)" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {1})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => 1 ? 2 : 3) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void (1 ? 2 : 3))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {1 ? 2 : 3})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => (1 ? 2 : 3)) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void (1 ? 2 : 3))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {(1 ? 2 : 3)})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => (1)) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void (1))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {(1)})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => () => {}) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void (() => {}))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {() => {}})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => null) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void null)" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {null})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => null) -``` - -```json -{ - "options": [ - { - "allowVoid": false - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise(r => {null})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => /*hi*/ ~0) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => /*hi*/ void ~0)" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => /*hi*/ {~0})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => /*hi*/ ~0) -``` - -```json -{ - "options": [ - { - "allowVoid": false - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise(r => /*hi*/ {~0})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => { return 0 }) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => { return void 0 })" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => { return 0 }) -``` - -```json -{ - "options": [ - { - "allowVoid": false - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => { if (foo) { return void 0 } return 0 }) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => { if (foo) { return void 0 } return void 0 })" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(resolve => { return (foo = resolve(1)); }) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(resolve => { return void (foo = resolve(1)); })" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(resolve => r = resolve) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(resolve => void (r = resolve))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(resolve => {r = resolve})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => { return(1) }) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => { return void (1) })" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r =>1) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r =>void 1)" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r =>{1})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(r => ((1))) -``` - -```json -{ - "options": [ - { - "allowVoid": true - } - ], - "errors": [ - { - "messageId": "returnsValue", - "suggestions": [ - { - "messageId": "prependVoid", - "output": "new Promise(r => void ((1)))" - }, - { - "messageId": "wrapBraces", - "output": "new Promise(r => {((1))})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function foo(resolve, reject) { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function (resolve, reject) { return undefined; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => { return null; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function (resolve, reject) { return false; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => resolve) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 34, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise((resolve, reject) => {resolve})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => null) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 34, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise((resolve, reject) => {null})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function (resolve, reject) { return resolve(foo); }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => { return reject(foo); }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => x + y) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 34, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise((resolve, reject) => {x + y})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => { return Promise.resolve(42); }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function (resolve, reject) { if (foo) { return 1; } }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((resolve, reject) => { try { return 1; } catch(e) {} }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function (resolve, reject) { while (foo){ if (bar) break; else return 1; } }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(() => { return void 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(() => (1)) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 20, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise(() => {(1)})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => ({})); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 26, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "() => new Promise(() => {({})});" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function () { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(() => { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(() => 1) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 19, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "new Promise(() => {1})" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -function foo() {} new Promise(function () { return 1; }); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 45, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -function foo() { return; } new Promise(() => { return 1; }); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 48, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -function foo() { return 1; } new Promise(() => { return 2; }); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 50, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -function foo () { return new Promise(function () { return 1; }); } -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 52, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -function foo() { return new Promise(() => { bar(() => { return 1; }); return false; }); } -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 71, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => { if (foo) { return 0; } else bar(() => { return 1; }); }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 38, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -function foo () { return 1; return new Promise(function () { return 2; }); return 3;} -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 62, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => 1; new Promise(() => { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 30, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function () { return 1; }); function foo() { return 1; } -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 27, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => { return 1; }); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 27, - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => 1); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 25, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "() => new Promise(() => {1});" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => () => 1); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 25, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "() => new Promise(() => {() => 1});" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => async () => 1); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2017 - }, - "errors": [ - { - "messageId": "returnsValue", - "column": 25, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "() => new Promise(() => {async () => 1});" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => function () {}); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 25, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => function foo() {}); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 25, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "() => new Promise(() => {function foo() {}});" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -() => new Promise(() => []); -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "column": 25, - "suggestions": [ - { - "messageId": "wrapBraces", - "output": "() => new Promise(() => {[]});" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise((Promise) => { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-promise-executor-return > invalid - -```js -new Promise(function Promise(resolve, reject) { return 1; }) -``` - -```json -{ - "errors": [ - { - "messageId": "returnsValue", - "suggestions": null - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-redeclare` - -Pass: 51 / 75 (68.0%) -Fail: 24 / 75 (32.0%) -Skip: 0 / 75 (0.0%) - -#### no-redeclare > valid - -```js -var Object = 0; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-redeclare', - message: "'Object' is already defined as a built-in global variable.", - messageId: 'redeclaredAsBuiltin', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 10, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -var top = 0; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "message": "'top' is already defined as a built-in global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -var a; var {a = 0, b: Object = 0} = {}; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - } - }, - "errors": [ - { - "message": "'a' is already defined." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-redeclare', - message: "'Object' is already defined as a built-in global variable.", - messageId: 'redeclaredAsBuiltin', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 22, - endLine: 1, - endColumn: 28, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-redeclare', - message: "'a' is already defined.", - messageId: 'redeclared', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 12, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -var globalThis = 0; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "message": "'globalThis' is already defined as a built-in global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -var a; var {a = 0, b: globalThis = 0} = {}; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "message": "'a' is already defined." - }, - { - "message": "'globalThis' is already defined as a built-in global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ - { - ruleId: 'rule-to-test/no-redeclare', - message: "'a' is already defined.", - messageId: 'redeclared', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 12, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -1 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*global b:false*/ var b = 1; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'b' is already defined by a variable declaration.", - "line": 1, - "column": 10, - "endLine": 1, - "endColumn": 11 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*global b:true*/ var b = 1; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'b' is already defined by a variable declaration.", - "line": 1, - "column": 10, - "endLine": 1, - "endColumn": 11 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -var top = 0; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "message": "'top' is already defined as a built-in global variable." - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals Array */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 16 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals parseInt */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'parseInt' is already defined as a built-in global variable.", - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 19 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals foo, Array */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 16, - "endLine": 1, - "endColumn": 21 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/* globals foo, Array, baz */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 17, - "endLine": 1, - "endColumn": 22 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*global foo, Array, baz*/ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 15, - "endLine": 1, - "endColumn": 20 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*global array, Array*/ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 17, - "endLine": 1, - "endColumn": 22 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals a,Array*/ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 13, - "endLine": 1, - "endColumn": 18 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals a:readonly, Array:writable */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 1, - "column": 23, - "endLine": 1, - "endColumn": 28 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js - -/*globals Array */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 2, - "column": 11, - "endLine": 2, - "endColumn": 16 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals -Array */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 2, - "column": 1, - "endLine": 2, - "endColumn": 6 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js - -/*globals - -Array*/ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 4, - "column": 1, - "endLine": 4, - "endColumn": 6 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals foo, - Array */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "errors": [ - { - "message": "'Array' is already defined as a built-in global variable.", - "line": 2, - "column": 5, - "endLine": 2, - "endColumn": 10 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals a */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "globals": { - "a": "readonly" - } - }, - "errors": [ - { - "message": "'a' is already defined as a built-in global variable.", - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 12 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals a */ -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "globals": { - "a": "writable" - } - }, - "errors": [ - { - "message": "'a' is already defined as a built-in global variable.", - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 12 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals a */ /*globals a */ -``` - -```json -{ - "errors": [ - { - "message": "'a' is already defined.", - "line": 1, - "column": 26, - "endLine": 1, - "endColumn": 27 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-redeclare > invalid - -```js -/*globals a */ /*globals a */ var a = 0 -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "globals": { - "a": "writable" - } - }, - "errors": [ - { - "message": "'a' is already defined as a built-in global variable.", - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 12 - }, - { - "message": "'a' is already defined as a built-in global variable.", - "line": 1, - "column": 26, - "endLine": 1, - "endColumn": 27 - }, - { - "message": "'a' is already defined as a built-in global variable.", - "line": 1, - "column": 35, - "endLine": 1, - "endColumn": 36 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 3 errors but had 0: [] - -0 !== 3 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-restricted-globals` - -Pass: 143 / 166 (86.1%) -Fail: 23 / 166 (13.9%) -Skip: 0 / 166 (0.0%) - -#### no-restricted-globals > invalid - -```js -window.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -self.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -window.window.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -self.self.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -globalThis.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -globalThis.globalThis.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -myGlobal.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "myGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -myGlobal.myGlobal.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "myGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -window["foo"] -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -self["foo"] -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -globalThis["foo"] -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -myGlobal["foo"] -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "myGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -window?.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -self?.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -window.foo(); myGlobal.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false, - "myGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - }, - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -myGlobal.foo(); myOtherGlobal.bar() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo", - "bar" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal", - "myOtherGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "myGlobal": "readonly", - "myOtherGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - }, - { - "messageId": "defaultMessage", - "data": { - "name": "bar" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -foo(); window.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - }, - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ - { - ruleId: 'rule-to-test/no-restricted-globals', - message: "Unexpected use of 'foo'.", - messageId: 'defaultMessage', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 3, - suggestions: null - } -] - -1 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -foo(); self.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - }, - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ - { - ruleId: 'rule-to-test/no-restricted-globals', - message: "Unexpected use of 'foo'.", - messageId: 'defaultMessage', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 3, - suggestions: null - } -] - -1 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -foo(); myGlobal.foo() -``` - -```json -{ - "options": [ - { - "globals": [ - "foo" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "myGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - }, - { - "messageId": "defaultMessage", - "data": { - "name": "foo" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ - { - ruleId: 'rule-to-test/no-restricted-globals', - message: "Unexpected use of 'foo'.", - messageId: 'defaultMessage', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 3, - suggestions: null - } -] - -1 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -function onClick(event) { console.log(event); console.log(window.event); } -``` - -```json -{ - "options": [ - { - "globals": [ - "event" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "event" - }, - "line": 1, - "column": 66, - "endLine": 1, - "endColumn": 71 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -function onClick(event) { console.log(event); console.log(self.event); } -``` - -```json -{ - "options": [ - { - "globals": [ - "event" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "event" - }, - "line": 1, - "column": 64, - "endLine": 1, - "endColumn": 69 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -function onClick(event) { console.log(event); console.log(globalThis.event); } -``` - -```json -{ - "options": [ - { - "globals": [ - "event" - ], - "checkGlobalObject": true - } - ], - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "event" - }, - "line": 1, - "column": 70, - "endLine": 1, - "endColumn": 75 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-restricted-globals > invalid - -```js -function onClick(event) { console.log(event); console.log(myGlobal.event); } -``` - -```json -{ - "options": [ - { - "globals": [ - "event" - ], - "checkGlobalObject": true, - "globalObjects": [ - "myGlobal" - ] - } - ], - "languageOptions": { - "globals": { - "myGlobal": "readonly" - } - }, - "errors": [ - { - "messageId": "defaultMessage", - "data": { - "name": "event" - }, - "line": 1, - "column": 68, - "endLine": 1, - "endColumn": 73 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-restricted-imports` - -Pass: 253 / 254 (99.6%) -Fail: 1 / 254 (0.4%) -Skip: 0 / 254 (0.0%) - -#### no-restricted-imports > valid - -```js -import { -AllowedObject, -DisallowedObject, // eslint-disable-line -} from "foo"; -``` - -```json -{ - "options": [ - { - "paths": [ - { - "name": "foo", - "importNames": [ - "DisallowedObject" - ] - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-restricted-imports', - message: "'DisallowedObject' import from 'foo' is restricted.", - messageId: 'importName', - severity: 1, - nodeType: 'Identifier', - line: 3, - column: 0, - endLine: 3, - endColumn: 16, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-setter-return` - -Pass: 161 / 164 (98.2%) -Fail: 3 / 164 (1.8%) -Skip: 0 / 164 (0.0%) - -#### no-setter-return > valid - -```js -Reflect.defineProperty(foo, 'bar', { set(val) { if (val) { return 1; } } }) -``` - -```json -{ - "languageOptions": { - "globals": { - "Reflect": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-setter-return', - message: 'Setter cannot return a value.', - messageId: 'returnsValue', - severity: 1, - nodeType: 'ReturnStatement', - line: 1, - column: 59, - endLine: 1, - endColumn: 68, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-setter-return > valid - -```js -/* globals Object:off */ Object.defineProperty(foo, 'bar', { set(val) { return 1; } }) -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-setter-return', - message: 'Setter cannot return a value.', - messageId: 'returnsValue', - severity: 1, - nodeType: 'ReturnStatement', - line: 1, - column: 72, - endLine: 1, - endColumn: 81, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-setter-return > valid - -```js -Object.defineProperties(foo, { bar: { set(val) { try { return 1; } catch(e){} } } }) -``` - -```json -{ - "languageOptions": { - "globals": { - "Object": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-setter-return', - message: 'Setter cannot return a value.', - messageId: 'returnsValue', - severity: 1, - nodeType: 'ReturnStatement', - line: 1, - column: 55, - endLine: 1, - endColumn: 64, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-shadow-restricted-names` - -Pass: 43 / 44 (97.7%) -Fail: 1 / 44 (2.3%) -Skip: 0 / 44 (0.0%) - -#### no-shadow-restricted-names > invalid - -```js -var undefined; undefined = 5; -``` - -```json -{ - "errors": [ - { - "messageId": "shadowingRestrictedName", - "data": { - "name": "undefined" - }, - "column": 5 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-shadow` - -Pass: 300 / 308 (97.4%) -Fail: 8 / 308 (2.6%) -Skip: 0 / 308 (0.0%) - -#### no-shadow > invalid - -```js -function foo() { var top = 0; } -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "noShadowGlobal", - "data": { - "name": "top" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js -var top = 0; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "ecmaVersion": 6, - "sourceType": "module", - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "noShadowGlobal", - "data": { - "name": "top" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js -var Object = 0; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - } - }, - "errors": [ - { - "messageId": "noShadowGlobal", - "data": { - "name": "Object" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js -var top = 0; -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "parserOptions": { - "ecmaFeatures": { - "globalReturn": true - } - }, - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - }, - "errors": [ - { - "messageId": "noShadowGlobal", - "data": { - "name": "top" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js - - type Foo = 1; - -``` - -```json -{ - "options": [ - { - "builtinGlobals": true, - "ignoreTypeValueShadow": false - } - ], - "languageOptions": { - "globals": { - "Foo": "writable" - } - }, - "errors": [ - { - "data": { - "name": "Foo" - }, - "messageId": "noShadowGlobal" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js - - type Fn = (Foo: string) => typeof Foo; - -``` - -```json -{ - "options": [ - { - "builtinGlobals": true, - "ignoreFunctionTypeParameterNameValueShadow": false - } - ], - "languageOptions": { - "globals": { - "Foo": "writable" - } - }, - "errors": [ - { - "data": { - "name": "Foo" - }, - "messageId": "noShadowGlobal" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js - - function foo any>(fn: T, args: any[]) {} - -``` - -```json -{ - "options": [ - { - "builtinGlobals": true, - "ignoreTypeValueShadow": false - } - ], - "languageOptions": { - "globals": { - "args": "writable" - } - }, - "errors": [ - { - "data": { - "name": "args", - "shadowedColumn": 5, - "shadowedLine": 2 - }, - "messageId": "noShadowGlobal" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-shadow > invalid - -```js - - declare const has = (environment: 'dev' | 'prod' | 'test') => boolean; - -``` - -```json -{ - "options": [ - { - "builtinGlobals": true - } - ], - "languageOptions": { - "globals": { - "has": false - } - }, - "errors": [ - { - "data": { - "name": "has" - }, - "messageId": "noShadowGlobal" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-undef` - -Pass: 54 / 94 (57.4%) -Fail: 40 / 94 (42.6%) -Skip: 0 / 94 (0.0%) - -#### no-undef > valid - -```js -var a = 1, b = 2; a; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 18, - endLine: 1, - endColumn: 19, - suggestions: null - } -] - -3 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b*/ function f() { b; } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 29, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -function f() { b; } -``` - -```json -{ - "languageOptions": { - "globals": { - "b": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 16, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b a:false*/ a; function f() { b; a; } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 22, - endLine: 1, - endColumn: 23, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 41, - endLine: 1, - endColumn: 42, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 44, - endLine: 1, - endColumn: 45, - suggestions: null - } -] - -3 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var a; a = 1; a++; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 7, - endLine: 1, - endColumn: 8, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 14, - endLine: 1, - endColumn: 15, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var a; function f() { a = 1; } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 22, - endLine: 1, - endColumn: 23, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b:true*/ b++; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 18, - endLine: 1, - endColumn: 19, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -window; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'window' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 6, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -require("a"); -``` - -```json -{ - "languageOptions": { - "sourceType": "commonjs" - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'require' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -Object; isNaN(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'isNaN' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 8, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -toString() -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'toString' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 8, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -hasOwnProperty() -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'hasOwnProperty' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 14, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -function evilEval(stuffToEval) { var ultimateAnswer; ultimateAnswer = 42; eval(stuffToEval); } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'eval' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 74, - endLine: 1, - endColumn: 78, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var b = typeof a -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var toString = 1; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'toString' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var React, App, a=1; React.render(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "jsx": true - } - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 5: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 17, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'React' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 26, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'React' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 9, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'App' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'JSXIdentifier', - line: 1, - column: 35, - endLine: 1, - endColumn: 38, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 45, - endLine: 1, - endColumn: 46, - suggestions: null - } -] - -5 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var console; [1,2,3].forEach(obj => { - console.log(obj); -}); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'console' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 2, - column: 2, - endLine: 2, - endColumn: 9, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var Foo; class Bar extends Foo { constructor() { super(); }} -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'Foo' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 27, - endLine: 1, - endColumn: 30, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var a; [a] = [0]; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 8, - endLine: 1, - endColumn: 9, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var a; ({a} = {}); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 9, - endLine: 1, - endColumn: 10, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var a; ({b: a} = {}); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 12, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var obj; [obj.a, obj.b] = [0, 1]; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'obj' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 10, - endLine: 1, - endColumn: 13, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'obj' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 17, - endLine: 1, - endColumn: 20, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -URLSearchParams; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'URLSearchParams' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 15, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -IntersectionObserver; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'IntersectionObserver' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 20, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -Credential; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'Credential' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 10, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -requestIdleCallback; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'requestIdleCallback' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 19, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -customElements; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'customElements' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 14, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -PromiseRejectionEvent; -``` - -```json -{ - "languageOptions": { - "globals": { - "AbortController": false, - "AbortSignal": false, - "AbsoluteOrientationSensor": false, - "AbstractRange": false, - "Accelerometer": false, - "addEventListener": false, - "ai": false, - "AI": false, - "AICreateMonitor": false, - "AITextSession": false, - "alert": false, - "AnalyserNode": false, - "Animation": false, - "AnimationEffect": false, - "AnimationEvent": false, - "AnimationPlaybackEvent": false, - "AnimationTimeline": false, - "AsyncDisposableStack": false, - "atob": false, - "Attr": false, - "Audio": false, - "AudioBuffer": false, - "AudioBufferSourceNode": false, - "AudioContext": false, - "AudioData": false, - "AudioDecoder": false, - "AudioDestinationNode": false, - "AudioEncoder": false, - "AudioListener": false, - "AudioNode": false, - "AudioParam": false, - "AudioParamMap": false, - "AudioProcessingEvent": false, - "AudioScheduledSourceNode": false, - "AudioSinkInfo": false, - "AudioWorklet": false, - "AudioWorkletGlobalScope": false, - "AudioWorkletNode": false, - "AudioWorkletProcessor": false, - "AuthenticatorAssertionResponse": false, - "AuthenticatorAttestationResponse": false, - "AuthenticatorResponse": false, - "BackgroundFetchManager": false, - "BackgroundFetchRecord": false, - "BackgroundFetchRegistration": false, - "BarcodeDetector": false, - "BarProp": false, - "BaseAudioContext": false, - "BatteryManager": false, - "BeforeUnloadEvent": false, - "BiquadFilterNode": false, - "Blob": false, - "BlobEvent": false, - "Bluetooth": false, - "BluetoothCharacteristicProperties": false, - "BluetoothDevice": false, - "BluetoothRemoteGATTCharacteristic": false, - "BluetoothRemoteGATTDescriptor": false, - "BluetoothRemoteGATTServer": false, - "BluetoothRemoteGATTService": false, - "BluetoothUUID": false, - "blur": false, - "BroadcastChannel": false, - "BrowserCaptureMediaStreamTrack": false, - "btoa": false, - "ByteLengthQueuingStrategy": false, - "Cache": false, - "caches": false, - "CacheStorage": false, - "cancelAnimationFrame": false, - "cancelIdleCallback": false, - "CanvasCaptureMediaStream": false, - "CanvasCaptureMediaStreamTrack": false, - "CanvasGradient": false, - "CanvasPattern": false, - "CanvasRenderingContext2D": false, - "CaptureController": false, - "CaretPosition": false, - "CDATASection": false, - "ChannelMergerNode": false, - "ChannelSplitterNode": false, - "ChapterInformation": false, - "CharacterBoundsUpdateEvent": false, - "CharacterData": false, - "clearInterval": false, - "clearTimeout": false, - "clientInformation": false, - "Clipboard": false, - "ClipboardChangeEvent": false, - "ClipboardEvent": false, - "ClipboardItem": false, - "close": false, - "closed": false, - "CloseEvent": false, - "CloseWatcher": false, - "CommandEvent": false, - "Comment": false, - "CompositionEvent": false, - "CompressionStream": false, - "confirm": false, - "console": false, - "ConstantSourceNode": false, - "ContentVisibilityAutoStateChangeEvent": false, - "ConvolverNode": false, - "CookieChangeEvent": false, - "CookieDeprecationLabel": false, - "cookieStore": false, - "CookieStore": false, - "CookieStoreManager": false, - "CountQueuingStrategy": false, - "createImageBitmap": false, - "CreateMonitor": false, - "Credential": false, - "credentialless": false, - "CredentialsContainer": false, - "CropTarget": false, - "crossOriginIsolated": false, - "crypto": false, - "Crypto": false, - "CryptoKey": false, - "CSPViolationReportBody": false, - "CSS": false, - "CSSAnimation": false, - "CSSConditionRule": false, - "CSSContainerRule": false, - "CSSCounterStyleRule": false, - "CSSFontFaceRule": false, - "CSSFontFeatureValuesRule": false, - "CSSFontPaletteValuesRule": false, - "CSSFunctionDeclarations": false, - "CSSFunctionDescriptors": false, - "CSSFunctionRule": false, - "CSSGroupingRule": false, - "CSSImageValue": false, - "CSSImportRule": false, - "CSSKeyframeRule": false, - "CSSKeyframesRule": false, - "CSSKeywordValue": false, - "CSSLayerBlockRule": false, - "CSSLayerStatementRule": false, - "CSSMarginRule": false, - "CSSMathClamp": false, - "CSSMathInvert": false, - "CSSMathMax": false, - "CSSMathMin": false, - "CSSMathNegate": false, - "CSSMathProduct": false, - "CSSMathSum": false, - "CSSMathValue": false, - "CSSMatrixComponent": false, - "CSSMediaRule": false, - "CSSNamespaceRule": false, - "CSSNestedDeclarations": false, - "CSSNumericArray": false, - "CSSNumericValue": false, - "CSSPageDescriptors": false, - "CSSPageRule": false, - "CSSPerspective": false, - "CSSPositionTryDescriptors": false, - "CSSPositionTryRule": false, - "CSSPositionValue": false, - "CSSPropertyRule": false, - "CSSRotate": false, - "CSSRule": false, - "CSSRuleList": false, - "CSSScale": false, - "CSSScopeRule": false, - "CSSSkew": false, - "CSSSkewX": false, - "CSSSkewY": false, - "CSSStartingStyleRule": false, - "CSSStyleDeclaration": false, - "CSSStyleRule": false, - "CSSStyleSheet": false, - "CSSStyleValue": false, - "CSSSupportsRule": false, - "CSSTransformComponent": false, - "CSSTransformValue": false, - "CSSTransition": false, - "CSSTranslate": false, - "CSSUnitValue": false, - "CSSUnparsedValue": false, - "CSSVariableReferenceValue": false, - "CSSViewTransitionRule": false, - "currentFrame": false, - "currentTime": false, - "CustomElementRegistry": false, - "customElements": false, - "CustomEvent": false, - "CustomStateSet": false, - "DataTransfer": false, - "DataTransferItem": false, - "DataTransferItemList": false, - "DecompressionStream": false, - "DelayNode": false, - "DelegatedInkTrailPresenter": false, - "DeviceMotionEvent": false, - "DeviceMotionEventAcceleration": false, - "DeviceMotionEventRotationRate": false, - "DeviceOrientationEvent": false, - "devicePixelRatio": false, - "DevicePosture": false, - "DigitalCredential": false, - "dispatchEvent": false, - "DisposableStack": false, - "document": false, - "Document": false, - "DocumentFragment": false, - "documentPictureInPicture": false, - "DocumentPictureInPicture": false, - "DocumentPictureInPictureEvent": false, - "DocumentTimeline": false, - "DocumentType": false, - "DOMError": false, - "DOMException": false, - "DOMImplementation": false, - "DOMMatrix": false, - "DOMMatrixReadOnly": false, - "DOMParser": false, - "DOMPoint": false, - "DOMPointReadOnly": false, - "DOMQuad": false, - "DOMRect": false, - "DOMRectList": false, - "DOMRectReadOnly": false, - "DOMStringList": false, - "DOMStringMap": false, - "DOMTokenList": false, - "DragEvent": false, - "DynamicsCompressorNode": false, - "EditContext": false, - "Element": false, - "ElementInternals": false, - "EncodedAudioChunk": false, - "EncodedVideoChunk": false, - "ErrorEvent": false, - "event": false, - "Event": false, - "EventCounts": false, - "EventSource": false, - "EventTarget": false, - "external": false, - "External": false, - "EyeDropper": false, - "FeaturePolicy": false, - "FederatedCredential": false, - "fence": false, - "Fence": false, - "FencedFrameConfig": false, - "fetch": false, - "fetchLater": false, - "FetchLaterResult": false, - "File": false, - "FileList": false, - "FileReader": false, - "FileSystem": false, - "FileSystemDirectoryEntry": false, - "FileSystemDirectoryHandle": false, - "FileSystemDirectoryReader": false, - "FileSystemEntry": false, - "FileSystemFileEntry": false, - "FileSystemFileHandle": false, - "FileSystemHandle": false, - "FileSystemObserver": false, - "FileSystemWritableFileStream": false, - "find": false, - "focus": false, - "FocusEvent": false, - "FontData": false, - "FontFace": false, - "FontFaceSet": false, - "FontFaceSetLoadEvent": false, - "FormData": false, - "FormDataEvent": false, - "FragmentDirective": false, - "frameElement": false, - "frames": false, - "GainNode": false, - "Gamepad": false, - "GamepadAxisMoveEvent": false, - "GamepadButton": false, - "GamepadButtonEvent": false, - "GamepadEvent": false, - "GamepadHapticActuator": false, - "GamepadPose": false, - "Geolocation": false, - "GeolocationCoordinates": false, - "GeolocationPosition": false, - "GeolocationPositionError": false, - "getComputedStyle": false, - "getScreenDetails": false, - "getSelection": false, - "GPU": false, - "GPUAdapter": false, - "GPUAdapterInfo": false, - "GPUBindGroup": false, - "GPUBindGroupLayout": false, - "GPUBuffer": false, - "GPUBufferUsage": false, - "GPUCanvasContext": false, - "GPUColorWrite": false, - "GPUCommandBuffer": false, - "GPUCommandEncoder": false, - "GPUCompilationInfo": false, - "GPUCompilationMessage": false, - "GPUComputePassEncoder": false, - "GPUComputePipeline": false, - "GPUDevice": false, - "GPUDeviceLostInfo": false, - "GPUError": false, - "GPUExternalTexture": false, - "GPUInternalError": false, - "GPUMapMode": false, - "GPUOutOfMemoryError": false, - "GPUPipelineError": false, - "GPUPipelineLayout": false, - "GPUQuerySet": false, - "GPUQueue": false, - "GPURenderBundle": false, - "GPURenderBundleEncoder": false, - "GPURenderPassEncoder": false, - "GPURenderPipeline": false, - "GPUSampler": false, - "GPUShaderModule": false, - "GPUShaderStage": false, - "GPUSupportedFeatures": false, - "GPUSupportedLimits": false, - "GPUTexture": false, - "GPUTextureUsage": false, - "GPUTextureView": false, - "GPUUncapturedErrorEvent": false, - "GPUValidationError": false, - "GravitySensor": false, - "Gyroscope": false, - "HashChangeEvent": false, - "Headers": false, - "HID": false, - "HIDConnectionEvent": false, - "HIDDevice": false, - "HIDInputReportEvent": false, - "Highlight": false, - "HighlightRegistry": false, - "history": false, - "History": false, - "HTMLAllCollection": false, - "HTMLAnchorElement": false, - "HTMLAreaElement": false, - "HTMLAudioElement": false, - "HTMLBaseElement": false, - "HTMLBodyElement": false, - "HTMLBRElement": false, - "HTMLButtonElement": false, - "HTMLCanvasElement": false, - "HTMLCollection": false, - "HTMLDataElement": false, - "HTMLDataListElement": false, - "HTMLDetailsElement": false, - "HTMLDialogElement": false, - "HTMLDirectoryElement": false, - "HTMLDivElement": false, - "HTMLDListElement": false, - "HTMLDocument": false, - "HTMLElement": false, - "HTMLEmbedElement": false, - "HTMLFencedFrameElement": false, - "HTMLFieldSetElement": false, - "HTMLFontElement": false, - "HTMLFormControlsCollection": false, - "HTMLFormElement": false, - "HTMLFrameElement": false, - "HTMLFrameSetElement": false, - "HTMLHeadElement": false, - "HTMLHeadingElement": false, - "HTMLHRElement": false, - "HTMLHtmlElement": false, - "HTMLIFrameElement": false, - "HTMLImageElement": false, - "HTMLInputElement": false, - "HTMLLabelElement": false, - "HTMLLegendElement": false, - "HTMLLIElement": false, - "HTMLLinkElement": false, - "HTMLMapElement": false, - "HTMLMarqueeElement": false, - "HTMLMediaElement": false, - "HTMLMenuElement": false, - "HTMLMetaElement": false, - "HTMLMeterElement": false, - "HTMLModElement": false, - "HTMLObjectElement": false, - "HTMLOListElement": false, - "HTMLOptGroupElement": false, - "HTMLOptionElement": false, - "HTMLOptionsCollection": false, - "HTMLOutputElement": false, - "HTMLParagraphElement": false, - "HTMLParamElement": false, - "HTMLPictureElement": false, - "HTMLPreElement": false, - "HTMLProgressElement": false, - "HTMLQuoteElement": false, - "HTMLScriptElement": false, - "HTMLSelectedContentElement": false, - "HTMLSelectElement": false, - "HTMLSlotElement": false, - "HTMLSourceElement": false, - "HTMLSpanElement": false, - "HTMLStyleElement": false, - "HTMLTableCaptionElement": false, - "HTMLTableCellElement": false, - "HTMLTableColElement": false, - "HTMLTableElement": false, - "HTMLTableRowElement": false, - "HTMLTableSectionElement": false, - "HTMLTemplateElement": false, - "HTMLTextAreaElement": false, - "HTMLTimeElement": false, - "HTMLTitleElement": false, - "HTMLTrackElement": false, - "HTMLUListElement": false, - "HTMLUnknownElement": false, - "HTMLVideoElement": false, - "IDBCursor": false, - "IDBCursorWithValue": false, - "IDBDatabase": false, - "IDBFactory": false, - "IDBIndex": false, - "IDBKeyRange": false, - "IDBObjectStore": false, - "IDBOpenDBRequest": false, - "IDBRecord": false, - "IDBRequest": false, - "IDBTransaction": false, - "IDBVersionChangeEvent": false, - "IdentityCredential": false, - "IdentityCredentialError": false, - "IdentityProvider": false, - "IdleDeadline": false, - "IdleDetector": false, - "IIRFilterNode": false, - "Image": false, - "ImageBitmap": false, - "ImageBitmapRenderingContext": false, - "ImageCapture": false, - "ImageData": false, - "ImageDecoder": false, - "ImageTrack": false, - "ImageTrackList": false, - "indexedDB": false, - "Ink": false, - "innerHeight": false, - "innerWidth": false, - "InputDeviceCapabilities": false, - "InputDeviceInfo": false, - "InputEvent": false, - "IntegrityViolationReportBody": false, - "InterestEvent": false, - "IntersectionObserver": false, - "IntersectionObserverEntry": false, - "isSecureContext": false, - "Keyboard": false, - "KeyboardEvent": false, - "KeyboardLayoutMap": false, - "KeyframeEffect": false, - "LanguageDetector": false, - "LargestContentfulPaint": false, - "LaunchParams": false, - "launchQueue": false, - "LaunchQueue": false, - "LayoutShift": false, - "LayoutShiftAttribution": false, - "length": false, - "LinearAccelerationSensor": false, - "localStorage": false, - "location": true, - "Location": false, - "locationbar": false, - "Lock": false, - "LockManager": false, - "matchMedia": false, - "MathMLElement": false, - "MediaCapabilities": false, - "MediaCapabilitiesInfo": false, - "MediaDeviceInfo": false, - "MediaDevices": false, - "MediaElementAudioSourceNode": false, - "MediaEncryptedEvent": false, - "MediaError": false, - "MediaKeyError": false, - "MediaKeyMessageEvent": false, - "MediaKeys": false, - "MediaKeySession": false, - "MediaKeyStatusMap": false, - "MediaKeySystemAccess": false, - "MediaList": false, - "MediaMetadata": false, - "MediaQueryList": false, - "MediaQueryListEvent": false, - "MediaRecorder": false, - "MediaRecorderErrorEvent": false, - "MediaSession": false, - "MediaSource": false, - "MediaSourceHandle": false, - "MediaStream": false, - "MediaStreamAudioDestinationNode": false, - "MediaStreamAudioSourceNode": false, - "MediaStreamEvent": false, - "MediaStreamTrack": false, - "MediaStreamTrackAudioSourceNode": false, - "MediaStreamTrackAudioStats": false, - "MediaStreamTrackEvent": false, - "MediaStreamTrackGenerator": false, - "MediaStreamTrackProcessor": false, - "MediaStreamTrackVideoStats": false, - "menubar": false, - "MessageChannel": false, - "MessageEvent": false, - "MessagePort": false, - "MIDIAccess": false, - "MIDIConnectionEvent": false, - "MIDIInput": false, - "MIDIInputMap": false, - "MIDIMessageEvent": false, - "MIDIOutput": false, - "MIDIOutputMap": false, - "MIDIPort": false, - "MimeType": false, - "MimeTypeArray": false, - "model": false, - "ModelGenericSession": false, - "ModelManager": false, - "MouseEvent": false, - "moveBy": false, - "moveTo": false, - "MutationEvent": false, - "MutationObserver": false, - "MutationRecord": false, - "name": false, - "NamedNodeMap": false, - "NavigateEvent": false, - "navigation": false, - "Navigation": false, - "NavigationActivation": false, - "NavigationCurrentEntryChangeEvent": false, - "NavigationDestination": false, - "NavigationHistoryEntry": false, - "NavigationPrecommitController": false, - "NavigationPreloadManager": false, - "NavigationTransition": false, - "navigator": false, - "Navigator": false, - "NavigatorLogin": false, - "NavigatorManagedData": false, - "NavigatorUAData": false, - "NetworkInformation": false, - "Node": false, - "NodeFilter": false, - "NodeIterator": false, - "NodeList": false, - "Notification": false, - "NotifyPaintEvent": false, - "NotRestoredReasonDetails": false, - "NotRestoredReasons": false, - "Observable": false, - "OfflineAudioCompletionEvent": false, - "OfflineAudioContext": false, - "offscreenBuffering": false, - "OffscreenCanvas": false, - "OffscreenCanvasRenderingContext2D": false, - "onabort": true, - "onafterprint": true, - "onanimationcancel": true, - "onanimationend": true, - "onanimationiteration": true, - "onanimationstart": true, - "onappinstalled": true, - "onauxclick": true, - "onbeforeinput": true, - "onbeforeinstallprompt": true, - "onbeforematch": true, - "onbeforeprint": true, - "onbeforetoggle": true, - "onbeforeunload": true, - "onbeforexrselect": true, - "onblur": true, - "oncancel": true, - "oncanplay": true, - "oncanplaythrough": true, - "onchange": true, - "onclick": true, - "onclose": true, - "oncommand": true, - "oncontentvisibilityautostatechange": true, - "oncontextlost": true, - "oncontextmenu": true, - "oncontextrestored": true, - "oncopy": true, - "oncuechange": true, - "oncut": true, - "ondblclick": true, - "ondevicemotion": true, - "ondeviceorientation": true, - "ondeviceorientationabsolute": true, - "ondrag": true, - "ondragend": true, - "ondragenter": true, - "ondragleave": true, - "ondragover": true, - "ondragstart": true, - "ondrop": true, - "ondurationchange": true, - "onemptied": true, - "onended": true, - "onerror": true, - "onfocus": true, - "onformdata": true, - "ongamepadconnected": true, - "ongamepaddisconnected": true, - "ongotpointercapture": true, - "onhashchange": true, - "oninput": true, - "oninvalid": true, - "onkeydown": true, - "onkeypress": true, - "onkeyup": true, - "onlanguagechange": true, - "onload": true, - "onloadeddata": true, - "onloadedmetadata": true, - "onloadstart": true, - "onlostpointercapture": true, - "onmessage": true, - "onmessageerror": true, - "onmousedown": true, - "onmouseenter": true, - "onmouseleave": true, - "onmousemove": true, - "onmouseout": true, - "onmouseover": true, - "onmouseup": true, - "onmousewheel": true, - "onoffline": true, - "ononline": true, - "onpagehide": true, - "onpagereveal": true, - "onpageshow": true, - "onpageswap": true, - "onpaste": true, - "onpause": true, - "onplay": true, - "onplaying": true, - "onpointercancel": true, - "onpointerdown": true, - "onpointerenter": true, - "onpointerleave": true, - "onpointermove": true, - "onpointerout": true, - "onpointerover": true, - "onpointerrawupdate": true, - "onpointerup": true, - "onpopstate": true, - "onprogress": true, - "onratechange": true, - "onrejectionhandled": true, - "onreset": true, - "onresize": true, - "onscroll": true, - "onscrollend": true, - "onscrollsnapchange": true, - "onscrollsnapchanging": true, - "onsearch": true, - "onsecuritypolicyviolation": true, - "onseeked": true, - "onseeking": true, - "onselect": true, - "onselectionchange": true, - "onselectstart": true, - "onslotchange": true, - "onstalled": true, - "onstorage": true, - "onsubmit": true, - "onsuspend": true, - "ontimeupdate": true, - "ontoggle": true, - "ontransitioncancel": true, - "ontransitionend": true, - "ontransitionrun": true, - "ontransitionstart": true, - "onunhandledrejection": true, - "onunload": true, - "onvolumechange": true, - "onwaiting": true, - "onwheel": true, - "open": false, - "opener": false, - "Option": false, - "OrientationSensor": false, - "origin": false, - "originAgentCluster": false, - "OscillatorNode": false, - "OTPCredential": false, - "outerHeight": false, - "outerWidth": false, - "OverconstrainedError": false, - "PageRevealEvent": false, - "PageSwapEvent": false, - "PageTransitionEvent": false, - "pageXOffset": false, - "pageYOffset": false, - "PannerNode": false, - "parent": false, - "PasswordCredential": false, - "Path2D": false, - "PaymentAddress": false, - "PaymentManager": false, - "PaymentMethodChangeEvent": false, - "PaymentRequest": false, - "PaymentRequestUpdateEvent": false, - "PaymentResponse": false, - "performance": false, - "Performance": false, - "PerformanceElementTiming": false, - "PerformanceEntry": false, - "PerformanceEventTiming": false, - "PerformanceLongAnimationFrameTiming": false, - "PerformanceLongTaskTiming": false, - "PerformanceMark": false, - "PerformanceMeasure": false, - "PerformanceNavigation": false, - "PerformanceNavigationTiming": false, - "PerformanceObserver": false, - "PerformanceObserverEntryList": false, - "PerformancePaintTiming": false, - "PerformanceResourceTiming": false, - "PerformanceScriptTiming": false, - "PerformanceServerTiming": false, - "PerformanceTiming": false, - "PeriodicSyncManager": false, - "PeriodicWave": false, - "Permissions": false, - "PermissionStatus": false, - "PERSISTENT": false, - "personalbar": false, - "PictureInPictureEvent": false, - "PictureInPictureWindow": false, - "Plugin": false, - "PluginArray": false, - "PointerEvent": false, - "PopStateEvent": false, - "postMessage": false, - "Presentation": false, - "PresentationAvailability": false, - "PresentationConnection": false, - "PresentationConnectionAvailableEvent": false, - "PresentationConnectionCloseEvent": false, - "PresentationConnectionList": false, - "PresentationReceiver": false, - "PresentationRequest": false, - "PressureObserver": false, - "PressureRecord": false, - "print": false, - "ProcessingInstruction": false, - "Profiler": false, - "ProgressEvent": false, - "PromiseRejectionEvent": false, - "prompt": false, - "ProtectedAudience": false, - "PublicKeyCredential": false, - "PushManager": false, - "PushSubscription": false, - "PushSubscriptionOptions": false, - "queryLocalFonts": false, - "queueMicrotask": false, - "QuotaExceededError": false, - "RadioNodeList": false, - "Range": false, - "ReadableByteStreamController": false, - "ReadableStream": false, - "ReadableStreamBYOBReader": false, - "ReadableStreamBYOBRequest": false, - "ReadableStreamDefaultController": false, - "ReadableStreamDefaultReader": false, - "registerProcessor": false, - "RelativeOrientationSensor": false, - "RemotePlayback": false, - "removeEventListener": false, - "ReportBody": false, - "reportError": false, - "ReportingObserver": false, - "Request": false, - "requestAnimationFrame": false, - "requestIdleCallback": false, - "resizeBy": false, - "ResizeObserver": false, - "ResizeObserverEntry": false, - "ResizeObserverSize": false, - "resizeTo": false, - "Response": false, - "RestrictionTarget": false, - "RTCCertificate": false, - "RTCDataChannel": false, - "RTCDataChannelEvent": false, - "RTCDtlsTransport": false, - "RTCDTMFSender": false, - "RTCDTMFToneChangeEvent": false, - "RTCEncodedAudioFrame": false, - "RTCEncodedVideoFrame": false, - "RTCError": false, - "RTCErrorEvent": false, - "RTCIceCandidate": false, - "RTCIceTransport": false, - "RTCPeerConnection": false, - "RTCPeerConnectionIceErrorEvent": false, - "RTCPeerConnectionIceEvent": false, - "RTCRtpReceiver": false, - "RTCRtpScriptTransform": false, - "RTCRtpSender": false, - "RTCRtpTransceiver": false, - "RTCSctpTransport": false, - "RTCSessionDescription": false, - "RTCStatsReport": false, - "RTCTrackEvent": false, - "sampleRate": false, - "scheduler": false, - "Scheduler": false, - "Scheduling": false, - "screen": false, - "Screen": false, - "ScreenDetailed": false, - "ScreenDetails": false, - "screenLeft": false, - "ScreenOrientation": false, - "screenTop": false, - "screenX": false, - "screenY": false, - "ScriptProcessorNode": false, - "scroll": false, - "scrollbars": false, - "scrollBy": false, - "ScrollTimeline": false, - "scrollTo": false, - "scrollX": false, - "scrollY": false, - "SecurityPolicyViolationEvent": false, - "Selection": false, - "self": false, - "Sensor": false, - "SensorErrorEvent": false, - "Serial": false, - "SerialPort": false, - "ServiceWorker": false, - "ServiceWorkerContainer": false, - "ServiceWorkerRegistration": false, - "sessionStorage": false, - "setInterval": false, - "setTimeout": false, - "ShadowRoot": false, - "sharedStorage": false, - "SharedStorage": false, - "SharedStorageAppendMethod": false, - "SharedStorageClearMethod": false, - "SharedStorageDeleteMethod": false, - "SharedStorageModifierMethod": false, - "SharedStorageSetMethod": false, - "SharedStorageWorklet": false, - "SharedWorker": false, - "showDirectoryPicker": false, - "showOpenFilePicker": false, - "showSaveFilePicker": false, - "SnapEvent": false, - "SourceBuffer": false, - "SourceBufferList": false, - "SpeechGrammar": false, - "SpeechGrammarList": false, - "SpeechRecognition": false, - "SpeechRecognitionErrorEvent": false, - "SpeechRecognitionEvent": false, - "SpeechRecognitionPhrase": false, - "speechSynthesis": false, - "SpeechSynthesis": false, - "SpeechSynthesisErrorEvent": false, - "SpeechSynthesisEvent": false, - "SpeechSynthesisUtterance": false, - "SpeechSynthesisVoice": false, - "StaticRange": false, - "status": false, - "statusbar": false, - "StereoPannerNode": false, - "stop": false, - "Storage": false, - "StorageBucket": false, - "StorageBucketManager": false, - "StorageEvent": false, - "StorageManager": false, - "structuredClone": false, - "styleMedia": false, - "StylePropertyMap": false, - "StylePropertyMapReadOnly": false, - "StyleSheet": false, - "StyleSheetList": false, - "SubmitEvent": false, - "Subscriber": false, - "SubtleCrypto": false, - "Summarizer": false, - "SuppressedError": false, - "SVGAElement": false, - "SVGAngle": false, - "SVGAnimatedAngle": false, - "SVGAnimatedBoolean": false, - "SVGAnimatedEnumeration": false, - "SVGAnimatedInteger": false, - "SVGAnimatedLength": false, - "SVGAnimatedLengthList": false, - "SVGAnimatedNumber": false, - "SVGAnimatedNumberList": false, - "SVGAnimatedPreserveAspectRatio": false, - "SVGAnimatedRect": false, - "SVGAnimatedString": false, - "SVGAnimatedTransformList": false, - "SVGAnimateElement": false, - "SVGAnimateMotionElement": false, - "SVGAnimateTransformElement": false, - "SVGAnimationElement": false, - "SVGCircleElement": false, - "SVGClipPathElement": false, - "SVGComponentTransferFunctionElement": false, - "SVGDefsElement": false, - "SVGDescElement": false, - "SVGElement": false, - "SVGEllipseElement": false, - "SVGFEBlendElement": false, - "SVGFEColorMatrixElement": false, - "SVGFEComponentTransferElement": false, - "SVGFECompositeElement": false, - "SVGFEConvolveMatrixElement": false, - "SVGFEDiffuseLightingElement": false, - "SVGFEDisplacementMapElement": false, - "SVGFEDistantLightElement": false, - "SVGFEDropShadowElement": false, - "SVGFEFloodElement": false, - "SVGFEFuncAElement": false, - "SVGFEFuncBElement": false, - "SVGFEFuncGElement": false, - "SVGFEFuncRElement": false, - "SVGFEGaussianBlurElement": false, - "SVGFEImageElement": false, - "SVGFEMergeElement": false, - "SVGFEMergeNodeElement": false, - "SVGFEMorphologyElement": false, - "SVGFEOffsetElement": false, - "SVGFEPointLightElement": false, - "SVGFESpecularLightingElement": false, - "SVGFESpotLightElement": false, - "SVGFETileElement": false, - "SVGFETurbulenceElement": false, - "SVGFilterElement": false, - "SVGForeignObjectElement": false, - "SVGGElement": false, - "SVGGeometryElement": false, - "SVGGradientElement": false, - "SVGGraphicsElement": false, - "SVGImageElement": false, - "SVGLength": false, - "SVGLengthList": false, - "SVGLinearGradientElement": false, - "SVGLineElement": false, - "SVGMarkerElement": false, - "SVGMaskElement": false, - "SVGMatrix": false, - "SVGMetadataElement": false, - "SVGMPathElement": false, - "SVGNumber": false, - "SVGNumberList": false, - "SVGPathElement": false, - "SVGPatternElement": false, - "SVGPoint": false, - "SVGPointList": false, - "SVGPolygonElement": false, - "SVGPolylineElement": false, - "SVGPreserveAspectRatio": false, - "SVGRadialGradientElement": false, - "SVGRect": false, - "SVGRectElement": false, - "SVGScriptElement": false, - "SVGSetElement": false, - "SVGStopElement": false, - "SVGStringList": false, - "SVGStyleElement": false, - "SVGSVGElement": false, - "SVGSwitchElement": false, - "SVGSymbolElement": false, - "SVGTextContentElement": false, - "SVGTextElement": false, - "SVGTextPathElement": false, - "SVGTextPositioningElement": false, - "SVGTitleElement": false, - "SVGTransform": false, - "SVGTransformList": false, - "SVGTSpanElement": false, - "SVGUnitTypes": false, - "SVGUseElement": false, - "SVGViewElement": false, - "SyncManager": false, - "TaskAttributionTiming": false, - "TaskController": false, - "TaskPriorityChangeEvent": false, - "TaskSignal": false, - "TEMPORARY": false, - "Text": false, - "TextDecoder": false, - "TextDecoderStream": false, - "TextEncoder": false, - "TextEncoderStream": false, - "TextEvent": false, - "TextFormat": false, - "TextFormatUpdateEvent": false, - "TextMetrics": false, - "TextTrack": false, - "TextTrackCue": false, - "TextTrackCueList": false, - "TextTrackList": false, - "TextUpdateEvent": false, - "TimeEvent": false, - "TimeRanges": false, - "ToggleEvent": false, - "toolbar": false, - "top": false, - "Touch": false, - "TouchEvent": false, - "TouchList": false, - "TrackEvent": false, - "TransformStream": false, - "TransformStreamDefaultController": false, - "TransitionEvent": false, - "Translator": false, - "TreeWalker": false, - "TrustedHTML": false, - "TrustedScript": false, - "TrustedScriptURL": false, - "TrustedTypePolicy": false, - "TrustedTypePolicyFactory": false, - "trustedTypes": false, - "UIEvent": false, - "URL": false, - "URLPattern": false, - "URLSearchParams": false, - "USB": false, - "USBAlternateInterface": false, - "USBConfiguration": false, - "USBConnectionEvent": false, - "USBDevice": false, - "USBEndpoint": false, - "USBInterface": false, - "USBInTransferResult": false, - "USBIsochronousInTransferPacket": false, - "USBIsochronousInTransferResult": false, - "USBIsochronousOutTransferPacket": false, - "USBIsochronousOutTransferResult": false, - "USBOutTransferResult": false, - "UserActivation": false, - "ValidityState": false, - "VideoColorSpace": false, - "VideoDecoder": false, - "VideoEncoder": false, - "VideoFrame": false, - "VideoPlaybackQuality": false, - "viewport": false, - "Viewport": false, - "ViewTimeline": false, - "ViewTransition": false, - "ViewTransitionTypeSet": false, - "VirtualKeyboard": false, - "VirtualKeyboardGeometryChangeEvent": false, - "VisibilityStateEntry": false, - "visualViewport": false, - "VisualViewport": false, - "VTTCue": false, - "VTTRegion": false, - "WakeLock": false, - "WakeLockSentinel": false, - "WaveShaperNode": false, - "WebAssembly": false, - "WebGL2RenderingContext": false, - "WebGLActiveInfo": false, - "WebGLBuffer": false, - "WebGLContextEvent": false, - "WebGLFramebuffer": false, - "WebGLObject": false, - "WebGLProgram": false, - "WebGLQuery": false, - "WebGLRenderbuffer": false, - "WebGLRenderingContext": false, - "WebGLSampler": false, - "WebGLShader": false, - "WebGLShaderPrecisionFormat": false, - "WebGLSync": false, - "WebGLTexture": false, - "WebGLTransformFeedback": false, - "WebGLUniformLocation": false, - "WebGLVertexArrayObject": false, - "WebSocket": false, - "WebSocketError": false, - "WebSocketStream": false, - "WebTransport": false, - "WebTransportBidirectionalStream": false, - "WebTransportDatagramDuplexStream": false, - "WebTransportError": false, - "WebTransportReceiveStream": false, - "WebTransportSendStream": false, - "WGSLLanguageFeatures": false, - "WheelEvent": false, - "when": false, - "window": false, - "Window": false, - "WindowControlsOverlay": false, - "WindowControlsOverlayGeometryChangeEvent": false, - "Worker": false, - "Worklet": false, - "WorkletGlobalScope": false, - "WritableStream": false, - "WritableStreamDefaultController": false, - "WritableStreamDefaultWriter": false, - "XMLDocument": false, - "XMLHttpRequest": false, - "XMLHttpRequestEventTarget": false, - "XMLHttpRequestUpload": false, - "XMLSerializer": false, - "XPathEvaluator": false, - "XPathExpression": false, - "XPathResult": false, - "XRAnchor": false, - "XRAnchorSet": false, - "XRBoundedReferenceSpace": false, - "XRCamera": false, - "XRCPUDepthInformation": false, - "XRDepthInformation": false, - "XRDOMOverlayState": false, - "XRFrame": false, - "XRHand": false, - "XRHitTestResult": false, - "XRHitTestSource": false, - "XRInputSource": false, - "XRInputSourceArray": false, - "XRInputSourceEvent": false, - "XRInputSourcesChangeEvent": false, - "XRJointPose": false, - "XRJointSpace": false, - "XRLayer": false, - "XRLightEstimate": false, - "XRLightProbe": false, - "XRPose": false, - "XRRay": false, - "XRReferenceSpace": false, - "XRReferenceSpaceEvent": false, - "XRRenderState": false, - "XRRigidTransform": false, - "XRSession": false, - "XRSessionEvent": false, - "XRSpace": false, - "XRSystem": false, - "XRTransientInputHitTestResult": false, - "XRTransientInputHitTestSource": false, - "XRView": false, - "XRViewerPose": false, - "XRViewport": false, - "XRWebGLBinding": false, - "XRWebGLDepthInformation": false, - "XRWebGLLayer": false, - "XSLTProcessor": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'PromiseRejectionEvent' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 21, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b:false*/ function f() { b = 1; } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 34, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -function f() { b = 1; } -``` - -```json -{ - "languageOptions": { - "globals": { - "b": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 16, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b:false*/ function f() { b++; } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 34, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b*/ b = 1; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 13, - endLine: 1, - endColumn: 14, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -/*global b:false*/ var b = 1; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 24, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var {bacon, ...others} = stuff; foo(others) -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2018, - "globals": { - "stuff": false, - "foo": false - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 5: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'bacon' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 5, - endLine: 1, - endColumn: 10, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'others' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 21, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'stuff' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 25, - endLine: 1, - endColumn: 30, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'foo' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 32, - endLine: 1, - endColumn: 35, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'others' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 36, - endLine: 1, - endColumn: 42, - suggestions: null - } -] - -5 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -var a; class C { static {} } a; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2022 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 29, - endLine: 1, - endColumn: 30, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > valid - -```js -a; class C { static {} } var a; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2022 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 1, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > invalid - -```js -var a = b; -``` - -```json -{ - "errors": [ - { - "messageId": "undef", - "data": { - "name": "b" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'b' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 8, - endLine: 1, - endColumn: 9, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > invalid - -```js -Intl; -``` - -```json -{ - "errors": [ - { - "messageId": "undef", - "data": { - "name": "Intl" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > invalid - -```js -var React; React.render(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "jsx": true - } - } - }, - "errors": [ - { - "messageId": "undef", - "data": { - "name": "a" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 3: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'React' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 16, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'React' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 9, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 35, - endLine: 1, - endColumn: 36, - suggestions: null - } -] - -3 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undef > invalid - -```js -var React, App; React.render(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6, - "parserOptions": { - "ecmaFeatures": { - "jsx": true - } - } - }, - "errors": [ - { - "messageId": "undef", - "data": { - "name": "a" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 4: [ - { - ruleId: 'rule-to-test/no-undef', - message: "'React' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 21, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'React' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 9, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'App' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'JSXIdentifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 33, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-undef', - message: "'a' is not defined.", - messageId: 'undef', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 40, - endLine: 1, - endColumn: 41, - suggestions: null - } -] - -4 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-undefined` - -Pass: 37 / 53 (69.8%) -Fail: 16 / 53 (30.2%) -Skip: 0 / 53 (0.0%) - -#### no-undefined > invalid - -```js -undefined -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -undefined.a -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -a[undefined] -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -undefined[0] -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -f(undefined) -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -function f() { undefined = true; } -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -undefined = true -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -({ undefined }) -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -({ [undefined]: foo }) -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -({ bar: undefined }) -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -({ bar: undefined } = foo) -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -class Foo { [undefined]() {} } -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -(class { [undefined]() {} }) -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -let a = [b, ...undefined] -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -[a, ...undefined] = b -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-undefined > invalid - -```js -[a = undefined] = b -``` - -```json -{ - "errors": [ - { - "messageId": "unexpectedUndefined" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-unused-expressions` - -Pass: 120 / 124 (96.8%) -Fail: 4 / 124 (3.2%) -Skip: 0 / 124 (0.0%) - -#### no-unused-expressions > invalid - -```js -"use strict"; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3, - "sourceType": "script" - }, - "errors": [ - { - "messageId": "unusedExpression" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-expressions > invalid - -```js -"directive one"; "directive two"; f(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3, - "sourceType": "script" - }, - "errors": [ - { - "messageId": "unusedExpression" - }, - { - "messageId": "unusedExpression" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-expressions > invalid - -```js -function foo() {"use strict"; return true; } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3, - "sourceType": "script" - }, - "errors": [ - { - "messageId": "unusedExpression" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-expressions > invalid - -```js -function foo() {"directive one"; "directive two"; f(); } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 3, - "sourceType": "script" - }, - "errors": [ - { - "messageId": "unusedExpression" - }, - { - "messageId": "unusedExpression" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-unused-vars` - -Pass: 340 / 436 (78.0%) -Fail: 96 / 436 (22.0%) -Skip: 0 / 436 (0.0%) - -#### no-unused-vars > valid - -```js -var foo = 5; - -label: while (true) { - console.log(foo); - break label; -} -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'foo' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var foo = 5; - -while (true) { - console.log(foo); - break; -} -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'foo' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var box = {a: 2}; - for (var prop in box) { - box[prop] = parseInt(box[prop]); -} -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'box' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 7, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'prop' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 2, - column: 13, - endLine: 2, - endColumn: 17, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -a; var a; -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 7, - endLine: 1, - endColumn: 8, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a=10; alert(a); -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a=10; (function() { alert(a); })(); -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a=10; (function() { setTimeout(function() { alert(a); }, 0); })(); -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a=10; d[a] = 0; -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var c = 0; function f(a){ var b = a; return b; }; f(c); -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'c' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var arr1 = [1, 2]; var arr2 = [3, 4]; for (var i in arr1) { arr1[i] = 5; } for (var i in arr2) { arr2[i] = 10; } -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'arr1' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 8, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'arr2' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 23, - endLine: 1, - endColumn: 27, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'i' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 47, - endLine: 1, - endColumn: 48, - suggestions: null - } -] - -3 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var min = "min"; Math[min]; -``` - -```json -{ - "options": [ - "all" - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'min' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a=10; (function() { alert(a); })(); -``` - -```json -{ - "options": [ - { - "vars": "all" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var g = function(bar, baz) { return 2; }; g(); -``` - -```json -{ - "options": [ - { - "vars": "all", - "args": "none" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'g' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var who = "Paul"; -module.exports = `Hello ${who}!`; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'who' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -class Foo{}; var x = new Foo(); x.foo() -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 17, - endLine: 1, - endColumn: 18, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -function Foo(){}; var x = new Foo(); x.foo() -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 22, - endLine: 1, - endColumn: 23, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; var [y = x] = []; foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; var {y = x} = {}; foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 17, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; var {z: [y = x]} = {}; foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 20, - endLine: 1, - endColumn: 21, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = []; var {z: [y] = x} = {}; foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 22, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1, y; [y = x] = []; foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1, y; ({z: [y = x]} = {}); foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = [], y; ({z: [y] = x} = {}); foo(y); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 12, - endLine: 1, - endColumn: 13, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; function foo(y = x) { bar(y); } foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; function foo({y = x} = {}) { bar(y); } foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; function foo(y = function(z = x) { bar(z); }) { y(); } foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var x = 1; function foo(y = function() { bar(x); }) { y(); } foo(); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*exported toaster*/ var toaster = 'great' -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'toaster' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 25, - endLine: 1, - endColumn: 32, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*exported toaster, poster*/ var toaster = 1; poster = 0; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'toaster' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 33, - endLine: 1, - endColumn: 40, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*exported x*/ var { x } = y -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 22, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*exported x, y*/ var { x, y } = z -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 25, - endLine: 1, - endColumn: 26, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 28, - endLine: 1, - endColumn: 29, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*eslint custom/use-every-a:1*/ var a; -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 36, - endLine: 1, - endColumn: 37, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*eslint custom/use-every-a:1*/ !function(a) { return 1; } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 42, - endLine: 1, - endColumn: 43, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*eslint custom/use-every-a:1*/ !function() { var a; return 1 } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 50, - endLine: 1, - endColumn: 51, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var [ firstItemIgnored, secondItem ] = items; -console.log(secondItem); -``` - -```json -{ - "options": [ - { - "vars": "all", - "varsIgnorePattern": "[iI]gnored" - } - ], - "languageOptions": { - "ecmaVersion": 6 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'secondItem' is defined but never used. Allowed unused vars must match /[iI]gnored/u.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 34, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -try {} catch ([firstError]) {} -``` - -```json -{ - "options": [ - { - "destructuredArrayIgnorePattern": "Error$" - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'firstError' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 25, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -try {} catch ({ message, stack }) {} -``` - -```json -{ - "options": [ - { - "caughtErrorsIgnorePattern": "message|stack" - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'message' is defined but never used. Allowed unused caught errors must match /message|stack/u.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 23, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'stack' is defined but never used. Allowed unused caught errors must match /message|stack/u.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 25, - endLine: 1, - endColumn: 30, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -try {} catch ({ errors: [firstError] }) {} -``` - -```json -{ - "options": [ - { - "caughtErrorsIgnorePattern": "Error$" - } - ], - "languageOptions": { - "ecmaVersion": 2015 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'firstError' is defined but never used. Allowed unused caught errors must match /Error$/u.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 25, - endLine: 1, - endColumn: 35, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -try {} catch ({ foo, ...bar }) { console.log(bar); } -``` - -```json -{ - "options": [ - { - "ignoreRestSiblings": true - } - ], - "languageOptions": { - "ecmaVersion": 2018 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'foo' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 16, - endLine: 1, - endColumn: 19, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a = 0, b; b = a = a + 1; foo(b); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a = 0, b; b = a += a + 1; foo(b); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a = 0, b; b = a++; foo(b); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var unregisterFooWatcher; -// ... -unregisterFooWatcher = $scope.$watch( "foo", function() { - // ...some code.. - unregisterFooWatcher(); -}); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'unregisterFooWatcher' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 24, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var ref; -ref = setInterval( - function(){ - clearInterval(ref); - }, 10); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'ref' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 7, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var _timer; -function f() { - _timer = setTimeout(function () {}, _timer ? 100 : 0); -} -f(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'_timer' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 10, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -/*eslint custom/use-every-a:1*/ !function(b, a) { return 1 } -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 42, - endLine: 1, - endColumn: 43, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 45, - endLine: 1, - endColumn: 46, - suggestions: null - } -] - -2 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a = function () { a(); }; a(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a = function(){ return function () { a(); } }; a(); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a; a ||= 1; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2021 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a; a &&= 1; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2021 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > valid - -```js -var a; a ??= 1; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2021 - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10 -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "a" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*global a */ -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "defined", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10; -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "a" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10; a=20; -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10; (function() { var a = 1; alert(a); })(); -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": " (function() { var a = 1; alert(a); })();", - "messageId": "removeVar", - "data": { - "varName": "a" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10, b=0, c=null; alert(a+b) -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "c", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "var a=10, b=0; alert(a+b)", - "messageId": "removeVar", - "data": { - "varName": "c" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 3: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 10, - endLine: 1, - endColumn: 11, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'c' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 16, - suggestions: null - } -] - -3 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10, b=0, c=null; setTimeout(function() { var b=2; alert(a+b+c); }, 0); -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "b", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "var a=10, c=null; setTimeout(function() { var b=2; alert(a+b+c); }, 0);", - "messageId": "removeVar", - "data": { - "varName": "b" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 3: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 10, - endLine: 1, - endColumn: 11, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'c' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 16, - suggestions: null - } -] - -3 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a=10, b=0, c=null; setTimeout(function() { var b=2; var c=2; alert(a+b+c); }, 0); -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "b", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "var a=10, c=null; setTimeout(function() { var b=2; var c=2; alert(a+b+c); }, 0);", - "messageId": "removeVar", - "data": { - "varName": "b" - } - } - ] - }, - { - "messageId": "unusedVar", - "data": { - "varName": "c", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "var a=10, b=0; setTimeout(function() { var b=2; var c=2; alert(a+b+c); }, 0);", - "messageId": "removeVar", - "data": { - "varName": "c" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 10, - endLine: 1, - endColumn: 11, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'c' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 15, - endLine: 1, - endColumn: 16, - suggestions: null - } -] - -3 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var min = Math.min -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "min", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "min" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'min' is assigned a value but never used." does not match "'min' is defined but never used." -+ actual - expected - -+ "'min' is defined but never used." -- "'min' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var min = {min: 1} -``` - -```json -{ - "options": [ - "all" - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "min", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "min" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'min' is assigned a value but never used." does not match "'min' is defined but never used." -+ actual - expected - -+ "'min' is defined but never used." -- "'min' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var min = {min: 1} -``` - -```json -{ - "options": [ - { - "vars": "all" - } - ], - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "min", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "min" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'min' is assigned a value but never used." does not match "'min' is defined but never used." -+ actual - expected - -+ "'min' is defined but never used." -- "'min' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*exported max*/ var max = 1, min = {min: 1} -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "min", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "/*exported max*/ var max = 1", - "messageId": "removeVar", - "data": { - "varName": "min" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'max' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 24, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'min' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 30, - endLine: 1, - endColumn: 33, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*exported x*/ var { x, y } = z -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "y", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "/*exported x*/ var { x } = z", - "messageId": "removeVar", - "data": { - "varName": "y" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'x' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 21, - endLine: 1, - endColumn: 22, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'y' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 24, - endLine: 1, - endColumn: 25, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var [ firstItemIgnored, secondItem ] = items; -``` - -```json -{ - "options": [ - { - "vars": "all", - "varsIgnorePattern": "[iI]gnored" - } - ], - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "line": 1, - "column": 25, - "messageId": "unusedVar", - "data": { - "varName": "secondItem", - "action": "assigned a value", - "additional": ". Allowed unused vars must match /[iI]gnored/u" - }, - "suggestions": [ - { - "output": "var [ firstItemIgnored ] = items;", - "messageId": "removeVar", - "data": { - "varName": "secondItem" - } - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'secondItem' is assigned a value but never used. Allowed unused vars must match /[iI]gnored/u." does not match "'secondItem' is defined but never used. Allowed unused vars must match /[iI]gnored/u." -+ actual - expected - -+ "'secondItem' is defined but never used. Allowed unused vars must match /[iI]gnored/u." -- "'secondItem' is assigned a value but never used. Allowed unused vars must match /[iI]gnored/u." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -for ( var { foo } in bar ) { } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "line": 1, - "column": 13, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "assigned a value", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'foo' is assigned a value but never used." does not match "'foo' is defined but never used." -+ actual - expected - -+ "'foo' is defined but never used." -- "'foo' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -for ( var [ foo ] in bar ) { } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "line": 1, - "column": 13, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "assigned a value", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'foo' is assigned a value but never used." does not match "'foo' is defined but never used." -+ actual - expected - -+ "'foo' is defined but never used." -- "'foo' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -for ( var { foo } of bar ) { } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "line": 1, - "column": 13, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "assigned a value", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'foo' is assigned a value but never used." does not match "'foo' is defined but never used." -+ actual - expected - -+ "'foo' is defined but never used." -- "'foo' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -for ( var [ foo ] of bar ) { } -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "line": 1, - "column": 13, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "assigned a value", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'foo' is assigned a value but never used." does not match "'foo' is defined but never used." -+ actual - expected - -+ "'foo' is defined but never used." -- "'foo' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js - -/* global foobar, foo, bar */ -foobar; -``` - -```json -{ - "errors": [ - { - "line": 2, - "endLine": 2, - "column": 19, - "endColumn": 22, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "defined", - "additional": "" - } - }, - { - "line": 2, - "endLine": 2, - "column": 24, - "endColumn": 27, - "messageId": "unusedVar", - "data": { - "varName": "bar", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js - -/* global foobar, - foo, - bar - */ -foobar; -``` - -```json -{ - "errors": [ - { - "line": 3, - "column": 4, - "endLine": 3, - "endColumn": 7, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "defined", - "additional": "" - } - }, - { - "line": 4, - "column": 4, - "endLine": 4, - "endColumn": 7, - "messageId": "unusedVar", - "data": { - "varName": "bar", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] - -0 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/* global a$fooz,$foo */ -a$fooz; -``` - -```json -{ - "errors": [ - { - "line": 1, - "column": 18, - "endLine": 1, - "endColumn": 22, - "messageId": "unusedVar", - "data": { - "varName": "$foo", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/* globals a$fooz, $ */ -a$fooz; -``` - -```json -{ - "errors": [ - { - "line": 1, - "column": 20, - "endLine": 1, - "endColumn": 21, - "messageId": "unusedVar", - "data": { - "varName": "$", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*globals $foo*/ -``` - -```json -{ - "errors": [ - { - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 15, - "messageId": "unusedVar", - "data": { - "varName": "$foo", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/* global global*/ -``` - -```json -{ - "errors": [ - { - "line": 1, - "column": 11, - "endLine": 1, - "endColumn": 17, - "messageId": "unusedVar", - "data": { - "varName": "global", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*global foo:true*/ -``` - -```json -{ - "errors": [ - { - "line": 1, - "column": 10, - "endLine": 1, - "endColumn": 13, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*global 変数, 数*/ -変数; -``` - -```json -{ - "errors": [ - { - "line": 1, - "column": 14, - "endLine": 1, - "endColumn": 15, - "messageId": "unusedVar", - "data": { - "varName": "数", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*global 𠮷𩸽, 𠮷*/ -\u{20BB7}\u{29E3D}; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "line": 1, - "column": 16, - "endLine": 1, - "endColumn": 18, - "messageId": "unusedVar", - "data": { - "varName": "𠮷", - "action": "defined", - "additional": "" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = 0; a = a + 1; -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = 0; a = a + a; -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = 0; a += a + 1; -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = 0; a++; -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = 3; a = a * 5 + 6; -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = 2, b = 4; a = a * 2 + b; -``` - -```json -{ - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'a' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 4, - endLine: 1, - endColumn: 5, - suggestions: null - }, - { - ruleId: 'rule-to-test/no-unused-vars', - message: "'b' is defined but never used.", - messageId: 'unusedVar', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 11, - endLine: 1, - endColumn: 12, - suggestions: null - } -] - -2 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -/*global foo*/ -``` - -```json -{ - "errors": [ - { - "line": 2, - "column": 1, - "endLine": 2, - "endColumn": 4, - "messageId": "unusedVar", - "data": { - "varName": "foo", - "action": "defined", - "additional": "" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true } } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = function() { a(); }; -``` - -```json -{ + }, "errors": [ { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "a" - } - } - ], - "line": 1, - "column": 5 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var a = function(){ return function() { a(); } }; -``` - -```json -{ - "errors": [ + "messageId": "unexpectedThis" + }, { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [ - { - "output": "", - "messageId": "removeVar", - "data": { - "varName": "a" - } - } - ], - "line": 1, - "column": 5 + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." +0 !== 2 - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-unused-vars > invalid +#### no-invalid-this > invalid ```js -try {} catch ({ message }) { console.error(message); } +/* implied strict mode */ foo.every(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { - "options": [ - { - "caughtErrorsIgnorePattern": "message", - "reportUsedIgnorePattern": true - } - ], "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "messageId": "usedIgnoredVar", - "data": { - "varName": "message", - "additional": ". Used caught errors must not match /message/u" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true } } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -try {} catch ([_a, _b]) { doSomething(_a, _b); } -``` - -```json -{ - "options": [ - { - "caughtErrorsIgnorePattern": "^_", - "reportUsedIgnorePattern": true - } - ], - "languageOptions": { - "ecmaVersion": 6 }, "errors": [ { - "messageId": "usedIgnoredVar", - "data": { - "varName": "_a", - "additional": ". Used caught errors must not match /^_/u" - } + "messageId": "unexpectedThis" }, { - "messageId": "usedIgnoredVar", - "data": { - "varName": "_b", - "additional": ". Used caught errors must not match /^_/u" - } + "messageId": "unexpectedThis" } ] } @@ -98037,37 +6101,28 @@ AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] at apps/oxlint/dist/index.js -#### no-unused-vars > invalid +#### no-invalid-this > invalid ```js -try {} catch ([_a, _b]) { doSomething(_a, _b); } +/* implied strict mode */ foo.filter(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { - "options": [ - { - "destructuredArrayIgnorePattern": "^_", - "reportUsedIgnorePattern": true - } - ], "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedIgnoredVar", - "data": { - "varName": "_a", - "additional": ". Used elements of array destructuring must not match /^_/u" - } + "messageId": "unexpectedThis" }, { - "messageId": "usedIgnoredVar", - "data": { - "varName": "_b", - "additional": ". Used elements of array destructuring must not match /^_/u" - } + "messageId": "unexpectedThis" } ] } @@ -98083,289 +6138,110 @@ AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] at apps/oxlint/dist/index.js -#### no-unused-vars > invalid +#### no-invalid-this > invalid ```js -try {} catch ({ stack: $ }) { $ = 'Something broke: ' + $; } +/* implied strict mode */ foo.find(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { - "options": [ - { - "caughtErrorsIgnorePattern": "\\w" - } - ], "languageOptions": { - "ecmaVersion": 2015 - }, - "errors": [ - { - "message": "'$' is assigned a value but never used. Allowed unused caught errors must match /\\w/u.", - "column": 31, - "endColumn": 32 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var [a] = foo;'use strict';b(00); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 }, "errors": [ { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -var [...a] = foo;'use strict';b(00); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ + "messageId": "unexpectedThis" + }, { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." +0 !== 2 - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-unused-vars > invalid +#### no-invalid-this > invalid ```js -var {a} = foo;'use strict';b(00); +/* implied strict mode */ foo.findIndex(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - }, - "suggestions": [] + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-unused-vars > invalid - -```js -console.log('foo') -var [a] = foo; -+b > 0 ? bar() : baz() -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 }, "errors": [ { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." +0 !== 2 - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-unused-vars > invalid +#### no-invalid-this > invalid ```js -console.log('foo') -var {a} = foo; -+b > 0 ? bar() : baz() +/* implied strict mode */ foo.findLast(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "messageId": "unusedVar", - "data": { - "varName": "a", - "action": "assigned a value", - "additional": "" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true } } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Hydrated message "'a' is assigned a value but never used." does not match "'a' is defined but never used." -+ actual - expected - -+ "'a' is defined but never used." -- "'a' is assigned a value but never used." - - at assertInvalidTestCaseMessageIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `no-use-before-define` - -Pass: 323 / 347 (93.1%) -Fail: 24 / 347 (6.9%) -Skip: 0 / 347 (0.0%) - -#### no-use-before-define > invalid - -```js -a++; var a=19; -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 6 }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-use-before-define > invalid - -```js -a++; var a=19; -``` - -```json -{ - "errors": [ + "messageId": "unexpectedThis" + }, { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98373,89 +6249,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -a(); var a=function() {}; +/* implied strict mode */ foo.findLastIndex(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { - "errors": [ - { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true } } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-use-before-define > invalid - -```js -alert(a[1]); var a=[1,3]; -``` - -```json -{ + }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-use-before-define > invalid - -```js -a(); var a=function() {}; -``` - -```json -{ - "options": [ - "nofunc" - ], - "errors": [ + "messageId": "unexpectedThis" + }, { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98463,28 +6286,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -"use strict"; a(); { function a() {} } +/* implied strict mode */ foo.flatMap(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98492,28 +6323,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -a(); try { throw new Error() } catch (foo) {var a;} +/* implied strict mode */ foo.forEach(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98521,31 +6360,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var f = () => a; var a; +/* implied strict mode */ foo.map(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98553,31 +6397,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -new A(); var A = class {}; +/* implied strict mode */ foo.some(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "A" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98585,31 +6434,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -function foo() { new A(); } var A = class {}; +/* implied strict mode */ foo.forEach(function() { console.log(this); z(x => console.log(x, this)); }, null); /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "A" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98617,31 +6471,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -a++; { var a; } +/* implied strict mode */ /** @returns {void} */ function foo() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98649,34 +6508,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -a(); var a=function() {}; +/* implied strict mode */ /** @this Obj */ foo(function() { console.log(this); z(x => console.log(x, this)); }); /* should error */ ``` ```json { - "options": [ - { - "functions": false, - "classes": false + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } } - ], + }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98684,36 +6545,41 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -new A(); var A = class {}; +/* implied strict mode */ var Ctor = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, "options": [ { - "classes": false + "capIsConstructor": false } ], - "languageOptions": { - "ecmaVersion": 6 - }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "A" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98721,36 +6587,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -function foo() { new A(); } var A = class {}; +/* implied strict mode */ var func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { - "options": [ - { - "classes": false - } - ], "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "A" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98758,28 +6624,41 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var a = a; +/* implied strict mode */ var func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { + "languageOptions": { + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } + }, + "options": [ + { + "capIsConstructor": false + } + ], "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98787,31 +6666,41 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var {a = a} = []; +/* implied strict mode */ Ctor = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, + "options": [ + { + "capIsConstructor": false + } + ], "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98819,31 +6708,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var [a = a] = []; +/* implied strict mode */ func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98851,31 +6745,41 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var {b = a, a} = {}; +/* implied strict mode */ func = function() { console.log(this); z(x => console.log(x, this)); } /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, + "options": [ + { + "capIsConstructor": false + } + ], "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98883,31 +6787,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var [b = a, a] = {}; +/* implied strict mode */ function foo(func = function() { console.log(this); z(x => console.log(x, this)); }) {} /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98915,31 +6824,36 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > invalid ```js -var {a = 0} = a; +/* implied strict mode */ [func = function() { console.log(this); z(x => console.log(x, this)); }] = a /* should error */ ``` ```json { "languageOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true + } + } }, "errors": [ { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } + "messageId": "unexpectedThis" + }, + { + "messageId": "unexpectedThis" } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] -0 !== 1 +0 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -98947,117 +6861,174 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +#### no-invalid-this > valid ```js -var [a = 0] = a; + + z(function (x, this: context) { + console.log(x, this); + }); + ``` ```json -{ - "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +Error: Parsing failed + at parse (apps/oxlint/dist/index.js) + at lint (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) -0 !== 1 - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +### `no-irregular-whitespace` +Pass: 279 / 280 (99.6%) +Fail: 1 / 280 (0.4%) +Skip: 0 / 280 (0.0%) -#### no-use-before-define > invalid +#### no-irregular-whitespace > valid ```js -for (var a in a) {} +console.log('hello BOM'); ``` ```json -{ - "errors": [ - { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" - } - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-irregular-whitespace', + message: 'Irregular whitespace not allowed.', + messageId: 'noIrregularWhitespace', + severity: 1, + nodeType: null, + line: 1, + column: 0, + endLine: 1, + endColumn: 1, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +### `no-lone-blocks` + +Pass: 47 / 50 (94.0%) +Fail: 1 / 50 (2.0%) +Skip: 2 / 50 (4.0%) + +#### no-lone-blocks > valid ```js -for (var a of a) {} +{ function bar() {} } ``` ```json { "languageOptions": { - "ecmaVersion": 6 - }, - "errors": [ - { - "messageId": "usedBeforeDefined", - "data": { - "name": "a" + "ecmaVersion": 6, + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true } } - ] + } } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-lone-blocks', + message: 'Block is redundant.', + messageId: 'redundantBlock', + severity: 1, + nodeType: 'BlockStatement', + line: 1, + column: 0, + endLine: 1, + endColumn: 21, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-use-before-define > invalid +### `no-multiple-empty-lines` + +Pass: 45 / 46 (97.8%) +Fail: 1 / 46 (2.2%) +Skip: 0 / 46 (0.0%) + +#### no-multiple-empty-lines > invalid ```js -foo; var foo; +foo + ``` ```json { + "output": "foo\n", "options": [ { - "variables": false + "max": 1, + "maxEOF": 0 } ], "errors": [ { - "messageId": "usedBeforeDefined", + "messageId": "blankEndOfFile", + "data": { + "max": 0 + }, + "column": 1 + } + ] +} +``` + +RangeError: Line number out of range (line 3 requested). Line numbers should be 1-based, and less than or equal to number of lines in file (2). + at getOffsetFromLineColumn (apps/oxlint/dist/lint.js) + at report (apps/oxlint/dist/lint.js) + at Object.report (apps/oxlint/dist/lint.js) + at apps/oxlint/conformance/submodules/eslint/lib/rules/no-multiple-empty-lines.js:157:17 + + +### `no-native-reassign` + +Pass: 15 / 18 (83.3%) +Fail: 3 / 18 (16.7%) +Skip: 0 / 18 (0.0%) + +#### no-native-reassign > invalid + +```js +/*global b:false*/ function f() { b = 1; } +``` + +```json +{ + "errors": [ + { + "messageId": "nativeReassign", "data": { - "name": "foo" + "name": "b" } } ] @@ -99074,99 +7045,77 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -### `no-useless-assignment` - -Pass: 83 / 85 (97.6%) -Fail: 2 / 85 (2.4%) -Skip: 0 / 85 (0.0%) - -#### no-useless-assignment > valid +#### no-native-reassign > invalid ```js -/* exported foo */ - let foo = 'used'; - console.log(foo); - foo = 'unused like but exported with directive'; +/*global b:false*/ function f() { b++; } ``` ```json { - "languageOptions": { - "sourceType": "script" - } + "errors": [ + { + "messageId": "nativeReassign", + "data": { + "name": "b" + } + } + ] } ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-useless-assignment', - message: 'This assigned value is not used in subsequent statements.', - messageId: 'unnecessaryAssignment', - severity: 1, - nodeType: 'Identifier', - line: 4, - column: 12, - endLine: 4, - endColumn: 15, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -1 !== 0 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### no-useless-assignment > valid +#### no-native-reassign > invalid ```js -/*eslint test/use-a:1*/ - let a = 'used'; - console.log(a); - a = 'unused like but marked by markVariableAsUsed()'; - +/*global b*/ b = 1; ``` ```json -{} +{ + "errors": [ + { + "messageId": "nativeReassign", + "data": { + "name": "b" + } + } + ] +} ``` -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-useless-assignment', - message: 'This assigned value is not used in subsequent statements.', - messageId: 'unnecessaryAssignment', - severity: 1, - nodeType: 'Identifier', - line: 4, - column: 8, - endLine: 4, - endColumn: 9, - suggestions: null - } -] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -1 !== 0 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -### `no-useless-backreference` +### `no-new-wrappers` -Pass: 188 / 190 (98.9%) -Fail: 2 / 190 (1.1%) -Skip: 0 / 190 (0.0%) +Pass: 10 / 11 (90.9%) +Fail: 1 / 11 (9.1%) +Skip: 0 / 11 (0.0%) -#### no-useless-backreference > valid +#### no-new-wrappers > valid ```js -/* globals RegExp:off */ new RegExp('\\1(a)'); + + /* global Boolean:off */ + assert(new Boolean); + ``` ```json @@ -99175,54 +7124,15 @@ Skip: 0 / 190 (0.0%) AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/no-useless-backreference', - message: "Backreference '\\1' will be ignored. It references group '(a)' which appears later in the pattern.", - messageId: 'forward', + ruleId: 'rule-to-test/no-new-wrappers', + message: 'Do not use Boolean as a constructor.', + messageId: 'noConstructor', severity: 1, nodeType: 'NewExpression', - line: 1, - column: 25, - endLine: 1, - endColumn: 45, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### no-useless-backreference > valid - -```js -RegExp('\\1(a)'); -``` - -```json -{ - "languageOptions": { - "globals": { - "RegExp": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/no-useless-backreference', - message: "Backreference '\\1' will be ignored. It references group '(a)' which appears later in the pattern.", - messageId: 'forward', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 16, + line: 3, + column: 15, + endLine: 3, + endColumn: 26, suggestions: null } ] @@ -99235,16 +7145,16 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -### `prefer-const` +### `no-obj-calls` -Pass: 134 / 138 (97.1%) -Fail: 2 / 138 (1.4%) -Skip: 2 / 138 (1.4%) +Pass: 101 / 107 (94.4%) +Fail: 6 / 107 (5.6%) +Skip: 0 / 107 (0.0%) -#### prefer-const > valid +#### no-obj-calls > valid ```js -/*exported a*/ let a = 1 +/*globals Math: off*/ Math(); ``` ```json @@ -99253,15 +7163,15 @@ Skip: 2 / 138 (1.4%) AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/prefer-const', - message: "'a' is never reassigned. Use 'const' instead.", - messageId: 'useConst', + ruleId: 'rule-to-test/no-obj-calls', + message: "'Math' is not a function.", + messageId: 'unexpectedCall', severity: 1, nodeType: 'Identifier', line: 1, - column: 19, + column: 22, endLine: 1, - endColumn: 20, + endColumn: 28, suggestions: null } ] @@ -99274,52 +7184,10 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### prefer-const > invalid - -```js -/*eslint no-undef-init:error*/ let foo = undefined; -``` - -```json -{ - "output": "/*eslint no-undef-init:error*/ const foo = undefined;", - "errors": 2 -} -``` - -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ - { - ruleId: 'rule-to-test/prefer-const', - message: "'foo' is never reassigned. Use 'const' instead.", - messageId: 'useConst', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 35, - endLine: 1, - endColumn: 38, - suggestions: null - } -] - -1 !== 2 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `prefer-exponentiation-operator` - -Pass: 161 / 167 (96.4%) -Fail: 3 / 167 (1.8%) -Skip: 3 / 167 (1.8%) - -#### prefer-exponentiation-operator > valid +#### no-obj-calls > valid ```js -/* globals Math:off*/ Math.pow(a, b) +/*globals Math: off*/ new Math(); ``` ```json @@ -99328,15 +7196,15 @@ Skip: 3 / 167 (1.8%) AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/prefer-exponentiation-operator', - message: "Use the '**' operator instead of 'Math.pow'.", - messageId: 'useExponentiation', + ruleId: 'rule-to-test/no-obj-calls', + message: "'Math' is not a function.", + messageId: 'unexpectedCall', severity: 1, - nodeType: 'Identifier', + nodeType: 'NewExpression', line: 1, column: 22, endLine: 1, - endColumn: 36, + endColumn: 32, suggestions: null } ] @@ -99349,59 +7217,20 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -#### prefer-exponentiation-operator > invalid - -```js -globalThis.Math.pow(a, b) -``` - -```json -{ - "output": "a**b", - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ - { - "messageId": "useExponentiation", - "line": 1, - "column": 1, - "endLine": 1, - "endColumn": 26 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-exponentiation-operator > invalid +#### no-obj-calls > invalid ```js -globalThis.Math['pow'](a, b) +/*globals Reflect: true*/ Reflect(); ``` ```json { - "output": "a**b", - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "useExponentiation", - "line": 1, - "column": 1, - "endLine": 1, - "endColumn": 29 + "messageId": "unexpectedCall", + "data": { + "name": "Reflect" + } } ] } @@ -99417,42 +7246,20 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -### `prefer-named-capture-group` - -Pass: 54 / 57 (94.7%) -Fail: 3 / 57 (5.3%) -Skip: 0 / 57 (0.0%) - -#### prefer-named-capture-group > invalid +#### no-obj-calls > invalid ```js -new globalThis.RegExp('([0-9]{4})') +/*globals Reflect: true*/ new Reflect(); ``` ```json { - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "required", + "messageId": "unexpectedCall", "data": { - "group": "([0-9]{4})" - }, - "line": 1, - "column": 1, - "endColumn": 36, - "suggestions": [ - { - "messageId": "addGroupName", - "output": "new globalThis.RegExp('(?[0-9]{4})')" - }, - { - "messageId": "addNonCapture", - "output": "new globalThis.RegExp('(?:[0-9]{4})')" - } - ] + "name": "Reflect" + } } ] } @@ -99468,36 +7275,20 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-named-capture-group > invalid +#### no-obj-calls > invalid ```js -globalThis.RegExp('([0-9]{4})') +/*globals Intl: true*/ Intl(); ``` ```json { - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "required", + "messageId": "unexpectedCall", "data": { - "group": "([0-9]{4})" - }, - "line": 1, - "column": 1, - "endColumn": 32, - "suggestions": [ - { - "messageId": "addGroupName", - "output": "globalThis.RegExp('(?[0-9]{4})')" - }, - { - "messageId": "addNonCapture", - "output": "globalThis.RegExp('(?:[0-9]{4})')" - } - ] + "name": "Intl" + } } ] } @@ -99513,39 +7304,20 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-named-capture-group > invalid +#### no-obj-calls > invalid ```js - - function foo() { var globalThis = bar; } - new globalThis.RegExp('([0-9]{4})'); - +/*globals Intl: true*/ new Intl(); ``` ```json { - "languageOptions": { - "ecmaVersion": 2020 - }, "errors": [ { - "messageId": "required", + "messageId": "unexpectedCall", "data": { - "group": "([0-9]{4})" - }, - "line": 3, - "column": 17, - "endColumn": 52, - "suggestions": [ - { - "messageId": "addGroupName", - "output": "\n function foo() { var globalThis = bar; }\n new globalThis.RegExp('(?[0-9]{4})');\n " - }, - { - "messageId": "addNonCapture", - "output": "\n function foo() { var globalThis = bar; }\n new globalThis.RegExp('(?:[0-9]{4})');\n " - } - ] + "name": "Intl" + } } ] } @@ -99561,17 +7333,16 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -### `prefer-object-has-own` +### `no-promise-executor-return` -Pass: 91 / 92 (98.9%) -Fail: 1 / 92 (1.1%) -Skip: 0 / 92 (0.0%) +Pass: 123 / 124 (99.2%) +Fail: 1 / 124 (0.8%) +Skip: 0 / 124 (0.0%) -#### prefer-object-has-own > valid +#### no-promise-executor-return > valid ```js -/* global Object: off */ - ({}).hasOwnProperty.call(a, b); +/* globals Promise:off */ new Promise(function (resolve, reject) { return 1; }); ``` ```json @@ -99580,15 +7351,15 @@ Skip: 0 / 92 (0.0%) AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ { - ruleId: 'rule-to-test/prefer-object-has-own', - message: "Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.", - messageId: 'useHasOwn', + ruleId: 'rule-to-test/no-promise-executor-return', + message: 'Return values from promise executor functions cannot be read.', + messageId: 'returnsValue', severity: 1, - nodeType: 'MemberExpression', - line: 2, - column: 8, - endLine: 2, - endColumn: 38, + nodeType: 'ReturnStatement', + line: 1, + column: 67, + endLine: 1, + endColumn: 76, suggestions: null } ] @@ -99601,63 +7372,1232 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ at apps/oxlint/dist/index.js -### `prefer-object-spread` +### `no-redeclare` -Pass: 80 / 87 (92.0%) -Fail: 5 / 87 (5.7%) -Skip: 2 / 87 (2.3%) +Pass: 50 / 75 (66.7%) +Fail: 25 / 75 (33.3%) +Skip: 0 / 75 (0.0%) -#### prefer-object-spread > invalid +#### no-redeclare > invalid ```js -const test = Object.assign({ ...bar }, { - weird - }) +var Object = 0; ``` ```json { - "output": "const test = {...bar, weird\n }", - "languageOptions": { - "sourceType": "script" - }, + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "useSpreadMessage", - "line": 1, - "column": 14 + "message": "'Object' is already defined as a built-in global variable." + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-redeclare > invalid + +```js +var top = 0; +``` + +```json +{ + "options": [ + { + "builtinGlobals": true + } + ], + "languageOptions": { + "globals": { + "AbortController": false, + "AbortSignal": false, + "AbsoluteOrientationSensor": false, + "AbstractRange": false, + "Accelerometer": false, + "addEventListener": false, + "ai": false, + "AI": false, + "AICreateMonitor": false, + "AITextSession": false, + "alert": false, + "AnalyserNode": false, + "Animation": false, + "AnimationEffect": false, + "AnimationEvent": false, + "AnimationPlaybackEvent": false, + "AnimationTimeline": false, + "AsyncDisposableStack": false, + "atob": false, + "Attr": false, + "Audio": false, + "AudioBuffer": false, + "AudioBufferSourceNode": false, + "AudioContext": false, + "AudioData": false, + "AudioDecoder": false, + "AudioDestinationNode": false, + "AudioEncoder": false, + "AudioListener": false, + "AudioNode": false, + "AudioParam": false, + "AudioParamMap": false, + "AudioProcessingEvent": false, + "AudioScheduledSourceNode": false, + "AudioSinkInfo": false, + "AudioWorklet": false, + "AudioWorkletGlobalScope": false, + "AudioWorkletNode": false, + "AudioWorkletProcessor": false, + "AuthenticatorAssertionResponse": false, + "AuthenticatorAttestationResponse": false, + "AuthenticatorResponse": false, + "BackgroundFetchManager": false, + "BackgroundFetchRecord": false, + "BackgroundFetchRegistration": false, + "BarcodeDetector": false, + "BarProp": false, + "BaseAudioContext": false, + "BatteryManager": false, + "BeforeUnloadEvent": false, + "BiquadFilterNode": false, + "Blob": false, + "BlobEvent": false, + "Bluetooth": false, + "BluetoothCharacteristicProperties": false, + "BluetoothDevice": false, + "BluetoothRemoteGATTCharacteristic": false, + "BluetoothRemoteGATTDescriptor": false, + "BluetoothRemoteGATTServer": false, + "BluetoothRemoteGATTService": false, + "BluetoothUUID": false, + "blur": false, + "BroadcastChannel": false, + "BrowserCaptureMediaStreamTrack": false, + "btoa": false, + "ByteLengthQueuingStrategy": false, + "Cache": false, + "caches": false, + "CacheStorage": false, + "cancelAnimationFrame": false, + "cancelIdleCallback": false, + "CanvasCaptureMediaStream": false, + "CanvasCaptureMediaStreamTrack": false, + "CanvasGradient": false, + "CanvasPattern": false, + "CanvasRenderingContext2D": false, + "CaptureController": false, + "CaretPosition": false, + "CDATASection": false, + "ChannelMergerNode": false, + "ChannelSplitterNode": false, + "ChapterInformation": false, + "CharacterBoundsUpdateEvent": false, + "CharacterData": false, + "clearInterval": false, + "clearTimeout": false, + "clientInformation": false, + "Clipboard": false, + "ClipboardChangeEvent": false, + "ClipboardEvent": false, + "ClipboardItem": false, + "close": false, + "closed": false, + "CloseEvent": false, + "CloseWatcher": false, + "CommandEvent": false, + "Comment": false, + "CompositionEvent": false, + "CompressionStream": false, + "confirm": false, + "console": false, + "ConstantSourceNode": false, + "ContentVisibilityAutoStateChangeEvent": false, + "ConvolverNode": false, + "CookieChangeEvent": false, + "CookieDeprecationLabel": false, + "cookieStore": false, + "CookieStore": false, + "CookieStoreManager": false, + "CountQueuingStrategy": false, + "createImageBitmap": false, + "CreateMonitor": false, + "Credential": false, + "credentialless": false, + "CredentialsContainer": false, + "CropTarget": false, + "crossOriginIsolated": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CSPViolationReportBody": false, + "CSS": false, + "CSSAnimation": false, + "CSSConditionRule": false, + "CSSContainerRule": false, + "CSSCounterStyleRule": false, + "CSSFontFaceRule": false, + "CSSFontFeatureValuesRule": false, + "CSSFontPaletteValuesRule": false, + "CSSFunctionDeclarations": false, + "CSSFunctionDescriptors": false, + "CSSFunctionRule": false, + "CSSGroupingRule": false, + "CSSImageValue": false, + "CSSImportRule": false, + "CSSKeyframeRule": false, + "CSSKeyframesRule": false, + "CSSKeywordValue": false, + "CSSLayerBlockRule": false, + "CSSLayerStatementRule": false, + "CSSMarginRule": false, + "CSSMathClamp": false, + "CSSMathInvert": false, + "CSSMathMax": false, + "CSSMathMin": false, + "CSSMathNegate": false, + "CSSMathProduct": false, + "CSSMathSum": false, + "CSSMathValue": false, + "CSSMatrixComponent": false, + "CSSMediaRule": false, + "CSSNamespaceRule": false, + "CSSNestedDeclarations": false, + "CSSNumericArray": false, + "CSSNumericValue": false, + "CSSPageDescriptors": false, + "CSSPageRule": false, + "CSSPerspective": false, + "CSSPositionTryDescriptors": false, + "CSSPositionTryRule": false, + "CSSPositionValue": false, + "CSSPropertyRule": false, + "CSSRotate": false, + "CSSRule": false, + "CSSRuleList": false, + "CSSScale": false, + "CSSScopeRule": false, + "CSSSkew": false, + "CSSSkewX": false, + "CSSSkewY": false, + "CSSStartingStyleRule": false, + "CSSStyleDeclaration": false, + "CSSStyleRule": false, + "CSSStyleSheet": false, + "CSSStyleValue": false, + "CSSSupportsRule": false, + "CSSTransformComponent": false, + "CSSTransformValue": false, + "CSSTransition": false, + "CSSTranslate": false, + "CSSUnitValue": false, + "CSSUnparsedValue": false, + "CSSVariableReferenceValue": false, + "CSSViewTransitionRule": false, + "currentFrame": false, + "currentTime": false, + "CustomElementRegistry": false, + "customElements": false, + "CustomEvent": false, + "CustomStateSet": false, + "DataTransfer": false, + "DataTransferItem": false, + "DataTransferItemList": false, + "DecompressionStream": false, + "DelayNode": false, + "DelegatedInkTrailPresenter": false, + "DeviceMotionEvent": false, + "DeviceMotionEventAcceleration": false, + "DeviceMotionEventRotationRate": false, + "DeviceOrientationEvent": false, + "devicePixelRatio": false, + "DevicePosture": false, + "DigitalCredential": false, + "dispatchEvent": false, + "DisposableStack": false, + "document": false, + "Document": false, + "DocumentFragment": false, + "documentPictureInPicture": false, + "DocumentPictureInPicture": false, + "DocumentPictureInPictureEvent": false, + "DocumentTimeline": false, + "DocumentType": false, + "DOMError": false, + "DOMException": false, + "DOMImplementation": false, + "DOMMatrix": false, + "DOMMatrixReadOnly": false, + "DOMParser": false, + "DOMPoint": false, + "DOMPointReadOnly": false, + "DOMQuad": false, + "DOMRect": false, + "DOMRectList": false, + "DOMRectReadOnly": false, + "DOMStringList": false, + "DOMStringMap": false, + "DOMTokenList": false, + "DragEvent": false, + "DynamicsCompressorNode": false, + "EditContext": false, + "Element": false, + "ElementInternals": false, + "EncodedAudioChunk": false, + "EncodedVideoChunk": false, + "ErrorEvent": false, + "event": false, + "Event": false, + "EventCounts": false, + "EventSource": false, + "EventTarget": false, + "external": false, + "External": false, + "EyeDropper": false, + "FeaturePolicy": false, + "FederatedCredential": false, + "fence": false, + "Fence": false, + "FencedFrameConfig": false, + "fetch": false, + "fetchLater": false, + "FetchLaterResult": false, + "File": false, + "FileList": false, + "FileReader": false, + "FileSystem": false, + "FileSystemDirectoryEntry": false, + "FileSystemDirectoryHandle": false, + "FileSystemDirectoryReader": false, + "FileSystemEntry": false, + "FileSystemFileEntry": false, + "FileSystemFileHandle": false, + "FileSystemHandle": false, + "FileSystemObserver": false, + "FileSystemWritableFileStream": false, + "find": false, + "focus": false, + "FocusEvent": false, + "FontData": false, + "FontFace": false, + "FontFaceSet": false, + "FontFaceSetLoadEvent": false, + "FormData": false, + "FormDataEvent": false, + "FragmentDirective": false, + "frameElement": false, + "frames": false, + "GainNode": false, + "Gamepad": false, + "GamepadAxisMoveEvent": false, + "GamepadButton": false, + "GamepadButtonEvent": false, + "GamepadEvent": false, + "GamepadHapticActuator": false, + "GamepadPose": false, + "Geolocation": false, + "GeolocationCoordinates": false, + "GeolocationPosition": false, + "GeolocationPositionError": false, + "getComputedStyle": false, + "getScreenDetails": false, + "getSelection": false, + "GPU": false, + "GPUAdapter": false, + "GPUAdapterInfo": false, + "GPUBindGroup": false, + "GPUBindGroupLayout": false, + "GPUBuffer": false, + "GPUBufferUsage": false, + "GPUCanvasContext": false, + "GPUColorWrite": false, + "GPUCommandBuffer": false, + "GPUCommandEncoder": false, + "GPUCompilationInfo": false, + "GPUCompilationMessage": false, + "GPUComputePassEncoder": false, + "GPUComputePipeline": false, + "GPUDevice": false, + "GPUDeviceLostInfo": false, + "GPUError": false, + "GPUExternalTexture": false, + "GPUInternalError": false, + "GPUMapMode": false, + "GPUOutOfMemoryError": false, + "GPUPipelineError": false, + "GPUPipelineLayout": false, + "GPUQuerySet": false, + "GPUQueue": false, + "GPURenderBundle": false, + "GPURenderBundleEncoder": false, + "GPURenderPassEncoder": false, + "GPURenderPipeline": false, + "GPUSampler": false, + "GPUShaderModule": false, + "GPUShaderStage": false, + "GPUSupportedFeatures": false, + "GPUSupportedLimits": false, + "GPUTexture": false, + "GPUTextureUsage": false, + "GPUTextureView": false, + "GPUUncapturedErrorEvent": false, + "GPUValidationError": false, + "GravitySensor": false, + "Gyroscope": false, + "HashChangeEvent": false, + "Headers": false, + "HID": false, + "HIDConnectionEvent": false, + "HIDDevice": false, + "HIDInputReportEvent": false, + "Highlight": false, + "HighlightRegistry": false, + "history": false, + "History": false, + "HTMLAllCollection": false, + "HTMLAnchorElement": false, + "HTMLAreaElement": false, + "HTMLAudioElement": false, + "HTMLBaseElement": false, + "HTMLBodyElement": false, + "HTMLBRElement": false, + "HTMLButtonElement": false, + "HTMLCanvasElement": false, + "HTMLCollection": false, + "HTMLDataElement": false, + "HTMLDataListElement": false, + "HTMLDetailsElement": false, + "HTMLDialogElement": false, + "HTMLDirectoryElement": false, + "HTMLDivElement": false, + "HTMLDListElement": false, + "HTMLDocument": false, + "HTMLElement": false, + "HTMLEmbedElement": false, + "HTMLFencedFrameElement": false, + "HTMLFieldSetElement": false, + "HTMLFontElement": false, + "HTMLFormControlsCollection": false, + "HTMLFormElement": false, + "HTMLFrameElement": false, + "HTMLFrameSetElement": false, + "HTMLHeadElement": false, + "HTMLHeadingElement": false, + "HTMLHRElement": false, + "HTMLHtmlElement": false, + "HTMLIFrameElement": false, + "HTMLImageElement": false, + "HTMLInputElement": false, + "HTMLLabelElement": false, + "HTMLLegendElement": false, + "HTMLLIElement": false, + "HTMLLinkElement": false, + "HTMLMapElement": false, + "HTMLMarqueeElement": false, + "HTMLMediaElement": false, + "HTMLMenuElement": false, + "HTMLMetaElement": false, + "HTMLMeterElement": false, + "HTMLModElement": false, + "HTMLObjectElement": false, + "HTMLOListElement": false, + "HTMLOptGroupElement": false, + "HTMLOptionElement": false, + "HTMLOptionsCollection": false, + "HTMLOutputElement": false, + "HTMLParagraphElement": false, + "HTMLParamElement": false, + "HTMLPictureElement": false, + "HTMLPreElement": false, + "HTMLProgressElement": false, + "HTMLQuoteElement": false, + "HTMLScriptElement": false, + "HTMLSelectedContentElement": false, + "HTMLSelectElement": false, + "HTMLSlotElement": false, + "HTMLSourceElement": false, + "HTMLSpanElement": false, + "HTMLStyleElement": false, + "HTMLTableCaptionElement": false, + "HTMLTableCellElement": false, + "HTMLTableColElement": false, + "HTMLTableElement": false, + "HTMLTableRowElement": false, + "HTMLTableSectionElement": false, + "HTMLTemplateElement": false, + "HTMLTextAreaElement": false, + "HTMLTimeElement": false, + "HTMLTitleElement": false, + "HTMLTrackElement": false, + "HTMLUListElement": false, + "HTMLUnknownElement": false, + "HTMLVideoElement": false, + "IDBCursor": false, + "IDBCursorWithValue": false, + "IDBDatabase": false, + "IDBFactory": false, + "IDBIndex": false, + "IDBKeyRange": false, + "IDBObjectStore": false, + "IDBOpenDBRequest": false, + "IDBRecord": false, + "IDBRequest": false, + "IDBTransaction": false, + "IDBVersionChangeEvent": false, + "IdentityCredential": false, + "IdentityCredentialError": false, + "IdentityProvider": false, + "IdleDeadline": false, + "IdleDetector": false, + "IIRFilterNode": false, + "Image": false, + "ImageBitmap": false, + "ImageBitmapRenderingContext": false, + "ImageCapture": false, + "ImageData": false, + "ImageDecoder": false, + "ImageTrack": false, + "ImageTrackList": false, + "indexedDB": false, + "Ink": false, + "innerHeight": false, + "innerWidth": false, + "InputDeviceCapabilities": false, + "InputDeviceInfo": false, + "InputEvent": false, + "IntegrityViolationReportBody": false, + "InterestEvent": false, + "IntersectionObserver": false, + "IntersectionObserverEntry": false, + "isSecureContext": false, + "Keyboard": false, + "KeyboardEvent": false, + "KeyboardLayoutMap": false, + "KeyframeEffect": false, + "LanguageDetector": false, + "LargestContentfulPaint": false, + "LaunchParams": false, + "launchQueue": false, + "LaunchQueue": false, + "LayoutShift": false, + "LayoutShiftAttribution": false, + "length": false, + "LinearAccelerationSensor": false, + "localStorage": false, + "location": true, + "Location": false, + "locationbar": false, + "Lock": false, + "LockManager": false, + "matchMedia": false, + "MathMLElement": false, + "MediaCapabilities": false, + "MediaCapabilitiesInfo": false, + "MediaDeviceInfo": false, + "MediaDevices": false, + "MediaElementAudioSourceNode": false, + "MediaEncryptedEvent": false, + "MediaError": false, + "MediaKeyError": false, + "MediaKeyMessageEvent": false, + "MediaKeys": false, + "MediaKeySession": false, + "MediaKeyStatusMap": false, + "MediaKeySystemAccess": false, + "MediaList": false, + "MediaMetadata": false, + "MediaQueryList": false, + "MediaQueryListEvent": false, + "MediaRecorder": false, + "MediaRecorderErrorEvent": false, + "MediaSession": false, + "MediaSource": false, + "MediaSourceHandle": false, + "MediaStream": false, + "MediaStreamAudioDestinationNode": false, + "MediaStreamAudioSourceNode": false, + "MediaStreamEvent": false, + "MediaStreamTrack": false, + "MediaStreamTrackAudioSourceNode": false, + "MediaStreamTrackAudioStats": false, + "MediaStreamTrackEvent": false, + "MediaStreamTrackGenerator": false, + "MediaStreamTrackProcessor": false, + "MediaStreamTrackVideoStats": false, + "menubar": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "MIDIAccess": false, + "MIDIConnectionEvent": false, + "MIDIInput": false, + "MIDIInputMap": false, + "MIDIMessageEvent": false, + "MIDIOutput": false, + "MIDIOutputMap": false, + "MIDIPort": false, + "MimeType": false, + "MimeTypeArray": false, + "model": false, + "ModelGenericSession": false, + "ModelManager": false, + "MouseEvent": false, + "moveBy": false, + "moveTo": false, + "MutationEvent": false, + "MutationObserver": false, + "MutationRecord": false, + "name": false, + "NamedNodeMap": false, + "NavigateEvent": false, + "navigation": false, + "Navigation": false, + "NavigationActivation": false, + "NavigationCurrentEntryChangeEvent": false, + "NavigationDestination": false, + "NavigationHistoryEntry": false, + "NavigationPrecommitController": false, + "NavigationPreloadManager": false, + "NavigationTransition": false, + "navigator": false, + "Navigator": false, + "NavigatorLogin": false, + "NavigatorManagedData": false, + "NavigatorUAData": false, + "NetworkInformation": false, + "Node": false, + "NodeFilter": false, + "NodeIterator": false, + "NodeList": false, + "Notification": false, + "NotifyPaintEvent": false, + "NotRestoredReasonDetails": false, + "NotRestoredReasons": false, + "Observable": false, + "OfflineAudioCompletionEvent": false, + "OfflineAudioContext": false, + "offscreenBuffering": false, + "OffscreenCanvas": false, + "OffscreenCanvasRenderingContext2D": false, + "onabort": true, + "onafterprint": true, + "onanimationcancel": true, + "onanimationend": true, + "onanimationiteration": true, + "onanimationstart": true, + "onappinstalled": true, + "onauxclick": true, + "onbeforeinput": true, + "onbeforeinstallprompt": true, + "onbeforematch": true, + "onbeforeprint": true, + "onbeforetoggle": true, + "onbeforeunload": true, + "onbeforexrselect": true, + "onblur": true, + "oncancel": true, + "oncanplay": true, + "oncanplaythrough": true, + "onchange": true, + "onclick": true, + "onclose": true, + "oncommand": true, + "oncontentvisibilityautostatechange": true, + "oncontextlost": true, + "oncontextmenu": true, + "oncontextrestored": true, + "oncopy": true, + "oncuechange": true, + "oncut": true, + "ondblclick": true, + "ondevicemotion": true, + "ondeviceorientation": true, + "ondeviceorientationabsolute": true, + "ondrag": true, + "ondragend": true, + "ondragenter": true, + "ondragleave": true, + "ondragover": true, + "ondragstart": true, + "ondrop": true, + "ondurationchange": true, + "onemptied": true, + "onended": true, + "onerror": true, + "onfocus": true, + "onformdata": true, + "ongamepadconnected": true, + "ongamepaddisconnected": true, + "ongotpointercapture": true, + "onhashchange": true, + "oninput": true, + "oninvalid": true, + "onkeydown": true, + "onkeypress": true, + "onkeyup": true, + "onlanguagechange": true, + "onload": true, + "onloadeddata": true, + "onloadedmetadata": true, + "onloadstart": true, + "onlostpointercapture": true, + "onmessage": true, + "onmessageerror": true, + "onmousedown": true, + "onmouseenter": true, + "onmouseleave": true, + "onmousemove": true, + "onmouseout": true, + "onmouseover": true, + "onmouseup": true, + "onmousewheel": true, + "onoffline": true, + "ononline": true, + "onpagehide": true, + "onpagereveal": true, + "onpageshow": true, + "onpageswap": true, + "onpaste": true, + "onpause": true, + "onplay": true, + "onplaying": true, + "onpointercancel": true, + "onpointerdown": true, + "onpointerenter": true, + "onpointerleave": true, + "onpointermove": true, + "onpointerout": true, + "onpointerover": true, + "onpointerrawupdate": true, + "onpointerup": true, + "onpopstate": true, + "onprogress": true, + "onratechange": true, + "onrejectionhandled": true, + "onreset": true, + "onresize": true, + "onscroll": true, + "onscrollend": true, + "onscrollsnapchange": true, + "onscrollsnapchanging": true, + "onsearch": true, + "onsecuritypolicyviolation": true, + "onseeked": true, + "onseeking": true, + "onselect": true, + "onselectionchange": true, + "onselectstart": true, + "onslotchange": true, + "onstalled": true, + "onstorage": true, + "onsubmit": true, + "onsuspend": true, + "ontimeupdate": true, + "ontoggle": true, + "ontransitioncancel": true, + "ontransitionend": true, + "ontransitionrun": true, + "ontransitionstart": true, + "onunhandledrejection": true, + "onunload": true, + "onvolumechange": true, + "onwaiting": true, + "onwheel": true, + "open": false, + "opener": false, + "Option": false, + "OrientationSensor": false, + "origin": false, + "originAgentCluster": false, + "OscillatorNode": false, + "OTPCredential": false, + "outerHeight": false, + "outerWidth": false, + "OverconstrainedError": false, + "PageRevealEvent": false, + "PageSwapEvent": false, + "PageTransitionEvent": false, + "pageXOffset": false, + "pageYOffset": false, + "PannerNode": false, + "parent": false, + "PasswordCredential": false, + "Path2D": false, + "PaymentAddress": false, + "PaymentManager": false, + "PaymentMethodChangeEvent": false, + "PaymentRequest": false, + "PaymentRequestUpdateEvent": false, + "PaymentResponse": false, + "performance": false, + "Performance": false, + "PerformanceElementTiming": false, + "PerformanceEntry": false, + "PerformanceEventTiming": false, + "PerformanceLongAnimationFrameTiming": false, + "PerformanceLongTaskTiming": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceNavigation": false, + "PerformanceNavigationTiming": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformancePaintTiming": false, + "PerformanceResourceTiming": false, + "PerformanceScriptTiming": false, + "PerformanceServerTiming": false, + "PerformanceTiming": false, + "PeriodicSyncManager": false, + "PeriodicWave": false, + "Permissions": false, + "PermissionStatus": false, + "PERSISTENT": false, + "personalbar": false, + "PictureInPictureEvent": false, + "PictureInPictureWindow": false, + "Plugin": false, + "PluginArray": false, + "PointerEvent": false, + "PopStateEvent": false, + "postMessage": false, + "Presentation": false, + "PresentationAvailability": false, + "PresentationConnection": false, + "PresentationConnectionAvailableEvent": false, + "PresentationConnectionCloseEvent": false, + "PresentationConnectionList": false, + "PresentationReceiver": false, + "PresentationRequest": false, + "PressureObserver": false, + "PressureRecord": false, + "print": false, + "ProcessingInstruction": false, + "Profiler": false, + "ProgressEvent": false, + "PromiseRejectionEvent": false, + "prompt": false, + "ProtectedAudience": false, + "PublicKeyCredential": false, + "PushManager": false, + "PushSubscription": false, + "PushSubscriptionOptions": false, + "queryLocalFonts": false, + "queueMicrotask": false, + "QuotaExceededError": false, + "RadioNodeList": false, + "Range": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "registerProcessor": false, + "RelativeOrientationSensor": false, + "RemotePlayback": false, + "removeEventListener": false, + "ReportBody": false, + "reportError": false, + "ReportingObserver": false, + "Request": false, + "requestAnimationFrame": false, + "requestIdleCallback": false, + "resizeBy": false, + "ResizeObserver": false, + "ResizeObserverEntry": false, + "ResizeObserverSize": false, + "resizeTo": false, + "Response": false, + "RestrictionTarget": false, + "RTCCertificate": false, + "RTCDataChannel": false, + "RTCDataChannelEvent": false, + "RTCDtlsTransport": false, + "RTCDTMFSender": false, + "RTCDTMFToneChangeEvent": false, + "RTCEncodedAudioFrame": false, + "RTCEncodedVideoFrame": false, + "RTCError": false, + "RTCErrorEvent": false, + "RTCIceCandidate": false, + "RTCIceTransport": false, + "RTCPeerConnection": false, + "RTCPeerConnectionIceErrorEvent": false, + "RTCPeerConnectionIceEvent": false, + "RTCRtpReceiver": false, + "RTCRtpScriptTransform": false, + "RTCRtpSender": false, + "RTCRtpTransceiver": false, + "RTCSctpTransport": false, + "RTCSessionDescription": false, + "RTCStatsReport": false, + "RTCTrackEvent": false, + "sampleRate": false, + "scheduler": false, + "Scheduler": false, + "Scheduling": false, + "screen": false, + "Screen": false, + "ScreenDetailed": false, + "ScreenDetails": false, + "screenLeft": false, + "ScreenOrientation": false, + "screenTop": false, + "screenX": false, + "screenY": false, + "ScriptProcessorNode": false, + "scroll": false, + "scrollbars": false, + "scrollBy": false, + "ScrollTimeline": false, + "scrollTo": false, + "scrollX": false, + "scrollY": false, + "SecurityPolicyViolationEvent": false, + "Selection": false, + "self": false, + "Sensor": false, + "SensorErrorEvent": false, + "Serial": false, + "SerialPort": false, + "ServiceWorker": false, + "ServiceWorkerContainer": false, + "ServiceWorkerRegistration": false, + "sessionStorage": false, + "setInterval": false, + "setTimeout": false, + "ShadowRoot": false, + "sharedStorage": false, + "SharedStorage": false, + "SharedStorageAppendMethod": false, + "SharedStorageClearMethod": false, + "SharedStorageDeleteMethod": false, + "SharedStorageModifierMethod": false, + "SharedStorageSetMethod": false, + "SharedStorageWorklet": false, + "SharedWorker": false, + "showDirectoryPicker": false, + "showOpenFilePicker": false, + "showSaveFilePicker": false, + "SnapEvent": false, + "SourceBuffer": false, + "SourceBufferList": false, + "SpeechGrammar": false, + "SpeechGrammarList": false, + "SpeechRecognition": false, + "SpeechRecognitionErrorEvent": false, + "SpeechRecognitionEvent": false, + "SpeechRecognitionPhrase": false, + "speechSynthesis": false, + "SpeechSynthesis": false, + "SpeechSynthesisErrorEvent": false, + "SpeechSynthesisEvent": false, + "SpeechSynthesisUtterance": false, + "SpeechSynthesisVoice": false, + "StaticRange": false, + "status": false, + "statusbar": false, + "StereoPannerNode": false, + "stop": false, + "Storage": false, + "StorageBucket": false, + "StorageBucketManager": false, + "StorageEvent": false, + "StorageManager": false, + "structuredClone": false, + "styleMedia": false, + "StylePropertyMap": false, + "StylePropertyMapReadOnly": false, + "StyleSheet": false, + "StyleSheetList": false, + "SubmitEvent": false, + "Subscriber": false, + "SubtleCrypto": false, + "Summarizer": false, + "SuppressedError": false, + "SVGAElement": false, + "SVGAngle": false, + "SVGAnimatedAngle": false, + "SVGAnimatedBoolean": false, + "SVGAnimatedEnumeration": false, + "SVGAnimatedInteger": false, + "SVGAnimatedLength": false, + "SVGAnimatedLengthList": false, + "SVGAnimatedNumber": false, + "SVGAnimatedNumberList": false, + "SVGAnimatedPreserveAspectRatio": false, + "SVGAnimatedRect": false, + "SVGAnimatedString": false, + "SVGAnimatedTransformList": false, + "SVGAnimateElement": false, + "SVGAnimateMotionElement": false, + "SVGAnimateTransformElement": false, + "SVGAnimationElement": false, + "SVGCircleElement": false, + "SVGClipPathElement": false, + "SVGComponentTransferFunctionElement": false, + "SVGDefsElement": false, + "SVGDescElement": false, + "SVGElement": false, + "SVGEllipseElement": false, + "SVGFEBlendElement": false, + "SVGFEColorMatrixElement": false, + "SVGFEComponentTransferElement": false, + "SVGFECompositeElement": false, + "SVGFEConvolveMatrixElement": false, + "SVGFEDiffuseLightingElement": false, + "SVGFEDisplacementMapElement": false, + "SVGFEDistantLightElement": false, + "SVGFEDropShadowElement": false, + "SVGFEFloodElement": false, + "SVGFEFuncAElement": false, + "SVGFEFuncBElement": false, + "SVGFEFuncGElement": false, + "SVGFEFuncRElement": false, + "SVGFEGaussianBlurElement": false, + "SVGFEImageElement": false, + "SVGFEMergeElement": false, + "SVGFEMergeNodeElement": false, + "SVGFEMorphologyElement": false, + "SVGFEOffsetElement": false, + "SVGFEPointLightElement": false, + "SVGFESpecularLightingElement": false, + "SVGFESpotLightElement": false, + "SVGFETileElement": false, + "SVGFETurbulenceElement": false, + "SVGFilterElement": false, + "SVGForeignObjectElement": false, + "SVGGElement": false, + "SVGGeometryElement": false, + "SVGGradientElement": false, + "SVGGraphicsElement": false, + "SVGImageElement": false, + "SVGLength": false, + "SVGLengthList": false, + "SVGLinearGradientElement": false, + "SVGLineElement": false, + "SVGMarkerElement": false, + "SVGMaskElement": false, + "SVGMatrix": false, + "SVGMetadataElement": false, + "SVGMPathElement": false, + "SVGNumber": false, + "SVGNumberList": false, + "SVGPathElement": false, + "SVGPatternElement": false, + "SVGPoint": false, + "SVGPointList": false, + "SVGPolygonElement": false, + "SVGPolylineElement": false, + "SVGPreserveAspectRatio": false, + "SVGRadialGradientElement": false, + "SVGRect": false, + "SVGRectElement": false, + "SVGScriptElement": false, + "SVGSetElement": false, + "SVGStopElement": false, + "SVGStringList": false, + "SVGStyleElement": false, + "SVGSVGElement": false, + "SVGSwitchElement": false, + "SVGSymbolElement": false, + "SVGTextContentElement": false, + "SVGTextElement": false, + "SVGTextPathElement": false, + "SVGTextPositioningElement": false, + "SVGTitleElement": false, + "SVGTransform": false, + "SVGTransformList": false, + "SVGTSpanElement": false, + "SVGUnitTypes": false, + "SVGUseElement": false, + "SVGViewElement": false, + "SyncManager": false, + "TaskAttributionTiming": false, + "TaskController": false, + "TaskPriorityChangeEvent": false, + "TaskSignal": false, + "TEMPORARY": false, + "Text": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TextEvent": false, + "TextFormat": false, + "TextFormatUpdateEvent": false, + "TextMetrics": false, + "TextTrack": false, + "TextTrackCue": false, + "TextTrackCueList": false, + "TextTrackList": false, + "TextUpdateEvent": false, + "TimeEvent": false, + "TimeRanges": false, + "ToggleEvent": false, + "toolbar": false, + "top": false, + "Touch": false, + "TouchEvent": false, + "TouchList": false, + "TrackEvent": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "TransitionEvent": false, + "Translator": false, + "TreeWalker": false, + "TrustedHTML": false, + "TrustedScript": false, + "TrustedScriptURL": false, + "TrustedTypePolicy": false, + "TrustedTypePolicyFactory": false, + "trustedTypes": false, + "UIEvent": false, + "URL": false, + "URLPattern": false, + "URLSearchParams": false, + "USB": false, + "USBAlternateInterface": false, + "USBConfiguration": false, + "USBConnectionEvent": false, + "USBDevice": false, + "USBEndpoint": false, + "USBInterface": false, + "USBInTransferResult": false, + "USBIsochronousInTransferPacket": false, + "USBIsochronousInTransferResult": false, + "USBIsochronousOutTransferPacket": false, + "USBIsochronousOutTransferResult": false, + "USBOutTransferResult": false, + "UserActivation": false, + "ValidityState": false, + "VideoColorSpace": false, + "VideoDecoder": false, + "VideoEncoder": false, + "VideoFrame": false, + "VideoPlaybackQuality": false, + "viewport": false, + "Viewport": false, + "ViewTimeline": false, + "ViewTransition": false, + "ViewTransitionTypeSet": false, + "VirtualKeyboard": false, + "VirtualKeyboardGeometryChangeEvent": false, + "VisibilityStateEntry": false, + "visualViewport": false, + "VisualViewport": false, + "VTTCue": false, + "VTTRegion": false, + "WakeLock": false, + "WakeLockSentinel": false, + "WaveShaperNode": false, + "WebAssembly": false, + "WebGL2RenderingContext": false, + "WebGLActiveInfo": false, + "WebGLBuffer": false, + "WebGLContextEvent": false, + "WebGLFramebuffer": false, + "WebGLObject": false, + "WebGLProgram": false, + "WebGLQuery": false, + "WebGLRenderbuffer": false, + "WebGLRenderingContext": false, + "WebGLSampler": false, + "WebGLShader": false, + "WebGLShaderPrecisionFormat": false, + "WebGLSync": false, + "WebGLTexture": false, + "WebGLTransformFeedback": false, + "WebGLUniformLocation": false, + "WebGLVertexArrayObject": false, + "WebSocket": false, + "WebSocketError": false, + "WebSocketStream": false, + "WebTransport": false, + "WebTransportBidirectionalStream": false, + "WebTransportDatagramDuplexStream": false, + "WebTransportError": false, + "WebTransportReceiveStream": false, + "WebTransportSendStream": false, + "WGSLLanguageFeatures": false, + "WheelEvent": false, + "when": false, + "window": false, + "Window": false, + "WindowControlsOverlay": false, + "WindowControlsOverlayGeometryChangeEvent": false, + "Worker": false, + "Worklet": false, + "WorkletGlobalScope": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, + "XMLDocument": false, + "XMLHttpRequest": false, + "XMLHttpRequestEventTarget": false, + "XMLHttpRequestUpload": false, + "XMLSerializer": false, + "XPathEvaluator": false, + "XPathExpression": false, + "XPathResult": false, + "XRAnchor": false, + "XRAnchorSet": false, + "XRBoundedReferenceSpace": false, + "XRCamera": false, + "XRCPUDepthInformation": false, + "XRDepthInformation": false, + "XRDOMOverlayState": false, + "XRFrame": false, + "XRHand": false, + "XRHitTestResult": false, + "XRHitTestSource": false, + "XRInputSource": false, + "XRInputSourceArray": false, + "XRInputSourceEvent": false, + "XRInputSourcesChangeEvent": false, + "XRJointPose": false, + "XRJointSpace": false, + "XRLayer": false, + "XRLightEstimate": false, + "XRLightProbe": false, + "XRPose": false, + "XRRay": false, + "XRReferenceSpace": false, + "XRReferenceSpaceEvent": false, + "XRRenderState": false, + "XRRigidTransform": false, + "XRSession": false, + "XRSessionEvent": false, + "XRSpace": false, + "XRSystem": false, + "XRTransientInputHitTestResult": false, + "XRTransientInputHitTestSource": false, + "XRView": false, + "XRViewerPose": false, + "XRViewport": false, + "XRWebGLBinding": false, + "XRWebGLDepthInformation": false, + "XRWebGLLayer": false, + "XSLTProcessor": false } - ] -} -``` - -Error: `tokensAndComments` is not correctly ordered - at debugCheckTokensAndComments (apps/oxlint/dist/lint.js) - at initTokensAndComments (apps/oxlint/dist/lint.js) - at Object.getTokenBefore (apps/oxlint/dist/lint.js) - at getStartWithSpaces (apps/oxlint/conformance/submodules/eslint/lib/rules/prefer-object-spread.js:143:32) - - -#### prefer-object-spread > invalid - -```js -globalThis.Object.assign({ }); -``` - -```json -{ - "output": "({});", - "languageOptions": { - "ecmaVersion": 2020 }, "errors": [ { - "messageId": "useLiteralMessage", - "line": 1, - "column": 1 + "message": "'top' is already defined as a built-in global variable." } ] } @@ -99673,279 +8613,75 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-object-spread > invalid +#### no-redeclare > invalid ```js -globalThis.Object.assign({ -}); +var a; var {a = 0, b: Object = 0} = {}; ``` ```json { - "output": "({});", - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ + "options": [ { - "messageId": "useLiteralMessage", - "line": 1, - "column": 1 + "builtinGlobals": true } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-object-spread > invalid - -```js - - function foo () { var globalThis = bar; } - globalThis.Object.assign({ }); - -``` - -```json -{ - "output": "\n function foo () { var globalThis = bar; }\n ({});\n ", + ], "languageOptions": { - "ecmaVersion": 2020 + "ecmaVersion": 6 }, "errors": [ { - "messageId": "useLiteralMessage", - "line": 3, - "column": 17 - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-object-spread > invalid - -```js - - const Foo = require('foo'); - globalThis.Object.assign({ foo: Foo }); - -``` - -```json -{ - "output": "\n const Foo = require('foo');\n ({foo: Foo});\n ", - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ + "message": "'a' is already defined." + }, { - "messageId": "useLiteralMessage", - "line": 3, - "column": 17 + "message": "'Object' is already defined as a built-in global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -### `prefer-regex-literals` - -Pass: 239 / 251 (95.2%) -Fail: 12 / 251 (4.8%) -Skip: 0 / 251 (0.0%) - -#### prefer-regex-literals > valid - -```js -/* globals String:off */ new RegExp(String.raw`a`); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/prefer-regex-literals', - message: "Use a regular expression literal instead of the 'RegExp' constructor.", - messageId: 'unexpectedRegExp', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 25, - endLine: 1, - endColumn: 50, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-regex-literals > valid - -```js -RegExp('a', String.raw`g`); -``` - -```json -{ - "languageOptions": { - "globals": { - "String": "off" - } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ { - ruleId: 'rule-to-test/prefer-regex-literals', - message: "Use a regular expression literal instead of the 'RegExp' constructor.", - messageId: 'unexpectedRegExp', + ruleId: 'rule-to-test/no-redeclare', + message: "'a' is already defined.", + messageId: 'redeclared', severity: 1, nodeType: 'Identifier', line: 1, - column: 0, - endLine: 1, - endColumn: 26, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-regex-literals > valid - -```js -/* globals RegExp:off */ new RegExp('a'); -``` - -```json -{} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/prefer-regex-literals', - message: "Use a regular expression literal instead of the 'RegExp' constructor.", - messageId: 'unexpectedRegExp', - severity: 1, - nodeType: 'NewExpression', - line: 1, - column: 25, + column: 12, endLine: 1, - endColumn: 40, + endColumn: 13, suggestions: null } ] -1 !== 0 +1 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### prefer-regex-literals > valid +#### no-redeclare > invalid ```js -RegExp('a'); +var globalThis = 0; ``` ```json { - "languageOptions": { - "globals": { - "RegExp": "off" + "options": [ + { + "builtinGlobals": true } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/prefer-regex-literals', - message: "Use a regular expression literal instead of the 'RegExp' constructor.", - messageId: 'unexpectedRegExp', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 11, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-regex-literals > invalid - -```js -new globalThis.RegExp('a'); -``` - -```json -{ + ], "languageOptions": { "ecmaVersion": 2020 }, "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/a/;" - } - ] + "message": "'globalThis' is already defined as a built-in global variable." } ] } @@ -99961,71 +8697,49 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-regex-literals > invalid +#### no-redeclare > invalid ```js -globalThis.RegExp('a'); +var a; var {a = 0, b: globalThis = 0} = {}; ``` ```json { - "languageOptions": { - "ecmaVersion": 2020 - }, - "errors": [ + "options": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/a/;" - } - ] + "builtinGlobals": true } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### prefer-regex-literals > invalid - -```js -new globalThis.RegExp('\\W', ''); -``` - -```json -{ + ], "languageOptions": { - "globals": { - "globalThis": "readonly" - } + "ecmaVersion": 2020 }, "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/\\W/;" - } - ] + "message": "'a' is already defined." + }, + { + "message": "'globalThis' is already defined as a built-in global variable." } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ + { + ruleId: 'rule-to-test/no-redeclare', + message: "'a' is already defined.", + messageId: 'redeclared', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 12, + endLine: 1, + endColumn: 13, + suggestions: null + } +] -0 !== 1 +1 !== 2 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -100033,28 +8747,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-regex-literals > invalid +#### no-redeclare > invalid ```js -globalThis.RegExp('\\d', ''); +/*global b:false*/ var b = 1; ``` ```json { - "languageOptions": { - "globals": { - "globalThis": "readonly" + "options": [ + { + "builtinGlobals": true } - }, + ], "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/\\d/;" - } - ] + "message": "'b' is already defined by a variable declaration.", + "line": 1, + "column": 10, + "endLine": 1, + "endColumn": 11 } ] } @@ -100070,28 +8782,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-regex-literals > invalid +#### no-redeclare > invalid ```js -globalThis.RegExp('\\D', '') +/*global b:true*/ var b = 1; ``` ```json { - "languageOptions": { - "globals": { - "globalThis": "readonly" + "options": [ + { + "builtinGlobals": true } - }, + ], "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/\\D/" - } - ] + "message": "'b' is already defined by a variable declaration.", + "line": 1, + "column": 10, + "endLine": 1, + "endColumn": 11 } ] } @@ -100107,28 +8817,17 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-regex-literals > invalid +#### no-redeclare > invalid ```js -globalThis.RegExp('\\\\\\D', '') +var Object = 0; ``` ```json { - "languageOptions": { - "globals": { - "globalThis": "readonly" - } - }, "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/\\\\\\D/" - } - ] + "message": "'Object' is already defined as a built-in global variable." } ] } @@ -100144,28 +8843,1190 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-regex-literals > invalid +#### no-redeclare > invalid ```js -new globalThis.RegExp('\\0\\0', ''); +var top = 0; ``` ```json { "languageOptions": { "globals": { - "globalThis": "writable" + "AbortController": false, + "AbortSignal": false, + "AbsoluteOrientationSensor": false, + "AbstractRange": false, + "Accelerometer": false, + "addEventListener": false, + "ai": false, + "AI": false, + "AICreateMonitor": false, + "AITextSession": false, + "alert": false, + "AnalyserNode": false, + "Animation": false, + "AnimationEffect": false, + "AnimationEvent": false, + "AnimationPlaybackEvent": false, + "AnimationTimeline": false, + "AsyncDisposableStack": false, + "atob": false, + "Attr": false, + "Audio": false, + "AudioBuffer": false, + "AudioBufferSourceNode": false, + "AudioContext": false, + "AudioData": false, + "AudioDecoder": false, + "AudioDestinationNode": false, + "AudioEncoder": false, + "AudioListener": false, + "AudioNode": false, + "AudioParam": false, + "AudioParamMap": false, + "AudioProcessingEvent": false, + "AudioScheduledSourceNode": false, + "AudioSinkInfo": false, + "AudioWorklet": false, + "AudioWorkletGlobalScope": false, + "AudioWorkletNode": false, + "AudioWorkletProcessor": false, + "AuthenticatorAssertionResponse": false, + "AuthenticatorAttestationResponse": false, + "AuthenticatorResponse": false, + "BackgroundFetchManager": false, + "BackgroundFetchRecord": false, + "BackgroundFetchRegistration": false, + "BarcodeDetector": false, + "BarProp": false, + "BaseAudioContext": false, + "BatteryManager": false, + "BeforeUnloadEvent": false, + "BiquadFilterNode": false, + "Blob": false, + "BlobEvent": false, + "Bluetooth": false, + "BluetoothCharacteristicProperties": false, + "BluetoothDevice": false, + "BluetoothRemoteGATTCharacteristic": false, + "BluetoothRemoteGATTDescriptor": false, + "BluetoothRemoteGATTServer": false, + "BluetoothRemoteGATTService": false, + "BluetoothUUID": false, + "blur": false, + "BroadcastChannel": false, + "BrowserCaptureMediaStreamTrack": false, + "btoa": false, + "ByteLengthQueuingStrategy": false, + "Cache": false, + "caches": false, + "CacheStorage": false, + "cancelAnimationFrame": false, + "cancelIdleCallback": false, + "CanvasCaptureMediaStream": false, + "CanvasCaptureMediaStreamTrack": false, + "CanvasGradient": false, + "CanvasPattern": false, + "CanvasRenderingContext2D": false, + "CaptureController": false, + "CaretPosition": false, + "CDATASection": false, + "ChannelMergerNode": false, + "ChannelSplitterNode": false, + "ChapterInformation": false, + "CharacterBoundsUpdateEvent": false, + "CharacterData": false, + "clearInterval": false, + "clearTimeout": false, + "clientInformation": false, + "Clipboard": false, + "ClipboardChangeEvent": false, + "ClipboardEvent": false, + "ClipboardItem": false, + "close": false, + "closed": false, + "CloseEvent": false, + "CloseWatcher": false, + "CommandEvent": false, + "Comment": false, + "CompositionEvent": false, + "CompressionStream": false, + "confirm": false, + "console": false, + "ConstantSourceNode": false, + "ContentVisibilityAutoStateChangeEvent": false, + "ConvolverNode": false, + "CookieChangeEvent": false, + "CookieDeprecationLabel": false, + "cookieStore": false, + "CookieStore": false, + "CookieStoreManager": false, + "CountQueuingStrategy": false, + "createImageBitmap": false, + "CreateMonitor": false, + "Credential": false, + "credentialless": false, + "CredentialsContainer": false, + "CropTarget": false, + "crossOriginIsolated": false, + "crypto": false, + "Crypto": false, + "CryptoKey": false, + "CSPViolationReportBody": false, + "CSS": false, + "CSSAnimation": false, + "CSSConditionRule": false, + "CSSContainerRule": false, + "CSSCounterStyleRule": false, + "CSSFontFaceRule": false, + "CSSFontFeatureValuesRule": false, + "CSSFontPaletteValuesRule": false, + "CSSFunctionDeclarations": false, + "CSSFunctionDescriptors": false, + "CSSFunctionRule": false, + "CSSGroupingRule": false, + "CSSImageValue": false, + "CSSImportRule": false, + "CSSKeyframeRule": false, + "CSSKeyframesRule": false, + "CSSKeywordValue": false, + "CSSLayerBlockRule": false, + "CSSLayerStatementRule": false, + "CSSMarginRule": false, + "CSSMathClamp": false, + "CSSMathInvert": false, + "CSSMathMax": false, + "CSSMathMin": false, + "CSSMathNegate": false, + "CSSMathProduct": false, + "CSSMathSum": false, + "CSSMathValue": false, + "CSSMatrixComponent": false, + "CSSMediaRule": false, + "CSSNamespaceRule": false, + "CSSNestedDeclarations": false, + "CSSNumericArray": false, + "CSSNumericValue": false, + "CSSPageDescriptors": false, + "CSSPageRule": false, + "CSSPerspective": false, + "CSSPositionTryDescriptors": false, + "CSSPositionTryRule": false, + "CSSPositionValue": false, + "CSSPropertyRule": false, + "CSSRotate": false, + "CSSRule": false, + "CSSRuleList": false, + "CSSScale": false, + "CSSScopeRule": false, + "CSSSkew": false, + "CSSSkewX": false, + "CSSSkewY": false, + "CSSStartingStyleRule": false, + "CSSStyleDeclaration": false, + "CSSStyleRule": false, + "CSSStyleSheet": false, + "CSSStyleValue": false, + "CSSSupportsRule": false, + "CSSTransformComponent": false, + "CSSTransformValue": false, + "CSSTransition": false, + "CSSTranslate": false, + "CSSUnitValue": false, + "CSSUnparsedValue": false, + "CSSVariableReferenceValue": false, + "CSSViewTransitionRule": false, + "currentFrame": false, + "currentTime": false, + "CustomElementRegistry": false, + "customElements": false, + "CustomEvent": false, + "CustomStateSet": false, + "DataTransfer": false, + "DataTransferItem": false, + "DataTransferItemList": false, + "DecompressionStream": false, + "DelayNode": false, + "DelegatedInkTrailPresenter": false, + "DeviceMotionEvent": false, + "DeviceMotionEventAcceleration": false, + "DeviceMotionEventRotationRate": false, + "DeviceOrientationEvent": false, + "devicePixelRatio": false, + "DevicePosture": false, + "DigitalCredential": false, + "dispatchEvent": false, + "DisposableStack": false, + "document": false, + "Document": false, + "DocumentFragment": false, + "documentPictureInPicture": false, + "DocumentPictureInPicture": false, + "DocumentPictureInPictureEvent": false, + "DocumentTimeline": false, + "DocumentType": false, + "DOMError": false, + "DOMException": false, + "DOMImplementation": false, + "DOMMatrix": false, + "DOMMatrixReadOnly": false, + "DOMParser": false, + "DOMPoint": false, + "DOMPointReadOnly": false, + "DOMQuad": false, + "DOMRect": false, + "DOMRectList": false, + "DOMRectReadOnly": false, + "DOMStringList": false, + "DOMStringMap": false, + "DOMTokenList": false, + "DragEvent": false, + "DynamicsCompressorNode": false, + "EditContext": false, + "Element": false, + "ElementInternals": false, + "EncodedAudioChunk": false, + "EncodedVideoChunk": false, + "ErrorEvent": false, + "event": false, + "Event": false, + "EventCounts": false, + "EventSource": false, + "EventTarget": false, + "external": false, + "External": false, + "EyeDropper": false, + "FeaturePolicy": false, + "FederatedCredential": false, + "fence": false, + "Fence": false, + "FencedFrameConfig": false, + "fetch": false, + "fetchLater": false, + "FetchLaterResult": false, + "File": false, + "FileList": false, + "FileReader": false, + "FileSystem": false, + "FileSystemDirectoryEntry": false, + "FileSystemDirectoryHandle": false, + "FileSystemDirectoryReader": false, + "FileSystemEntry": false, + "FileSystemFileEntry": false, + "FileSystemFileHandle": false, + "FileSystemHandle": false, + "FileSystemObserver": false, + "FileSystemWritableFileStream": false, + "find": false, + "focus": false, + "FocusEvent": false, + "FontData": false, + "FontFace": false, + "FontFaceSet": false, + "FontFaceSetLoadEvent": false, + "FormData": false, + "FormDataEvent": false, + "FragmentDirective": false, + "frameElement": false, + "frames": false, + "GainNode": false, + "Gamepad": false, + "GamepadAxisMoveEvent": false, + "GamepadButton": false, + "GamepadButtonEvent": false, + "GamepadEvent": false, + "GamepadHapticActuator": false, + "GamepadPose": false, + "Geolocation": false, + "GeolocationCoordinates": false, + "GeolocationPosition": false, + "GeolocationPositionError": false, + "getComputedStyle": false, + "getScreenDetails": false, + "getSelection": false, + "GPU": false, + "GPUAdapter": false, + "GPUAdapterInfo": false, + "GPUBindGroup": false, + "GPUBindGroupLayout": false, + "GPUBuffer": false, + "GPUBufferUsage": false, + "GPUCanvasContext": false, + "GPUColorWrite": false, + "GPUCommandBuffer": false, + "GPUCommandEncoder": false, + "GPUCompilationInfo": false, + "GPUCompilationMessage": false, + "GPUComputePassEncoder": false, + "GPUComputePipeline": false, + "GPUDevice": false, + "GPUDeviceLostInfo": false, + "GPUError": false, + "GPUExternalTexture": false, + "GPUInternalError": false, + "GPUMapMode": false, + "GPUOutOfMemoryError": false, + "GPUPipelineError": false, + "GPUPipelineLayout": false, + "GPUQuerySet": false, + "GPUQueue": false, + "GPURenderBundle": false, + "GPURenderBundleEncoder": false, + "GPURenderPassEncoder": false, + "GPURenderPipeline": false, + "GPUSampler": false, + "GPUShaderModule": false, + "GPUShaderStage": false, + "GPUSupportedFeatures": false, + "GPUSupportedLimits": false, + "GPUTexture": false, + "GPUTextureUsage": false, + "GPUTextureView": false, + "GPUUncapturedErrorEvent": false, + "GPUValidationError": false, + "GravitySensor": false, + "Gyroscope": false, + "HashChangeEvent": false, + "Headers": false, + "HID": false, + "HIDConnectionEvent": false, + "HIDDevice": false, + "HIDInputReportEvent": false, + "Highlight": false, + "HighlightRegistry": false, + "history": false, + "History": false, + "HTMLAllCollection": false, + "HTMLAnchorElement": false, + "HTMLAreaElement": false, + "HTMLAudioElement": false, + "HTMLBaseElement": false, + "HTMLBodyElement": false, + "HTMLBRElement": false, + "HTMLButtonElement": false, + "HTMLCanvasElement": false, + "HTMLCollection": false, + "HTMLDataElement": false, + "HTMLDataListElement": false, + "HTMLDetailsElement": false, + "HTMLDialogElement": false, + "HTMLDirectoryElement": false, + "HTMLDivElement": false, + "HTMLDListElement": false, + "HTMLDocument": false, + "HTMLElement": false, + "HTMLEmbedElement": false, + "HTMLFencedFrameElement": false, + "HTMLFieldSetElement": false, + "HTMLFontElement": false, + "HTMLFormControlsCollection": false, + "HTMLFormElement": false, + "HTMLFrameElement": false, + "HTMLFrameSetElement": false, + "HTMLHeadElement": false, + "HTMLHeadingElement": false, + "HTMLHRElement": false, + "HTMLHtmlElement": false, + "HTMLIFrameElement": false, + "HTMLImageElement": false, + "HTMLInputElement": false, + "HTMLLabelElement": false, + "HTMLLegendElement": false, + "HTMLLIElement": false, + "HTMLLinkElement": false, + "HTMLMapElement": false, + "HTMLMarqueeElement": false, + "HTMLMediaElement": false, + "HTMLMenuElement": false, + "HTMLMetaElement": false, + "HTMLMeterElement": false, + "HTMLModElement": false, + "HTMLObjectElement": false, + "HTMLOListElement": false, + "HTMLOptGroupElement": false, + "HTMLOptionElement": false, + "HTMLOptionsCollection": false, + "HTMLOutputElement": false, + "HTMLParagraphElement": false, + "HTMLParamElement": false, + "HTMLPictureElement": false, + "HTMLPreElement": false, + "HTMLProgressElement": false, + "HTMLQuoteElement": false, + "HTMLScriptElement": false, + "HTMLSelectedContentElement": false, + "HTMLSelectElement": false, + "HTMLSlotElement": false, + "HTMLSourceElement": false, + "HTMLSpanElement": false, + "HTMLStyleElement": false, + "HTMLTableCaptionElement": false, + "HTMLTableCellElement": false, + "HTMLTableColElement": false, + "HTMLTableElement": false, + "HTMLTableRowElement": false, + "HTMLTableSectionElement": false, + "HTMLTemplateElement": false, + "HTMLTextAreaElement": false, + "HTMLTimeElement": false, + "HTMLTitleElement": false, + "HTMLTrackElement": false, + "HTMLUListElement": false, + "HTMLUnknownElement": false, + "HTMLVideoElement": false, + "IDBCursor": false, + "IDBCursorWithValue": false, + "IDBDatabase": false, + "IDBFactory": false, + "IDBIndex": false, + "IDBKeyRange": false, + "IDBObjectStore": false, + "IDBOpenDBRequest": false, + "IDBRecord": false, + "IDBRequest": false, + "IDBTransaction": false, + "IDBVersionChangeEvent": false, + "IdentityCredential": false, + "IdentityCredentialError": false, + "IdentityProvider": false, + "IdleDeadline": false, + "IdleDetector": false, + "IIRFilterNode": false, + "Image": false, + "ImageBitmap": false, + "ImageBitmapRenderingContext": false, + "ImageCapture": false, + "ImageData": false, + "ImageDecoder": false, + "ImageTrack": false, + "ImageTrackList": false, + "indexedDB": false, + "Ink": false, + "innerHeight": false, + "innerWidth": false, + "InputDeviceCapabilities": false, + "InputDeviceInfo": false, + "InputEvent": false, + "IntegrityViolationReportBody": false, + "InterestEvent": false, + "IntersectionObserver": false, + "IntersectionObserverEntry": false, + "isSecureContext": false, + "Keyboard": false, + "KeyboardEvent": false, + "KeyboardLayoutMap": false, + "KeyframeEffect": false, + "LanguageDetector": false, + "LargestContentfulPaint": false, + "LaunchParams": false, + "launchQueue": false, + "LaunchQueue": false, + "LayoutShift": false, + "LayoutShiftAttribution": false, + "length": false, + "LinearAccelerationSensor": false, + "localStorage": false, + "location": true, + "Location": false, + "locationbar": false, + "Lock": false, + "LockManager": false, + "matchMedia": false, + "MathMLElement": false, + "MediaCapabilities": false, + "MediaCapabilitiesInfo": false, + "MediaDeviceInfo": false, + "MediaDevices": false, + "MediaElementAudioSourceNode": false, + "MediaEncryptedEvent": false, + "MediaError": false, + "MediaKeyError": false, + "MediaKeyMessageEvent": false, + "MediaKeys": false, + "MediaKeySession": false, + "MediaKeyStatusMap": false, + "MediaKeySystemAccess": false, + "MediaList": false, + "MediaMetadata": false, + "MediaQueryList": false, + "MediaQueryListEvent": false, + "MediaRecorder": false, + "MediaRecorderErrorEvent": false, + "MediaSession": false, + "MediaSource": false, + "MediaSourceHandle": false, + "MediaStream": false, + "MediaStreamAudioDestinationNode": false, + "MediaStreamAudioSourceNode": false, + "MediaStreamEvent": false, + "MediaStreamTrack": false, + "MediaStreamTrackAudioSourceNode": false, + "MediaStreamTrackAudioStats": false, + "MediaStreamTrackEvent": false, + "MediaStreamTrackGenerator": false, + "MediaStreamTrackProcessor": false, + "MediaStreamTrackVideoStats": false, + "menubar": false, + "MessageChannel": false, + "MessageEvent": false, + "MessagePort": false, + "MIDIAccess": false, + "MIDIConnectionEvent": false, + "MIDIInput": false, + "MIDIInputMap": false, + "MIDIMessageEvent": false, + "MIDIOutput": false, + "MIDIOutputMap": false, + "MIDIPort": false, + "MimeType": false, + "MimeTypeArray": false, + "model": false, + "ModelGenericSession": false, + "ModelManager": false, + "MouseEvent": false, + "moveBy": false, + "moveTo": false, + "MutationEvent": false, + "MutationObserver": false, + "MutationRecord": false, + "name": false, + "NamedNodeMap": false, + "NavigateEvent": false, + "navigation": false, + "Navigation": false, + "NavigationActivation": false, + "NavigationCurrentEntryChangeEvent": false, + "NavigationDestination": false, + "NavigationHistoryEntry": false, + "NavigationPrecommitController": false, + "NavigationPreloadManager": false, + "NavigationTransition": false, + "navigator": false, + "Navigator": false, + "NavigatorLogin": false, + "NavigatorManagedData": false, + "NavigatorUAData": false, + "NetworkInformation": false, + "Node": false, + "NodeFilter": false, + "NodeIterator": false, + "NodeList": false, + "Notification": false, + "NotifyPaintEvent": false, + "NotRestoredReasonDetails": false, + "NotRestoredReasons": false, + "Observable": false, + "OfflineAudioCompletionEvent": false, + "OfflineAudioContext": false, + "offscreenBuffering": false, + "OffscreenCanvas": false, + "OffscreenCanvasRenderingContext2D": false, + "onabort": true, + "onafterprint": true, + "onanimationcancel": true, + "onanimationend": true, + "onanimationiteration": true, + "onanimationstart": true, + "onappinstalled": true, + "onauxclick": true, + "onbeforeinput": true, + "onbeforeinstallprompt": true, + "onbeforematch": true, + "onbeforeprint": true, + "onbeforetoggle": true, + "onbeforeunload": true, + "onbeforexrselect": true, + "onblur": true, + "oncancel": true, + "oncanplay": true, + "oncanplaythrough": true, + "onchange": true, + "onclick": true, + "onclose": true, + "oncommand": true, + "oncontentvisibilityautostatechange": true, + "oncontextlost": true, + "oncontextmenu": true, + "oncontextrestored": true, + "oncopy": true, + "oncuechange": true, + "oncut": true, + "ondblclick": true, + "ondevicemotion": true, + "ondeviceorientation": true, + "ondeviceorientationabsolute": true, + "ondrag": true, + "ondragend": true, + "ondragenter": true, + "ondragleave": true, + "ondragover": true, + "ondragstart": true, + "ondrop": true, + "ondurationchange": true, + "onemptied": true, + "onended": true, + "onerror": true, + "onfocus": true, + "onformdata": true, + "ongamepadconnected": true, + "ongamepaddisconnected": true, + "ongotpointercapture": true, + "onhashchange": true, + "oninput": true, + "oninvalid": true, + "onkeydown": true, + "onkeypress": true, + "onkeyup": true, + "onlanguagechange": true, + "onload": true, + "onloadeddata": true, + "onloadedmetadata": true, + "onloadstart": true, + "onlostpointercapture": true, + "onmessage": true, + "onmessageerror": true, + "onmousedown": true, + "onmouseenter": true, + "onmouseleave": true, + "onmousemove": true, + "onmouseout": true, + "onmouseover": true, + "onmouseup": true, + "onmousewheel": true, + "onoffline": true, + "ononline": true, + "onpagehide": true, + "onpagereveal": true, + "onpageshow": true, + "onpageswap": true, + "onpaste": true, + "onpause": true, + "onplay": true, + "onplaying": true, + "onpointercancel": true, + "onpointerdown": true, + "onpointerenter": true, + "onpointerleave": true, + "onpointermove": true, + "onpointerout": true, + "onpointerover": true, + "onpointerrawupdate": true, + "onpointerup": true, + "onpopstate": true, + "onprogress": true, + "onratechange": true, + "onrejectionhandled": true, + "onreset": true, + "onresize": true, + "onscroll": true, + "onscrollend": true, + "onscrollsnapchange": true, + "onscrollsnapchanging": true, + "onsearch": true, + "onsecuritypolicyviolation": true, + "onseeked": true, + "onseeking": true, + "onselect": true, + "onselectionchange": true, + "onselectstart": true, + "onslotchange": true, + "onstalled": true, + "onstorage": true, + "onsubmit": true, + "onsuspend": true, + "ontimeupdate": true, + "ontoggle": true, + "ontransitioncancel": true, + "ontransitionend": true, + "ontransitionrun": true, + "ontransitionstart": true, + "onunhandledrejection": true, + "onunload": true, + "onvolumechange": true, + "onwaiting": true, + "onwheel": true, + "open": false, + "opener": false, + "Option": false, + "OrientationSensor": false, + "origin": false, + "originAgentCluster": false, + "OscillatorNode": false, + "OTPCredential": false, + "outerHeight": false, + "outerWidth": false, + "OverconstrainedError": false, + "PageRevealEvent": false, + "PageSwapEvent": false, + "PageTransitionEvent": false, + "pageXOffset": false, + "pageYOffset": false, + "PannerNode": false, + "parent": false, + "PasswordCredential": false, + "Path2D": false, + "PaymentAddress": false, + "PaymentManager": false, + "PaymentMethodChangeEvent": false, + "PaymentRequest": false, + "PaymentRequestUpdateEvent": false, + "PaymentResponse": false, + "performance": false, + "Performance": false, + "PerformanceElementTiming": false, + "PerformanceEntry": false, + "PerformanceEventTiming": false, + "PerformanceLongAnimationFrameTiming": false, + "PerformanceLongTaskTiming": false, + "PerformanceMark": false, + "PerformanceMeasure": false, + "PerformanceNavigation": false, + "PerformanceNavigationTiming": false, + "PerformanceObserver": false, + "PerformanceObserverEntryList": false, + "PerformancePaintTiming": false, + "PerformanceResourceTiming": false, + "PerformanceScriptTiming": false, + "PerformanceServerTiming": false, + "PerformanceTiming": false, + "PeriodicSyncManager": false, + "PeriodicWave": false, + "Permissions": false, + "PermissionStatus": false, + "PERSISTENT": false, + "personalbar": false, + "PictureInPictureEvent": false, + "PictureInPictureWindow": false, + "Plugin": false, + "PluginArray": false, + "PointerEvent": false, + "PopStateEvent": false, + "postMessage": false, + "Presentation": false, + "PresentationAvailability": false, + "PresentationConnection": false, + "PresentationConnectionAvailableEvent": false, + "PresentationConnectionCloseEvent": false, + "PresentationConnectionList": false, + "PresentationReceiver": false, + "PresentationRequest": false, + "PressureObserver": false, + "PressureRecord": false, + "print": false, + "ProcessingInstruction": false, + "Profiler": false, + "ProgressEvent": false, + "PromiseRejectionEvent": false, + "prompt": false, + "ProtectedAudience": false, + "PublicKeyCredential": false, + "PushManager": false, + "PushSubscription": false, + "PushSubscriptionOptions": false, + "queryLocalFonts": false, + "queueMicrotask": false, + "QuotaExceededError": false, + "RadioNodeList": false, + "Range": false, + "ReadableByteStreamController": false, + "ReadableStream": false, + "ReadableStreamBYOBReader": false, + "ReadableStreamBYOBRequest": false, + "ReadableStreamDefaultController": false, + "ReadableStreamDefaultReader": false, + "registerProcessor": false, + "RelativeOrientationSensor": false, + "RemotePlayback": false, + "removeEventListener": false, + "ReportBody": false, + "reportError": false, + "ReportingObserver": false, + "Request": false, + "requestAnimationFrame": false, + "requestIdleCallback": false, + "resizeBy": false, + "ResizeObserver": false, + "ResizeObserverEntry": false, + "ResizeObserverSize": false, + "resizeTo": false, + "Response": false, + "RestrictionTarget": false, + "RTCCertificate": false, + "RTCDataChannel": false, + "RTCDataChannelEvent": false, + "RTCDtlsTransport": false, + "RTCDTMFSender": false, + "RTCDTMFToneChangeEvent": false, + "RTCEncodedAudioFrame": false, + "RTCEncodedVideoFrame": false, + "RTCError": false, + "RTCErrorEvent": false, + "RTCIceCandidate": false, + "RTCIceTransport": false, + "RTCPeerConnection": false, + "RTCPeerConnectionIceErrorEvent": false, + "RTCPeerConnectionIceEvent": false, + "RTCRtpReceiver": false, + "RTCRtpScriptTransform": false, + "RTCRtpSender": false, + "RTCRtpTransceiver": false, + "RTCSctpTransport": false, + "RTCSessionDescription": false, + "RTCStatsReport": false, + "RTCTrackEvent": false, + "sampleRate": false, + "scheduler": false, + "Scheduler": false, + "Scheduling": false, + "screen": false, + "Screen": false, + "ScreenDetailed": false, + "ScreenDetails": false, + "screenLeft": false, + "ScreenOrientation": false, + "screenTop": false, + "screenX": false, + "screenY": false, + "ScriptProcessorNode": false, + "scroll": false, + "scrollbars": false, + "scrollBy": false, + "ScrollTimeline": false, + "scrollTo": false, + "scrollX": false, + "scrollY": false, + "SecurityPolicyViolationEvent": false, + "Selection": false, + "self": false, + "Sensor": false, + "SensorErrorEvent": false, + "Serial": false, + "SerialPort": false, + "ServiceWorker": false, + "ServiceWorkerContainer": false, + "ServiceWorkerRegistration": false, + "sessionStorage": false, + "setInterval": false, + "setTimeout": false, + "ShadowRoot": false, + "sharedStorage": false, + "SharedStorage": false, + "SharedStorageAppendMethod": false, + "SharedStorageClearMethod": false, + "SharedStorageDeleteMethod": false, + "SharedStorageModifierMethod": false, + "SharedStorageSetMethod": false, + "SharedStorageWorklet": false, + "SharedWorker": false, + "showDirectoryPicker": false, + "showOpenFilePicker": false, + "showSaveFilePicker": false, + "SnapEvent": false, + "SourceBuffer": false, + "SourceBufferList": false, + "SpeechGrammar": false, + "SpeechGrammarList": false, + "SpeechRecognition": false, + "SpeechRecognitionErrorEvent": false, + "SpeechRecognitionEvent": false, + "SpeechRecognitionPhrase": false, + "speechSynthesis": false, + "SpeechSynthesis": false, + "SpeechSynthesisErrorEvent": false, + "SpeechSynthesisEvent": false, + "SpeechSynthesisUtterance": false, + "SpeechSynthesisVoice": false, + "StaticRange": false, + "status": false, + "statusbar": false, + "StereoPannerNode": false, + "stop": false, + "Storage": false, + "StorageBucket": false, + "StorageBucketManager": false, + "StorageEvent": false, + "StorageManager": false, + "structuredClone": false, + "styleMedia": false, + "StylePropertyMap": false, + "StylePropertyMapReadOnly": false, + "StyleSheet": false, + "StyleSheetList": false, + "SubmitEvent": false, + "Subscriber": false, + "SubtleCrypto": false, + "Summarizer": false, + "SuppressedError": false, + "SVGAElement": false, + "SVGAngle": false, + "SVGAnimatedAngle": false, + "SVGAnimatedBoolean": false, + "SVGAnimatedEnumeration": false, + "SVGAnimatedInteger": false, + "SVGAnimatedLength": false, + "SVGAnimatedLengthList": false, + "SVGAnimatedNumber": false, + "SVGAnimatedNumberList": false, + "SVGAnimatedPreserveAspectRatio": false, + "SVGAnimatedRect": false, + "SVGAnimatedString": false, + "SVGAnimatedTransformList": false, + "SVGAnimateElement": false, + "SVGAnimateMotionElement": false, + "SVGAnimateTransformElement": false, + "SVGAnimationElement": false, + "SVGCircleElement": false, + "SVGClipPathElement": false, + "SVGComponentTransferFunctionElement": false, + "SVGDefsElement": false, + "SVGDescElement": false, + "SVGElement": false, + "SVGEllipseElement": false, + "SVGFEBlendElement": false, + "SVGFEColorMatrixElement": false, + "SVGFEComponentTransferElement": false, + "SVGFECompositeElement": false, + "SVGFEConvolveMatrixElement": false, + "SVGFEDiffuseLightingElement": false, + "SVGFEDisplacementMapElement": false, + "SVGFEDistantLightElement": false, + "SVGFEDropShadowElement": false, + "SVGFEFloodElement": false, + "SVGFEFuncAElement": false, + "SVGFEFuncBElement": false, + "SVGFEFuncGElement": false, + "SVGFEFuncRElement": false, + "SVGFEGaussianBlurElement": false, + "SVGFEImageElement": false, + "SVGFEMergeElement": false, + "SVGFEMergeNodeElement": false, + "SVGFEMorphologyElement": false, + "SVGFEOffsetElement": false, + "SVGFEPointLightElement": false, + "SVGFESpecularLightingElement": false, + "SVGFESpotLightElement": false, + "SVGFETileElement": false, + "SVGFETurbulenceElement": false, + "SVGFilterElement": false, + "SVGForeignObjectElement": false, + "SVGGElement": false, + "SVGGeometryElement": false, + "SVGGradientElement": false, + "SVGGraphicsElement": false, + "SVGImageElement": false, + "SVGLength": false, + "SVGLengthList": false, + "SVGLinearGradientElement": false, + "SVGLineElement": false, + "SVGMarkerElement": false, + "SVGMaskElement": false, + "SVGMatrix": false, + "SVGMetadataElement": false, + "SVGMPathElement": false, + "SVGNumber": false, + "SVGNumberList": false, + "SVGPathElement": false, + "SVGPatternElement": false, + "SVGPoint": false, + "SVGPointList": false, + "SVGPolygonElement": false, + "SVGPolylineElement": false, + "SVGPreserveAspectRatio": false, + "SVGRadialGradientElement": false, + "SVGRect": false, + "SVGRectElement": false, + "SVGScriptElement": false, + "SVGSetElement": false, + "SVGStopElement": false, + "SVGStringList": false, + "SVGStyleElement": false, + "SVGSVGElement": false, + "SVGSwitchElement": false, + "SVGSymbolElement": false, + "SVGTextContentElement": false, + "SVGTextElement": false, + "SVGTextPathElement": false, + "SVGTextPositioningElement": false, + "SVGTitleElement": false, + "SVGTransform": false, + "SVGTransformList": false, + "SVGTSpanElement": false, + "SVGUnitTypes": false, + "SVGUseElement": false, + "SVGViewElement": false, + "SyncManager": false, + "TaskAttributionTiming": false, + "TaskController": false, + "TaskPriorityChangeEvent": false, + "TaskSignal": false, + "TEMPORARY": false, + "Text": false, + "TextDecoder": false, + "TextDecoderStream": false, + "TextEncoder": false, + "TextEncoderStream": false, + "TextEvent": false, + "TextFormat": false, + "TextFormatUpdateEvent": false, + "TextMetrics": false, + "TextTrack": false, + "TextTrackCue": false, + "TextTrackCueList": false, + "TextTrackList": false, + "TextUpdateEvent": false, + "TimeEvent": false, + "TimeRanges": false, + "ToggleEvent": false, + "toolbar": false, + "top": false, + "Touch": false, + "TouchEvent": false, + "TouchList": false, + "TrackEvent": false, + "TransformStream": false, + "TransformStreamDefaultController": false, + "TransitionEvent": false, + "Translator": false, + "TreeWalker": false, + "TrustedHTML": false, + "TrustedScript": false, + "TrustedScriptURL": false, + "TrustedTypePolicy": false, + "TrustedTypePolicyFactory": false, + "trustedTypes": false, + "UIEvent": false, + "URL": false, + "URLPattern": false, + "URLSearchParams": false, + "USB": false, + "USBAlternateInterface": false, + "USBConfiguration": false, + "USBConnectionEvent": false, + "USBDevice": false, + "USBEndpoint": false, + "USBInterface": false, + "USBInTransferResult": false, + "USBIsochronousInTransferPacket": false, + "USBIsochronousInTransferResult": false, + "USBIsochronousOutTransferPacket": false, + "USBIsochronousOutTransferResult": false, + "USBOutTransferResult": false, + "UserActivation": false, + "ValidityState": false, + "VideoColorSpace": false, + "VideoDecoder": false, + "VideoEncoder": false, + "VideoFrame": false, + "VideoPlaybackQuality": false, + "viewport": false, + "Viewport": false, + "ViewTimeline": false, + "ViewTransition": false, + "ViewTransitionTypeSet": false, + "VirtualKeyboard": false, + "VirtualKeyboardGeometryChangeEvent": false, + "VisibilityStateEntry": false, + "visualViewport": false, + "VisualViewport": false, + "VTTCue": false, + "VTTRegion": false, + "WakeLock": false, + "WakeLockSentinel": false, + "WaveShaperNode": false, + "WebAssembly": false, + "WebGL2RenderingContext": false, + "WebGLActiveInfo": false, + "WebGLBuffer": false, + "WebGLContextEvent": false, + "WebGLFramebuffer": false, + "WebGLObject": false, + "WebGLProgram": false, + "WebGLQuery": false, + "WebGLRenderbuffer": false, + "WebGLRenderingContext": false, + "WebGLSampler": false, + "WebGLShader": false, + "WebGLShaderPrecisionFormat": false, + "WebGLSync": false, + "WebGLTexture": false, + "WebGLTransformFeedback": false, + "WebGLUniformLocation": false, + "WebGLVertexArrayObject": false, + "WebSocket": false, + "WebSocketError": false, + "WebSocketStream": false, + "WebTransport": false, + "WebTransportBidirectionalStream": false, + "WebTransportDatagramDuplexStream": false, + "WebTransportError": false, + "WebTransportReceiveStream": false, + "WebTransportSendStream": false, + "WGSLLanguageFeatures": false, + "WheelEvent": false, + "when": false, + "window": false, + "Window": false, + "WindowControlsOverlay": false, + "WindowControlsOverlayGeometryChangeEvent": false, + "Worker": false, + "Worklet": false, + "WorkletGlobalScope": false, + "WritableStream": false, + "WritableStreamDefaultController": false, + "WritableStreamDefaultWriter": false, + "XMLDocument": false, + "XMLHttpRequest": false, + "XMLHttpRequestEventTarget": false, + "XMLHttpRequestUpload": false, + "XMLSerializer": false, + "XPathEvaluator": false, + "XPathExpression": false, + "XPathResult": false, + "XRAnchor": false, + "XRAnchorSet": false, + "XRBoundedReferenceSpace": false, + "XRCamera": false, + "XRCPUDepthInformation": false, + "XRDepthInformation": false, + "XRDOMOverlayState": false, + "XRFrame": false, + "XRHand": false, + "XRHitTestResult": false, + "XRHitTestSource": false, + "XRInputSource": false, + "XRInputSourceArray": false, + "XRInputSourceEvent": false, + "XRInputSourcesChangeEvent": false, + "XRJointPose": false, + "XRJointSpace": false, + "XRLayer": false, + "XRLightEstimate": false, + "XRLightProbe": false, + "XRPose": false, + "XRRay": false, + "XRReferenceSpace": false, + "XRReferenceSpaceEvent": false, + "XRRenderState": false, + "XRRigidTransform": false, + "XRSession": false, + "XRSessionEvent": false, + "XRSpace": false, + "XRSystem": false, + "XRTransientInputHitTestResult": false, + "XRTransientInputHitTestSource": false, + "XRView": false, + "XRViewerPose": false, + "XRViewport": false, + "XRWebGLBinding": false, + "XRWebGLDepthInformation": false, + "XRWebGLLayer": false, + "XSLTProcessor": false } }, "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/\\0\\0/;" - } - ] + "message": "'top' is already defined as a built-in global variable." } ] } @@ -100181,28 +10042,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### prefer-regex-literals > invalid +#### no-redeclare > invalid ```js -new window['RegExp']('\\x56\\x78\\x45', ''); +/*globals Array */ ``` ```json { - "languageOptions": { - "globals": { - "window": "readonly" + "options": [ + { + "builtinGlobals": true } - }, + ], "errors": [ { - "messageId": "unexpectedRegExp", - "suggestions": [ - { - "messageId": "replaceWithLiteral", - "output": "/\\x56\\x78\\x45/;" - } - ] + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 16 } ] } @@ -100218,62 +10077,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -### `radix` - -Pass: 33 / 54 (61.1%) -Fail: 21 / 54 (38.9%) -Skip: 0 / 54 (0.0%) - -#### radix > valid +#### no-redeclare > invalid ```js -Number.parseInt(foo); +/*globals parseInt */ ``` ```json { - "languageOptions": { - "globals": { - "Number": "off" + "options": [ + { + "builtinGlobals": true } - } -} -``` - -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ - { - ruleId: 'rule-to-test/radix', - message: 'Missing radix parameter.', - messageId: 'missingRadix', - severity: 1, - nodeType: 'Identifier', - line: 1, - column: 0, - endLine: 1, - endColumn: 20, - suggestions: null - } -] - -1 !== 0 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertValidTestCasePasses (apps/oxlint/dist/index.js) - at runValidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### radix > invalid - -```js -parseInt(); -``` - -```json -{ + ], "errors": [ { - "messageId": "missingParameters" + "message": "'parseInt' is already defined as a built-in global variable.", + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 19 } ] } @@ -100289,58 +10112,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10"); +/*globals foo, Array */ ``` ```json { - "errors": [ + "options": [ { - "messageId": "missingRadix", - "suggestions": [ - { - "messageId": "addRadixParameter10", - "output": "parseInt(\"10\", 10);" - } - ] + "builtinGlobals": true } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### radix > invalid - -```js -parseInt("10",); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2017 - }, + ], "errors": [ { - "messageId": "missingRadix", - "suggestions": [ - { - "messageId": "addRadixParameter10", - "output": "parseInt(\"10\", 10,);" - } - ] + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 16, + "endLine": 1, + "endColumn": 21 } ] } @@ -100356,58 +10147,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt((0, "10")); +/* globals foo, Array, baz */ ``` ```json { - "errors": [ + "options": [ { - "messageId": "missingRadix", - "suggestions": [ - { - "messageId": "addRadixParameter10", - "output": "parseInt((0, \"10\"), 10);" - } - ] + "builtinGlobals": true } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### radix > invalid - -```js -parseInt((0, "10"),); -``` - -```json -{ - "languageOptions": { - "ecmaVersion": 2017 - }, + ], "errors": [ { - "messageId": "missingRadix", - "suggestions": [ - { - "messageId": "addRadixParameter10", - "output": "parseInt((0, \"10\"), 10,);" - } - ] + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 17, + "endLine": 1, + "endColumn": 22 } ] } @@ -100423,17 +10182,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", null); +/*global foo, Array, baz*/ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 15, + "endLine": 1, + "endColumn": 20 } ] } @@ -100449,17 +10217,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", undefined); +/*global array, Array*/ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 17, + "endLine": 1, + "endColumn": 22 } ] } @@ -100475,17 +10252,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", true); +/*globals a,Array*/ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 13, + "endLine": 1, + "endColumn": 18 } ] } @@ -100501,17 +10287,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", "foo"); +/*globals a:readonly, Array:writable */ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 1, + "column": 23, + "endLine": 1, + "endColumn": 28 } ] } @@ -100527,17 +10322,27 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", "123"); + +/*globals Array */ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 2, + "column": 11, + "endLine": 2, + "endColumn": 16 } ] } @@ -100553,17 +10358,27 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", 1); +/*globals +Array */ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 2, + "column": 1, + "endLine": 2, + "endColumn": 6 } ] } @@ -100579,17 +10394,29 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", 37); + +/*globals + +Array*/ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 4, + "column": 1, + "endLine": 4, + "endColumn": 6 } ] } @@ -100605,17 +10432,27 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10", 10.5); +/*globals foo, + Array */ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "errors": [ { - "messageId": "invalidRadix" + "message": "'Array' is already defined as a built-in global variable.", + "line": 2, + "column": 5, + "endLine": 2, + "endColumn": 10 } ] } @@ -100631,26 +10468,31 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt?.("10"); +/*globals a */ ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "languageOptions": { - "ecmaVersion": 2020 + "globals": { + "a": "readonly" + } }, "errors": [ { - "messageId": "missingRadix", - "suggestions": [ - { - "messageId": "addRadixParameter10", - "output": "parseInt?.(\"10\", 10);" - } - ] + "message": "'a' is already defined as a built-in global variable.", + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 12 } ] } @@ -100666,20 +10508,31 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt(); +/*globals a */ ``` ```json { "options": [ - "always" + { + "builtinGlobals": true + } ], + "languageOptions": { + "globals": { + "a": "writable" + } + }, "errors": [ { - "messageId": "missingParameters" + "message": "'a' is already defined as a built-in global variable.", + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 12 } ] } @@ -100695,20 +10548,21 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt(); +/*globals a */ /*globals a */ ``` ```json { - "options": [ - "as-needed" - ], "errors": [ { - "messageId": "missingParameters" + "message": "'a' is already defined.", + "line": 1, + "column": 26, + "endLine": 1, + "endColumn": 27 } ] } @@ -100724,34 +10578,53 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +#### no-redeclare > invalid ```js -parseInt("10"); +/*globals a */ /*globals a */ var a = 0 ``` ```json { "options": [ - "always" + { + "builtinGlobals": true + } ], + "languageOptions": { + "globals": { + "a": "writable" + } + }, "errors": [ { - "messageId": "missingRadix", - "suggestions": [ - { - "messageId": "addRadixParameter10", - "output": "parseInt(\"10\", 10);" - } - ] + "message": "'a' is already defined as a built-in global variable.", + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 12 + }, + { + "message": "'a' is already defined as a built-in global variable.", + "line": 1, + "column": 26, + "endLine": 1, + "endColumn": 27 + }, + { + "message": "'a' is already defined as a built-in global variable.", + "line": 1, + "column": 35, + "endLine": 1, + "endColumn": 36 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 3 errors but had 0: [] -0 !== 1 +0 !== 3 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -100759,24 +10632,31 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### radix > invalid +### `no-restricted-imports` + +Pass: 253 / 254 (99.6%) +Fail: 1 / 254 (0.4%) +Skip: 0 / 254 (0.0%) + +#### no-restricted-imports > valid ```js -parseInt("10"); +import { +AllowedObject, +DisallowedObject, // eslint-disable-line +} from "foo"; ``` ```json { "options": [ - "as-needed" - ], - "errors": [ { - "messageId": "missingRadix", - "suggestions": [ + "paths": [ { - "messageId": "addRadixParameter10", - "output": "parseInt(\"10\", 10);" + "name": "foo", + "importNames": [ + "DisallowedObject" + ] } ] } @@ -100784,128 +10664,108 @@ parseInt("10"); } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-restricted-imports', + message: "'DisallowedObject' import from 'foo' is restricted.", + messageId: 'importName', + severity: 1, + nodeType: 'Identifier', + line: 3, + column: 0, + endLine: 3, + endColumn: 16, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -#### radix > invalid - -```js -parseInt("10", 1); -``` - -```json -{ - "options": [ - "always" - ], - "errors": [ - { - "messageId": "invalidRadix" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js +### `no-setter-return` +Pass: 163 / 164 (99.4%) +Fail: 1 / 164 (0.6%) +Skip: 0 / 164 (0.0%) -#### radix > invalid +#### no-setter-return > valid ```js -parseInt("10", 1); +/* globals Object:off */ Object.defineProperty(foo, 'bar', { set(val) { return 1; } }) ``` ```json -{ - "options": [ - "as-needed" - ], - "errors": [ - { - "messageId": "invalidRadix" - } - ] -} +{} ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-setter-return', + message: 'Setter cannot return a value.', + messageId: 'returnsValue', + severity: 1, + nodeType: 'ReturnStatement', + line: 1, + column: 72, + endLine: 1, + endColumn: 81, + suggestions: null + } +] -0 !== 1 +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js -### `require-atomic-updates` +### `no-shadow` -Pass: 62 / 63 (98.4%) -Fail: 1 / 63 (1.6%) -Skip: 0 / 63 (0.0%) +Pass: 306 / 308 (99.4%) +Fail: 2 / 308 (0.6%) +Skip: 0 / 308 (0.0%) -#### require-atomic-updates > invalid +#### no-shadow > invalid ```js - - async () => { - opts.spec = process.stdin; - try { - const { exit_code } = await run(opts); - process.exitCode = exit_code; - } catch (e) { - process.exitCode = 1; - } - }; - +var Object = 0; ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "languageOptions": { - "sourceType": "commonjs", - "globals": { - "process": "readonly" + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true + } } }, "errors": [ { - "messageId": "nonAtomicObjectUpdate", - "data": { - "value": "process.exitCode", - "object": "process" - }, - "line": 6 - }, - { - "messageId": "nonAtomicObjectUpdate", + "messageId": "noShadowGlobal", "data": { - "value": "process.exitCode", - "object": "process" - }, - "line": 8 + "name": "Object" + } } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] -0 !== 2 +0 !== 1 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) @@ -100913,21 +10773,25 @@ AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] at apps/oxlint/dist/index.js -### `require-unicode-regexp` - -Pass: 76 / 79 (96.2%) -Fail: 3 / 79 (3.8%) -Skip: 0 / 79 (0.0%) - -#### require-unicode-regexp > invalid +#### no-shadow > invalid ```js -new window.RegExp('foo') +var top = 0; ``` ```json { + "options": [ + { + "builtinGlobals": true + } + ], "languageOptions": { + "parserOptions": { + "ecmaFeatures": { + "globalReturn": true + } + }, "globals": { "AbortController": false, "AbortSignal": false, @@ -102102,13 +11966,1572 @@ new window.RegExp('foo') }, "errors": [ { - "messageId": "requireUFlag", - "suggestions": [ - { - "messageId": "addUFlag", - "output": "new window.RegExp('foo', \"u\")" - } - ] + "messageId": "noShadowGlobal", + "data": { + "name": "top" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `no-undef` + +Pass: 88 / 94 (93.6%) +Fail: 6 / 94 (6.4%) +Skip: 0 / 94 (0.0%) + +#### no-undef > valid + +```js +/*global b*/ function f() { b; } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-undef', + message: "'b' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 28, + endLine: 1, + endColumn: 29, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-undef > valid + +```js +/*global b a:false*/ a; function f() { b; a; } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 3: [ + { + ruleId: 'rule-to-test/no-undef', + message: "'a' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 22, + endLine: 1, + endColumn: 23, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-undef', + message: "'b' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 41, + endLine: 1, + endColumn: 42, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-undef', + message: "'a' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 44, + endLine: 1, + endColumn: 45, + suggestions: null + } +] + +3 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-undef > valid + +```js +/*global b:true*/ b++; +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-undef', + message: "'b' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 18, + endLine: 1, + endColumn: 19, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-undef > valid + +```js +/*global b:false*/ function f() { b = 1; } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-undef', + message: "'b' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 34, + endLine: 1, + endColumn: 35, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-undef > valid + +```js +/*global b:false*/ function f() { b++; } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-undef', + message: "'b' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 34, + endLine: 1, + endColumn: 35, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-undef > valid + +```js +/*global b*/ b = 1; +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-undef', + message: "'b' is not defined.", + messageId: 'undef', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 13, + endLine: 1, + endColumn: 14, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `no-unused-expressions` + +Pass: 120 / 124 (96.8%) +Fail: 4 / 124 (3.2%) +Skip: 0 / 124 (0.0%) + +#### no-unused-expressions > invalid + +```js +"use strict"; +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 3, + "sourceType": "script" + }, + "errors": [ + { + "messageId": "unusedExpression" + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-expressions > invalid + +```js +"directive one"; "directive two"; f(); +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 3, + "sourceType": "script" + }, + "errors": [ + { + "messageId": "unusedExpression" + }, + { + "messageId": "unusedExpression" + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-expressions > invalid + +```js +function foo() {"use strict"; return true; } +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 3, + "sourceType": "script" + }, + "errors": [ + { + "messageId": "unusedExpression" + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-expressions > invalid + +```js +function foo() {"directive one"; "directive two"; f(); } +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 3, + "sourceType": "script" + }, + "errors": [ + { + "messageId": "unusedExpression" + }, + { + "messageId": "unusedExpression" + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `no-unused-vars` + +Pass: 407 / 436 (93.3%) +Fail: 29 / 436 (6.7%) +Skip: 0 / 436 (0.0%) + +#### no-unused-vars > valid + +```js +/*exported toaster*/ var toaster = 'great' +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'toaster' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 25, + endLine: 1, + endColumn: 32, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*exported toaster, poster*/ var toaster = 1; poster = 0; +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'toaster' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 33, + endLine: 1, + endColumn: 40, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*exported x*/ var { x } = y +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 6 + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'x' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 21, + endLine: 1, + endColumn: 22, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*exported x, y*/ var { x, y } = z +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 6 + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'x' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 25, + endLine: 1, + endColumn: 26, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'y' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 28, + endLine: 1, + endColumn: 29, + suggestions: null + } +] + +2 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*eslint custom/use-every-a:1*/ var a; +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'a' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 36, + endLine: 1, + endColumn: 37, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*eslint custom/use-every-a:1*/ !function(a) { return 1; } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'a' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 42, + endLine: 1, + endColumn: 43, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*eslint custom/use-every-a:1*/ !function() { var a; return 1 } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'a' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 50, + endLine: 1, + endColumn: 51, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +try {} catch ([firstError]) {} +``` + +```json +{ + "options": [ + { + "destructuredArrayIgnorePattern": "Error$" + } + ], + "languageOptions": { + "ecmaVersion": 2015 + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'firstError' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 15, + endLine: 1, + endColumn: 25, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +try {} catch ({ message, stack }) {} +``` + +```json +{ + "options": [ + { + "caughtErrorsIgnorePattern": "message|stack" + } + ], + "languageOptions": { + "ecmaVersion": 2015 + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'message' is defined but never used. Allowed unused caught errors must match /message|stack/u.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 16, + endLine: 1, + endColumn: 23, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'stack' is defined but never used. Allowed unused caught errors must match /message|stack/u.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 25, + endLine: 1, + endColumn: 30, + suggestions: null + } +] + +2 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +try {} catch ({ errors: [firstError] }) {} +``` + +```json +{ + "options": [ + { + "caughtErrorsIgnorePattern": "Error$" + } + ], + "languageOptions": { + "ecmaVersion": 2015 + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'firstError' is defined but never used. Allowed unused caught errors must match /Error$/u.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 25, + endLine: 1, + endColumn: 35, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +try {} catch ({ foo, ...bar }) { console.log(bar); } +``` + +```json +{ + "options": [ + { + "ignoreRestSiblings": true + } + ], + "languageOptions": { + "ecmaVersion": 2018 + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'foo' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 16, + endLine: 1, + endColumn: 19, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > valid + +```js +/*eslint custom/use-every-a:1*/ !function(b, a) { return 1 } +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 2: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'b' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 42, + endLine: 1, + endColumn: 43, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'a' is defined but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 45, + endLine: 1, + endColumn: 46, + suggestions: null + } +] + +2 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*global a */ +``` + +```json +{ + "errors": [ + { + "messageId": "unusedVar", + "data": { + "varName": "a", + "action": "defined", + "additional": "" + }, + "suggestions": [] + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*exported max*/ var max = 1, min = {min: 1} +``` + +```json +{ + "errors": [ + { + "messageId": "unusedVar", + "data": { + "varName": "min", + "action": "assigned a value", + "additional": "" + }, + "suggestions": [ + { + "output": "/*exported max*/ var max = 1", + "messageId": "removeVar", + "data": { + "varName": "min" + } + } + ] + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'max' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 21, + endLine: 1, + endColumn: 24, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'min' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 30, + endLine: 1, + endColumn: 33, + suggestions: null + } +] + +2 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*exported x*/ var { x, y } = z +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 6 + }, + "errors": [ + { + "messageId": "unusedVar", + "data": { + "varName": "y", + "action": "assigned a value", + "additional": "" + }, + "suggestions": [ + { + "output": "/*exported x*/ var { x } = z", + "messageId": "removeVar", + "data": { + "varName": "y" + } + } + ] + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'x' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 21, + endLine: 1, + endColumn: 22, + suggestions: null + }, + { + ruleId: 'rule-to-test/no-unused-vars', + message: "'y' is assigned a value but never used.", + messageId: 'unusedVar', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 24, + endLine: 1, + endColumn: 25, + suggestions: null + } +] + +2 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js + +/* global foobar, foo, bar */ +foobar; +``` + +```json +{ + "errors": [ + { + "line": 2, + "endLine": 2, + "column": 19, + "endColumn": 22, + "messageId": "unusedVar", + "data": { + "varName": "foo", + "action": "defined", + "additional": "" + } + }, + { + "line": 2, + "endLine": 2, + "column": 24, + "endColumn": 27, + "messageId": "unusedVar", + "data": { + "varName": "bar", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js + +/* global foobar, + foo, + bar + */ +foobar; +``` + +```json +{ + "errors": [ + { + "line": 3, + "column": 4, + "endLine": 3, + "endColumn": 7, + "messageId": "unusedVar", + "data": { + "varName": "foo", + "action": "defined", + "additional": "" + } + }, + { + "line": 4, + "column": 4, + "endLine": 4, + "endColumn": 7, + "messageId": "unusedVar", + "data": { + "varName": "bar", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/* global a$fooz,$foo */ +a$fooz; +``` + +```json +{ + "errors": [ + { + "line": 1, + "column": 18, + "endLine": 1, + "endColumn": 22, + "messageId": "unusedVar", + "data": { + "varName": "$foo", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/* globals a$fooz, $ */ +a$fooz; +``` + +```json +{ + "errors": [ + { + "line": 1, + "column": 20, + "endLine": 1, + "endColumn": 21, + "messageId": "unusedVar", + "data": { + "varName": "$", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*globals $foo*/ +``` + +```json +{ + "errors": [ + { + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 15, + "messageId": "unusedVar", + "data": { + "varName": "$foo", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/* global global*/ +``` + +```json +{ + "errors": [ + { + "line": 1, + "column": 11, + "endLine": 1, + "endColumn": 17, + "messageId": "unusedVar", + "data": { + "varName": "global", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*global foo:true*/ +``` + +```json +{ + "errors": [ + { + "line": 1, + "column": 10, + "endLine": 1, + "endColumn": 13, + "messageId": "unusedVar", + "data": { + "varName": "foo", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*global 変数, 数*/ +変数; +``` + +```json +{ + "errors": [ + { + "line": 1, + "column": 14, + "endLine": 1, + "endColumn": 15, + "messageId": "unusedVar", + "data": { + "varName": "数", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*global 𠮷𩸽, 𠮷*/ +\u{20BB7}\u{29E3D}; +``` + +```json +{ + "languageOptions": { + "ecmaVersion": 6 + }, + "errors": [ + { + "line": 1, + "column": 16, + "endLine": 1, + "endColumn": 18, + "messageId": "unusedVar", + "data": { + "varName": "𠮷", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +/*global foo*/ +``` + +```json +{ + "errors": [ + { + "line": 2, + "column": 1, + "endLine": 2, + "endColumn": 4, + "messageId": "unusedVar", + "data": { + "varName": "foo", + "action": "defined", + "additional": "" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +try {} catch ({ message }) { console.error(message); } +``` + +```json +{ + "options": [ + { + "caughtErrorsIgnorePattern": "message", + "reportUsedIgnorePattern": true + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, + "errors": [ + { + "messageId": "usedIgnoredVar", + "data": { + "varName": "message", + "additional": ". Used caught errors must not match /message/u" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] + +0 !== 1 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +try {} catch ([_a, _b]) { doSomething(_a, _b); } +``` + +```json +{ + "options": [ + { + "caughtErrorsIgnorePattern": "^_", + "reportUsedIgnorePattern": true + } + ], + "languageOptions": { + "ecmaVersion": 6 + }, + "errors": [ + { + "messageId": "usedIgnoredVar", + "data": { + "varName": "_a", + "additional": ". Used caught errors must not match /^_/u" + } + }, + { + "messageId": "usedIgnoredVar", + "data": { + "varName": "_b", + "additional": ". Used caught errors must not match /^_/u" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +try {} catch ([_a, _b]) { doSomething(_a, _b); } +``` + +```json +{ + "options": [ + { + "destructuredArrayIgnorePattern": "^_", + "reportUsedIgnorePattern": true + } + ], + "languageOptions": { + "ecmaVersion": 6 + }, + "errors": [ + { + "messageId": "usedIgnoredVar", + "data": { + "varName": "_a", + "additional": ". Used elements of array destructuring must not match /^_/u" + } + }, + { + "messageId": "usedIgnoredVar", + "data": { + "varName": "_b", + "additional": ". Used elements of array destructuring must not match /^_/u" + } + } + ] +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 0: [] + +0 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-unused-vars > invalid + +```js +try {} catch ({ stack: $ }) { $ = 'Something broke: ' + $; } +``` + +```json +{ + "options": [ + { + "caughtErrorsIgnorePattern": "\\w" + } + ], + "languageOptions": { + "ecmaVersion": 2015 + }, + "errors": [ + { + "message": "'$' is assigned a value but never used. Allowed unused caught errors must match /\\w/u.", + "column": 31, + "endColumn": 32 } ] } @@ -102124,26 +13547,26 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### require-unicode-regexp > invalid +### `no-use-before-define` + +Pass: 346 / 347 (99.7%) +Fail: 1 / 347 (0.3%) +Skip: 0 / 347 (0.0%) + +#### no-use-before-define > invalid ```js -new global.RegExp('foo') +"use strict"; a(); { function a() {} } ``` ```json { - "languageOptions": { - "sourceType": "commonjs" - }, "errors": [ { - "messageId": "requireUFlag", - "suggestions": [ - { - "messageId": "addUFlag", - "output": "new global.RegExp('foo', \"u\")" - } - ] + "messageId": "usedBeforeDefined", + "data": { + "name": "a" + } } ] } @@ -102159,38 +13582,430 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at apps/oxlint/dist/index.js -#### require-unicode-regexp > invalid +### `no-useless-assignment` + +Pass: 83 / 85 (97.6%) +Fail: 2 / 85 (2.4%) +Skip: 0 / 85 (0.0%) + +#### no-useless-assignment > valid ```js -new globalThis.RegExp('foo') +/* exported foo */ + let foo = 'used'; + console.log(foo); + foo = 'unused like but exported with directive'; ``` ```json { "languageOptions": { - "ecmaVersion": 2020 + "sourceType": "script" + } +} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-useless-assignment', + message: 'This assigned value is not used in subsequent statements.', + messageId: 'unnecessaryAssignment', + severity: 1, + nodeType: 'Identifier', + line: 4, + column: 12, + endLine: 4, + endColumn: 15, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### no-useless-assignment > valid + +```js +/*eslint test/use-a:1*/ + let a = 'used'; + console.log(a); + a = 'unused like but marked by markVariableAsUsed()'; + +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-useless-assignment', + message: 'This assigned value is not used in subsequent statements.', + messageId: 'unnecessaryAssignment', + severity: 1, + nodeType: 'Identifier', + line: 4, + column: 8, + endLine: 4, + endColumn: 9, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `no-useless-backreference` + +Pass: 189 / 190 (99.5%) +Fail: 1 / 190 (0.5%) +Skip: 0 / 190 (0.0%) + +#### no-useless-backreference > valid + +```js +/* globals RegExp:off */ new RegExp('\\1(a)'); +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/no-useless-backreference', + message: "Backreference '\\1' will be ignored. It references group '(a)' which appears later in the pattern.", + messageId: 'forward', + severity: 1, + nodeType: 'NewExpression', + line: 1, + column: 25, + endLine: 1, + endColumn: 45, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `prefer-const` + +Pass: 134 / 138 (97.1%) +Fail: 2 / 138 (1.4%) +Skip: 2 / 138 (1.4%) + +#### prefer-const > valid + +```js +/*exported a*/ let a = 1 +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/prefer-const', + message: "'a' is never reassigned. Use 'const' instead.", + messageId: 'useConst', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 19, + endLine: 1, + endColumn: 20, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### prefer-const > invalid + +```js +/*eslint no-undef-init:error*/ let foo = undefined; +``` + +```json +{ + "output": "/*eslint no-undef-init:error*/ const foo = undefined;", + "errors": 2 +} +``` + +AssertionError [ERR_ASSERTION]: Should have 2 errors but had 1: [ + { + ruleId: 'rule-to-test/prefer-const', + message: "'foo' is never reassigned. Use 'const' instead.", + messageId: 'useConst', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 35, + endLine: 1, + endColumn: 38, + suggestions: null + } +] + +1 !== 2 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) + at runInvalidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `prefer-exponentiation-operator` + +Pass: 163 / 167 (97.6%) +Fail: 1 / 167 (0.6%) +Skip: 3 / 167 (1.8%) + +#### prefer-exponentiation-operator > valid + +```js +/* globals Math:off*/ Math.pow(a, b) +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/prefer-exponentiation-operator', + message: "Use the '**' operator instead of 'Math.pow'.", + messageId: 'useExponentiation', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 22, + endLine: 1, + endColumn: 36, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `prefer-object-has-own` + +Pass: 91 / 92 (98.9%) +Fail: 1 / 92 (1.1%) +Skip: 0 / 92 (0.0%) + +#### prefer-object-has-own > valid + +```js +/* global Object: off */ + ({}).hasOwnProperty.call(a, b); +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/prefer-object-has-own', + message: "Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.", + messageId: 'useHasOwn', + severity: 1, + nodeType: 'MemberExpression', + line: 2, + column: 8, + endLine: 2, + endColumn: 38, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `prefer-object-spread` + +Pass: 84 / 87 (96.6%) +Fail: 1 / 87 (1.1%) +Skip: 2 / 87 (2.3%) + +#### prefer-object-spread > invalid + +```js +const test = Object.assign({ ...bar }, { + weird + }) +``` + +```json +{ + "output": "const test = {...bar, weird\n }", + "languageOptions": { + "sourceType": "script" }, "errors": [ { - "messageId": "requireUFlag", - "suggestions": [ - { - "messageId": "addUFlag", - "output": "new globalThis.RegExp('foo', \"u\")" - } - ] + "messageId": "useSpreadMessage", + "line": 1, + "column": 14 } ] } ``` -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] +Error: `tokensAndComments` is not correctly ordered + at debugCheckTokensAndComments (apps/oxlint/dist/lint.js) + at initTokensAndComments (apps/oxlint/dist/lint.js) + at Object.getTokenBefore (apps/oxlint/dist/lint.js) + at getStartWithSpaces (apps/oxlint/conformance/submodules/eslint/lib/rules/prefer-object-spread.js:143:32) -0 !== 1 + +### `prefer-regex-literals` + +Pass: 249 / 251 (99.2%) +Fail: 2 / 251 (0.8%) +Skip: 0 / 251 (0.0%) + +#### prefer-regex-literals > valid + +```js +/* globals String:off */ new RegExp(String.raw`a`); +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/prefer-regex-literals', + message: "Use a regular expression literal instead of the 'RegExp' constructor.", + messageId: 'unexpectedRegExp', + severity: 1, + nodeType: 'NewExpression', + line: 1, + column: 25, + endLine: 1, + endColumn: 50, + suggestions: null + } +] + +1 !== 0 at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +#### prefer-regex-literals > valid + +```js +/* globals RegExp:off */ new RegExp('a'); +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/prefer-regex-literals', + message: "Use a regular expression literal instead of the 'RegExp' constructor.", + messageId: 'unexpectedRegExp', + severity: 1, + nodeType: 'NewExpression', + line: 1, + column: 25, + endLine: 1, + endColumn: 40, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) + at apps/oxlint/dist/index.js + + +### `radix` + +Pass: 53 / 54 (98.1%) +Fail: 1 / 54 (1.9%) +Skip: 0 / 54 (0.0%) + +#### radix > valid + +```js +/* globals parseInt:off */ parseInt(foo); +``` + +```json +{} +``` + +AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ + { + ruleId: 'rule-to-test/radix', + message: 'Missing radix parameter.', + messageId: 'missingRadix', + severity: 1, + nodeType: 'Identifier', + line: 1, + column: 27, + endLine: 1, + endColumn: 40, + suggestions: null + } +] + +1 !== 0 + + at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) + at assertValidTestCasePasses (apps/oxlint/dist/index.js) + at runValidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js @@ -103193,64 +15008,6 @@ AssertionError [ERR_ASSERTION]: messageId 'function' does not match expected mes at apps/oxlint/dist/index.js -### `symbol-description` - -Pass: 6 / 8 (75.0%) -Fail: 2 / 8 (25.0%) -Skip: 0 / 8 (0.0%) - -#### symbol-description > invalid - -```js -Symbol(); -``` - -```json -{ - "errors": [ - { - "messageId": "expected" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - -#### symbol-description > invalid - -```js -Symbol(); Symbol = function () {}; -``` - -```json -{ - "errors": [ - { - "messageId": "expected" - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - - ### `unicode-bom` Pass: 4 / 7 (57.1%) @@ -103354,44 +15111,3 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] at runInvalidTestCase (apps/oxlint/dist/index.js) at apps/oxlint/dist/index.js - -### `valid-typeof` - -Pass: 53 / 54 (98.1%) -Fail: 1 / 54 (1.9%) -Skip: 0 / 54 (0.0%) - -#### valid-typeof > invalid - -```js -if (typeof bar !== undefined) {} -``` - -```json -{ - "errors": [ - { - "messageId": "invalidValue", - "suggestions": [ - { - "messageId": "suggestString", - "data": { - "type": "undefined" - }, - "output": "if (typeof bar !== \"undefined\") {}" - } - ] - } - ] -} -``` - -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] - -0 !== 1 - - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) - at runInvalidTestCase (apps/oxlint/dist/index.js) - at apps/oxlint/dist/index.js - diff --git a/apps/oxlint/conformance/src/rule_tester.ts b/apps/oxlint/conformance/src/rule_tester.ts index ba41a8ff2118a..8511e8463754d 100644 --- a/apps/oxlint/conformance/src/rule_tester.ts +++ b/apps/oxlint/conformance/src/rule_tester.ts @@ -2,6 +2,8 @@ * Shim of `RuleTester` class. */ +// @ts-expect-error - internal module of ESLint with no types +import eslintGlobals from "../submodules/eslint/conf/globals.js"; import { createRequire } from "node:module"; import { RuleTester } from "#oxlint"; import { describe, it } from "./capture.ts"; @@ -16,12 +18,23 @@ type TestCases = RuleTester.TestCases; type ValidTestCase = RuleTester.ValidTestCase; type InvalidTestCase = RuleTester.InvalidTestCase; type LanguageOptions = RuleTester.LanguageOptions; +type Globals = RuleTester.Globals; export type TestCase = ValidTestCase | InvalidTestCase; -type LanguageOptionsWithParser = LanguageOptions & { parser?: unknown }; - const { isArray } = Array; +/** + * Language options config, with `parser` and `ecmaVersion` properties. + * This is a copy of `RuleTester`'s internal type of the same name. + */ +interface LanguageOptionsInternal extends LanguageOptions { + ecmaVersion?: number | "latest"; + parser?: { + parse?: (code: string, options?: Record) => unknown; + parseForESLint?: (code: string, options?: Record) => unknown; + }; +} + // Get `@typescript-eslint/parser` module. // Load the instance which would be loaded by files in ESLint's `tests/lib/rules` directory. const require = createRequire(ESLINT_RULES_TESTS_DIR_PATH); @@ -93,7 +106,7 @@ function modifyTestCase(test: TestCase): void { test.eslintCompat = true; // Ignore parsing errors. ESLint's test cases include invalid code. - const languageOptions = { ...test.languageOptions } as LanguageOptionsWithParser; + const languageOptions = { ...test.languageOptions } as LanguageOptionsInternal; test.languageOptions = languageOptions; const parserOptions = { ...languageOptions.parserOptions }; @@ -101,6 +114,13 @@ function modifyTestCase(test: TestCase): void { parserOptions.ignoreNonFatalErrors = true; + // Build the globals object + languageOptions.globals = getGlobals(languageOptions); + + // Disable env - we're providing all globals explicitly via `languageOptions.globals`. + // Setting `env` to empty object prevents the default "builtin" env from being applied. + languageOptions.env = {}; + // If test case uses `@typescript-eslint/parser` as parser, set `parserOptions.lang = "ts"` if (languageOptions.parser === tsEslintParser) { delete languageOptions.parser; @@ -108,4 +128,74 @@ function modifyTestCase(test: TestCase): void { } } +/** + * Combine globals from test case and ESLint's preset based on `languageOptions.ecmaVersion` + * and `languageOptions.sourceType`. + * @param languageOptions - Language options from test case + * @returns Globals object + */ +function getGlobals(languageOptions: LanguageOptionsInternal): Globals { + const globals: Globals = {}; + + // Set up globals to match ESLint's behavior. + // ESLint sets globals based on `languageOptions.ecmaVersion` and `languageOptions.sourceType`. + // See `applyLanguageOptions` in ESLint `lib/languages/js/source-code/source-code.js`. + // + // By default (when no `ecmaVersion` is specified), ESLint uses "latest" which maps to the + // most recent ES version globals. This is equivalent to TS-ESLint's `lib: ["esnext"]`. + const ecmaVersionPreset = getGlobalsForEcmaVersion(languageOptions.ecmaVersion); + + addGlobalsFromPreset(ecmaVersionPreset, globals); + + // Add CommonJS globals if `sourceType` is `"commonjs"` + if (languageOptions.sourceType === "commonjs") { + addGlobalsFromPreset(eslintGlobals.commonjs, globals); + } + + // Add any existing globals from the test case (test case globals take priority) + Object.assign(globals, languageOptions.globals); + + return globals; +} + +/** + * Get globals for a given ECMAScript version. + * This matches ESLint's `getGlobalsForEcmaVersion` function in `source-code.js`. + * + * @param ecmaVersion - ECMAScript version (e.g., 3, 5, 6, 2015, 2020, "latest") + * @returns Globals object for that version + */ +function getGlobalsForEcmaVersion( + ecmaVersion: number | "latest" | undefined, +): Record { + switch (ecmaVersion) { + case 3: + return eslintGlobals.es3; + case 5: + return eslintGlobals.es5; + case undefined: + case "latest": + // "latest" or unspecified = use the most recent ES version (currently es2026) + return eslintGlobals.es2026; + default: + if (ecmaVersion < 2015) { + // Versions 6-14 map to es2015-es2023 (version + 2009) + return eslintGlobals[`es${ecmaVersion + 2009}`]; + } + // es2015 and later use the year directly + return eslintGlobals[`es${ecmaVersion}`]; + } +} + +/** + * Add vars to `globals` from a globals preset. + * @param preset - Globals preset object + * @param globals - Globals object to add to + */ +function addGlobalsFromPreset(preset: Record, globals: Globals) { + for (const name in preset) { + globals[name] = preset[name] ? "writable" : "readonly"; + } +} + export { RuleTesterShim as RuleTester }; diff --git a/apps/oxlint/src-js/plugins/scope.ts b/apps/oxlint/src-js/plugins/scope.ts index 4f501f389b0ca..d687635da9928 100644 --- a/apps/oxlint/src-js/plugins/scope.ts +++ b/apps/oxlint/src-js/plugins/scope.ts @@ -2,14 +2,18 @@ * `SourceCode` methods related to scopes. */ -import { - analyze, - type AnalyzeOptions, - type ScopeManager as TSESLintScopeManager, -} from "@typescript-eslint/scope-manager"; +import { analyze, Variable as TSVariable } from "@typescript-eslint/scope-manager"; import { ast, initAst } from "./source_code.ts"; -import { typeAssertIs, debugAssertIsNonNull } from "../utils/asserts.ts"; - +import { globals, envs, initGlobals } from "./globals.ts"; +import { ENVS } from "../generated/envs.ts"; +import { debugAssert, debugAssertIsNonNull, typeAssertIs } from "../utils/asserts.ts"; + +import type { + AnalyzeOptions, + ScopeManager as TSESLintScopeManager, + Scope as TSScope, +} from "@typescript-eslint/scope-manager"; +import type { Writable } from "type-fest"; import type * as ESTree from "../generated/types.d.ts"; import type { SetNullable } from "../utils/types.ts"; @@ -100,7 +104,7 @@ const analyzeOptions: SetNullable = { globalReturn: false, jsxFragmentName: null, jsxPragma: "React", - lib: ["esnext"], + lib: [], sourceType: null, }; @@ -113,10 +117,120 @@ function initTsScopeManager() { analyzeOptions.sourceType = ast.sourceType; typeAssertIs(analyzeOptions); - // The effectiveness of this assertion depends on our alignment with ESTree. - // It could eventually be removed as we align the remaining corner cases and the typegen. // @ts-expect-error - TODO: Our types don't quite align yet tsScopeManager = analyze(ast, analyzeOptions); + + // Add globals from configuration and resolve references + addGlobals(); +} + +/** + * Add global variables from configuration and resolve references to them. + * + * With `lib: []`, no lib globals are created during analysis, so all global references + * end up in `globalScope.through`. This function creates Variables for each configured + * global and resolves references from `through`. + * + * This replicates ESLint's `scopeManager.addGlobals()` behavior. + */ +function addGlobals(): void { + debugAssertIsNonNull(tsScopeManager); + const globalScope = tsScopeManager.scopes[0]; + + // Ensure globals are initialized + if (globals === null) initGlobals(); + debugAssertIsNonNull(globals); + debugAssertIsNonNull(envs); + + // Create variables for enabled `envs`. + // All properties of `envs` are `true`, so no need to check the values. + // `envs` from JSON, so we can use simple `for..in` loop. + for (const envName in envs) { + // Get vars defined for this env. + // Rust side code ignores invalid env names, and passes them through to JS, + // so we can't assume they're valid here. But debug assert they're valid for tests. + const preset = ENVS.get(envName); + debugAssertIsNonNull(preset, `Unknown env: ${envName}`); + if (preset === undefined) continue; + + const { readonly, writable } = preset; + + for (let i = 0, len = readonly.length; i < len; i++) { + const varName = readonly[i]; + // Skip vars that are defined in `globals`. They might be `"off"`. + if (!Object.hasOwn(globals, varName)) createGlobalVariable(varName, globalScope, false); + } + + for (let i = 0, len = writable.length; i < len; i++) { + const varName = writable[i]; + // Skip vars that are defined in `globals`. They might be `"off"`. + if (!Object.hasOwn(globals, varName)) createGlobalVariable(varName, globalScope, true); + } + } + + // Create variables for enabled `globals`. + // `globals` from JSON, so we can use simple `for..in` loop. + for (const name in globals) { + const value = globals[name]; + if (value !== "off") createGlobalVariable(name, globalScope, value === "writable"); + } + + // Resolve references from `through` + (globalScope as Writable).through = globalScope.through.filter((ref) => { + const { name } = ref.identifier; + const variable = globalScope.set.get(name); + if (!variable) return true; // Keep in `through` (truly undefined) + + // Resolve the reference, remove from `through` + ref.resolved = variable; + variable.references.push(ref); + return false; + }); + + // Clean up implicit globals. + // "implicit" contains information about implicit global variables (those created + // implicitly by assigning values to undeclared variables in non-strict code). + // Since we augment the global scope, we need to remove the ones that match declared globals. + // This matches eslint-scope's `__addVariables` behavior. + // @ts-expect-error - `implicit` is private but accessible at runtime + const { implicit } = globalScope; + implicit.variables = implicit.variables.filter((variable: Variable) => { + const { name } = variable; + if (globalScope.set.has(name)) { + implicit.set.delete(name); + return false; + } + return true; + }); + // typescript-eslint uses `leftToBeResolved`, eslint-scope uses `left` + implicit.leftToBeResolved = implicit.leftToBeResolved.filter( + (ref: Reference) => !globalScope.set.has(ref.identifier.name), + ); +} + +/** + * Create a global variable with the given name and add it to the global scope. + * @param name - Var name + * @param globalScope - Global scope object + * @param isWritable - `true` if the variable is writable, `false` otherwise + */ +function createGlobalVariable(name: string, globalScope: TSScope, isWritable: boolean): void { + // Skip vars that already exist in the scope. + // These could be from code declarations or previous envs. + // This is important because typescript-eslint's scope manager doesn't resolve references + // in the global scope for `sourceType: "script"`, so we mustn't overwrite local `var` + // declarations with globals of the same name. + if (globalScope.set.has(name)) return; + + // All globals are type + value + const variable = new TSVariable(name, globalScope); + debugAssert(variable.isTypeVariable, "variable should have `isTypeVariable` set by default"); + debugAssert(variable.isValueVariable, "variable should have `isValueVariable` set by default"); + // @ts-expect-error - not present in types + variable.writeable = isWritable; + + globalScope.set.set(name, variable); + globalScope.variables.push(variable); } /** diff --git a/patches/@typescript-eslint__scope-manager.patch b/patches/@typescript-eslint__scope-manager.patch deleted file mode 100644 index a5f7822980909..0000000000000 --- a/patches/@typescript-eslint__scope-manager.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff --git a/dist/scope/ScopeBase.js b/dist/scope/ScopeBase.js -index 5e07a7c3fb4670b2ce4fa405798d2f27c0084fef..b773c16431a860580dd9408c6127b06256c41c3b 100644 ---- a/dist/scope/ScopeBase.js -+++ b/dist/scope/ScopeBase.js -@@ -8,6 +8,7 @@ const ID_1 = require("../ID"); - const Reference_1 = require("../referencer/Reference"); - const variable_1 = require("../variable"); - const ScopeType_1 = require("./ScopeType"); -+const ImplicitLibVariable_1 = require("../variable/ImplicitLibVariable"); - /** - * Test if scope is strict - */ -@@ -254,6 +255,10 @@ class ScopeBase { - return false; - } - // variable exists on the scope -+ // implicit lib variables should always be resolved statically -+ if (variable instanceof ImplicitLibVariable_1.ImplicitLibVariable) { -+ return true; -+ } - // in module mode, we can statically resolve everything, regardless of its decl type - if (scopeManager.isModule()) { - return true; -@@ -306,6 +311,11 @@ class ScopeBase { - set.set(name, variable); - variables.push(variable); - } -+ else if (variable instanceof ImplicitLibVariable_1.ImplicitLibVariable && -+ nameOrVariable instanceof ImplicitLibVariable_1.ImplicitLibVariable) { -+ variable.isTypeVariable ||= nameOrVariable.isTypeVariable; -+ variable.isValueVariable ||= nameOrVariable.isValueVariable; -+ } - if (def) { - variable.defs.push(def); - this.addDeclaredVariablesOfNode(variable, def.node); -diff --git a/dist/variable/ImplicitLibVariable.d.ts b/dist/variable/ImplicitLibVariable.d.ts -index 6c967519e4bf1ce20c0fc5dd60e5bde2e3ae9ef2..2c4ef8ffb2aba72467d6e7679f042cffabdb03ab 100644 ---- a/dist/variable/ImplicitLibVariable.d.ts -+++ b/dist/variable/ImplicitLibVariable.d.ts -@@ -18,10 +18,10 @@ export declare class ImplicitLibVariable extends ESLintScopeVariable implements - /** - * `true` if the variable is valid in a type context, false otherwise - */ -- readonly isTypeVariable: boolean; -+ isTypeVariable: boolean; - /** - * `true` if the variable is valid in a value context, false otherwise - */ -- readonly isValueVariable: boolean; -+ isValueVariable: boolean; - constructor(scope: Scope, name: string, { eslintImplicitGlobalSetting, isTypeVariable, isValueVariable, writeable, }: ImplicitLibVariableOptions); - } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5213f11229d66..270ae15c6968e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,11 +40,6 @@ catalogs: specifier: 4.0.15 version: 4.0.15 -patchedDependencies: - '@typescript-eslint/scope-manager': - hash: 08ab34b5f27480602bc518186b717a8915aa4d6b2b5df1adc747320ba25b1f8b - path: patches/@typescript-eslint__scope-manager.patch - importers: .: @@ -118,7 +113,7 @@ importers: version: 24.1.0 '@typescript-eslint/scope-manager': specifier: 8.48.1 - version: 8.48.1(patch_hash=08ab34b5f27480602bc518186b717a8915aa4d6b2b5df1adc747320ba25b1f8b) + version: 8.48.1 ajv: specifier: ^6.12.6 version: 6.12.6 @@ -7668,7 +7663,7 @@ snapshots: '@types/whatwg-mimetype@3.0.2': {} - '@typescript-eslint/scope-manager@8.48.1(patch_hash=08ab34b5f27480602bc518186b717a8915aa4d6b2b5df1adc747320ba25b1f8b)': + '@typescript-eslint/scope-manager@8.48.1': dependencies: '@typescript-eslint/types': 8.48.1 '@typescript-eslint/visitor-keys': 8.48.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c100611fcf3e2..ae58b1afc5fa2 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -27,7 +27,4 @@ onlyBuiltDependencies: - "@vscode/vsce-sign@2.0.8" - esbuild@0.25.11 -patchedDependencies: - "@typescript-eslint/scope-manager": patches/@typescript-eslint__scope-manager.patch - verifyDepsBeforeRun: install