@askviraj/linter 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@astrojs/compiler-binding/package.json +10 -10
- package/node_modules/@astrojs/compiler-binding-darwin-arm64/astro.darwin-arm64.node +0 -0
- package/node_modules/@astrojs/compiler-binding-darwin-arm64/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-darwin-x64/astro.darwin-x64.node +0 -0
- package/node_modules/@astrojs/compiler-binding-darwin-x64/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/astro.linux-arm64-gnu.node +0 -0
- package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/astro.linux-arm64-musl.node +0 -0
- package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-linux-x64-gnu/astro.linux-x64-gnu.node +0 -0
- package/node_modules/@astrojs/compiler-binding-linux-x64-gnu/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-linux-x64-musl/astro.linux-x64-musl.node +0 -0
- package/node_modules/@astrojs/compiler-binding-linux-x64-musl/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/astro.win32-arm64-msvc.node +0 -0
- package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/package.json +1 -1
- package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/astro.win32-x64-msvc.node +0 -0
- package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/package.json +1 -1
- package/node_modules/@astrojs/compiler-rs/package.json +2 -2
- package/node_modules/@html-eslint/core/dist/index.js +2 -0
- package/node_modules/@html-eslint/core/dist/index.js.map +1 -1
- package/node_modules/@html-eslint/core/dist/index.mjs +2 -0
- package/node_modules/@html-eslint/core/dist/index.mjs.map +1 -1
- package/node_modules/@html-eslint/core/package.json +3 -3
- package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-attrs.js +140 -16
- package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-id.js +24 -5
- package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-in-head.js +17 -5
- package/node_modules/@html-eslint/eslint-plugin/lib/rules/utils/branch-segments.js +147 -0
- package/node_modules/@html-eslint/eslint-plugin/package.json +7 -7
- package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-attrs.d.ts.map +1 -1
- package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-id.d.ts.map +1 -1
- package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-in-head.d.ts.map +1 -1
- package/node_modules/@html-eslint/eslint-plugin/types/rules/utils/branch-segments.d.ts +71 -0
- package/node_modules/@html-eslint/eslint-plugin/types/rules/utils/branch-segments.d.ts.map +1 -0
- package/node_modules/@html-eslint/parser/lib/branch-annotation.js +282 -0
- package/node_modules/@html-eslint/parser/lib/options.js +47 -2
- package/node_modules/@html-eslint/parser/lib/parser.js +62 -1
- package/node_modules/@html-eslint/parser/lib/template-engine-syntax-preset.js +117 -2
- package/node_modules/@html-eslint/parser/package.json +4 -4
- package/node_modules/@html-eslint/parser/types/branch-annotation.d.ts +93 -0
- package/node_modules/@html-eslint/parser/types/branch-annotation.d.ts.map +1 -0
- package/node_modules/@html-eslint/parser/types/options.d.ts +12 -1
- package/node_modules/@html-eslint/parser/types/options.d.ts.map +1 -1
- package/node_modules/@html-eslint/parser/types/parser.d.ts.map +1 -1
- package/node_modules/@html-eslint/parser/types/template-engine-syntax-preset.d.ts +76 -2
- package/node_modules/@html-eslint/parser/types/template-engine-syntax-preset.d.ts.map +1 -1
- package/node_modules/@html-eslint/template-parser/package.json +3 -3
- package/node_modules/@html-eslint/template-syntax-parser/package.json +3 -3
- package/node_modules/@html-eslint/types/package.json +2 -2
- package/node_modules/@humanwhocodes/momoa/dist/momoa.cjs +14 -1
- package/node_modules/@humanwhocodes/momoa/dist/momoa.js +14 -1
- package/node_modules/@humanwhocodes/momoa/package.json +4 -4
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +115 -71
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +2 -2
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +115 -71
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +2 -2
- package/node_modules/@jridgewell/sourcemap-codec/package.json +2 -1
- package/node_modules/@jridgewell/sourcemap-codec/src/range-mappings.ts +47 -0
- package/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +66 -46
- package/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +27 -11
- package/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +13 -17
- package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.cts +5 -0
- package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.cts.map +1 -0
- package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +5 -0
- package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts.map +1 -0
- package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +1 -1
- package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +1 -1
- package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +2 -0
- package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +1 -1
- package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +2 -0
- package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +1 -1
- package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +4 -2
- package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +1 -1
- package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +4 -2
- package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +1 -1
- package/node_modules/@rviscomi/capo.js/README.md +18 -6
- package/node_modules/@rviscomi/capo.js/dist/adapters/adapter.cjs +8 -0
- package/node_modules/@rviscomi/capo.js/dist/adapters/browser.cjs +26 -2
- package/node_modules/@rviscomi/capo.js/dist/adapters/index.cjs +26 -2
- package/node_modules/@rviscomi/capo.js/dist/analyzer.cjs +300 -263
- package/node_modules/@rviscomi/capo.js/dist/chrome/README.md +5 -1
- package/node_modules/@rviscomi/capo.js/dist/chrome/background.js +1 -1
- package/node_modules/@rviscomi/capo.js/dist/chrome/capo.css +4 -11
- package/node_modules/@rviscomi/capo.js/dist/chrome/capo.html +2 -2
- package/node_modules/@rviscomi/capo.js/dist/chrome/capo.js +3 -3
- package/node_modules/@rviscomi/capo.js/dist/chrome/chrome.js +2 -9
- package/node_modules/@rviscomi/capo.js/dist/chrome/manifest.json +1 -1
- package/node_modules/@rviscomi/capo.js/dist/chrome/options/options.html +1 -1
- package/node_modules/@rviscomi/capo.js/dist/chrome/options/options.js +1 -1
- package/node_modules/@rviscomi/capo.js/dist/chrome/styles/open-props.css +16 -14
- package/node_modules/@rviscomi/capo.js/dist/chrome.zip +0 -0
- package/node_modules/@rviscomi/capo.js/dist/firefox/README.md +5 -1
- package/node_modules/@rviscomi/capo.js/dist/firefox/background.js +1 -1
- package/node_modules/@rviscomi/capo.js/dist/firefox/capo.css +4 -11
- package/node_modules/@rviscomi/capo.js/dist/firefox/capo.html +2 -2
- package/node_modules/@rviscomi/capo.js/dist/firefox/capo.js +3 -3
- package/node_modules/@rviscomi/capo.js/dist/firefox/chrome.js +2 -9
- package/node_modules/@rviscomi/capo.js/dist/firefox/manifest.json +1 -1
- package/node_modules/@rviscomi/capo.js/dist/firefox/options/options.html +1 -1
- package/node_modules/@rviscomi/capo.js/dist/firefox/options/options.js +1 -1
- package/node_modules/@rviscomi/capo.js/dist/firefox/styles/open-props.css +16 -14
- package/node_modules/@rviscomi/capo.js/dist/firefox.zip +0 -0
- package/node_modules/@rviscomi/capo.js/dist/index.cjs +378 -368
- package/node_modules/@rviscomi/capo.js/dist/lib/colors.cjs +1 -1
- package/node_modules/@rviscomi/capo.js/dist/lib/io.cjs +7 -5
- package/node_modules/@rviscomi/capo.js/dist/lib/options.cjs +7 -3
- package/node_modules/@rviscomi/capo.js/dist/lib/rules.cjs +25 -4
- package/node_modules/@rviscomi/capo.js/dist/lib/validation.cjs +326 -358
- package/node_modules/@rviscomi/capo.js/dist/source.zip +0 -0
- package/node_modules/@rviscomi/capo.js/dist/types/adapters/adapter.d.ts +6 -0
- package/node_modules/@rviscomi/capo.js/dist/types/adapters/browser.d.ts +8 -1
- package/node_modules/@rviscomi/capo.js/dist/types/adapters/index.d.ts +2 -2
- package/node_modules/@rviscomi/capo.js/dist/types/analyzer.d.ts +5 -0
- package/node_modules/@rviscomi/capo.js/dist/types/index.d.ts +5 -5
- package/node_modules/@rviscomi/capo.js/dist/types/lib/options.d.ts +1 -1
- package/node_modules/@rviscomi/capo.js/dist/types/lib/rules.d.ts +9 -2
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validation.d.ts +4 -2
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/charset.d.ts +28 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/content-type.d.ts +18 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/csp.d.ts +12 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/default-style.d.ts +18 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/head-elements.d.ts +52 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/http-equiv.d.ts +18 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/origin-trial.d.ts +19 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/preload.d.ts +41 -0
- package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/viewport.d.ts +18 -0
- package/node_modules/@rviscomi/capo.js/dist/types/worker/worker.d.ts +16 -0
- package/node_modules/@rviscomi/capo.js/package.json +8 -12
- package/node_modules/@rviscomi/capo.js/src/adapters/adapter.js +37 -28
- package/node_modules/@rviscomi/capo.js/src/adapters/browser.js +41 -24
- package/node_modules/@rviscomi/capo.js/src/adapters/index.js +3 -3
- package/node_modules/@rviscomi/capo.js/src/adapters/test-suite.js +129 -129
- package/node_modules/@rviscomi/capo.js/src/analyzer.js +20 -25
- package/node_modules/@rviscomi/capo.js/src/extension/README.md +5 -1
- package/node_modules/@rviscomi/capo.js/src/extension/background.js +1 -1
- package/node_modules/@rviscomi/capo.js/src/extension/capo.css +4 -11
- package/node_modules/@rviscomi/capo.js/src/extension/capo.html +2 -2
- package/node_modules/@rviscomi/capo.js/src/extension/capo.js +21 -18
- package/node_modules/@rviscomi/capo.js/src/extension/chrome.js +2 -9
- package/node_modules/@rviscomi/capo.js/src/extension/manifest.json +2 -6
- package/node_modules/@rviscomi/capo.js/src/extension/options/options.html +1 -1
- package/node_modules/@rviscomi/capo.js/src/extension/options.js +16 -16
- package/node_modules/@rviscomi/capo.js/src/extension/styles/open-props.css +16 -14
- package/node_modules/@rviscomi/capo.js/src/index.js +10 -20
- package/node_modules/@rviscomi/capo.js/src/lib/colors.js +17 -17
- package/node_modules/@rviscomi/capo.js/src/lib/io.js +19 -17
- package/node_modules/@rviscomi/capo.js/src/lib/options.js +23 -20
- package/node_modules/@rviscomi/capo.js/src/lib/rules.js +124 -95
- package/node_modules/@rviscomi/capo.js/src/lib/validation.js +57 -857
- package/node_modules/@rviscomi/capo.js/src/lib/validations/content-type.js +94 -0
- package/node_modules/@rviscomi/capo.js/src/lib/validations/csp.js +68 -0
- package/node_modules/@rviscomi/capo.js/src/lib/validations/default-style.js +62 -0
- package/node_modules/@rviscomi/capo.js/src/lib/validations/http-equiv.js +138 -0
- package/node_modules/@rviscomi/capo.js/src/lib/validations/origin-trial.js +80 -0
- package/node_modules/@rviscomi/capo.js/src/lib/validations/preload.js +135 -0
- package/node_modules/@rviscomi/capo.js/src/lib/validations/viewport.js +183 -0
- package/node_modules/@rviscomi/capo.js/src/web/capo.js +12 -12
- package/node_modules/@rviscomi/capo.js/src/worker/worker.js +180 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.d.ts +2 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +68 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +8 -9
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +9 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +64 -55
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +3 -14
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +1 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +14 -39
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +2 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +2 -91
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +3 -113
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +15 -11
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.d.ts +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +2 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +13 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +3 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +97 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +73 -32
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.js +123 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +4 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isConditionalTest.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBody.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBody.js +26 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/README.md +52 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.js +785 -129
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/legacy.js +660 -98
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/package.json +10 -4
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -12
- package/node_modules/@typescript-eslint/parser/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -0
- package/node_modules/@typescript-eslint/parser/package.json +8 -7
- package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +1 -0
- package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +1 -0
- package/node_modules/@typescript-eslint/project-service/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/project-service/package.json +6 -5
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/package.json +8 -7
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +1 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +1 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/package.json +3 -2
- package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +19 -19
- package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +19 -19
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +1 -0
- package/node_modules/@typescript-eslint/type-utils/package.json +9 -8
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +9 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +1 -0
- package/node_modules/@typescript-eslint/types/package.json +3 -5
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +15 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +25 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getImportClausePhaseModifier.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -7
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +20 -20
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/json-schema.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +17 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +1 -0
- package/node_modules/@typescript-eslint/utils/package.json +6 -5
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/package.json +5 -4
- package/node_modules/astro-eslint-parser/lib/index.mjs +13 -37
- package/node_modules/astro-eslint-parser/package.json +7 -7
- package/node_modules/eslint/README.md +1 -6
- package/node_modules/eslint/lib/config/config-loader.js +2 -2
- package/node_modules/eslint/lib/config/config.js +2 -2
- package/node_modules/eslint/lib/eslint/eslint.js +1 -1
- package/node_modules/eslint/lib/languages/js/index.js +1 -1
- package/node_modules/eslint/lib/options.js +2 -2
- package/node_modules/eslint/lib/rules/accessor-pairs.js +1 -51
- package/node_modules/eslint/lib/rules/getter-return.js +4 -45
- package/node_modules/eslint/lib/rules/id-denylist.js +4 -0
- package/node_modules/eslint/lib/rules/id-match.js +2 -1
- package/node_modules/eslint/lib/rules/no-duplicate-imports.js +3 -3
- package/node_modules/eslint/lib/rules/no-loss-of-precision.js +7 -2
- package/node_modules/eslint/lib/rules/no-setter-return.js +1 -89
- package/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +21 -5
- package/node_modules/eslint/lib/rules/no-unused-labels.js +19 -0
- package/node_modules/eslint/lib/rules/no-unused-vars.js +115 -8
- package/node_modules/eslint/lib/rules/no-useless-escape.js +2 -2
- package/node_modules/eslint/lib/rules/no-var.js +87 -1
- package/node_modules/eslint/lib/rules/prefer-template.js +7 -1
- package/node_modules/eslint/lib/rules/utils/ast-utils.js +86 -0
- package/node_modules/eslint/lib/types/index.d.ts +1 -1
- package/node_modules/eslint/lib/types/rules.d.ts +10 -1
- package/node_modules/eslint/messages/config-file-missing.js +2 -2
- package/node_modules/eslint/package.json +9 -3
- package/node_modules/eslint-plugin-astro/README.md +22 -1
- package/node_modules/eslint-plugin-astro/lib/index.mjs +24 -19
- package/node_modules/eslint-plugin-astro/package.json +8 -4
- package/node_modules/eslint-plugin-yml/lib/index.mjs +220 -78
- package/node_modules/eslint-plugin-yml/package.json +5 -4
- package/node_modules/globals/globals.json +75 -0
- package/node_modules/globals/index.d.ts +77 -0
- package/node_modules/globals/package.json +2 -2
- package/node_modules/nanoid/README.md +3 -0
- package/node_modules/nanoid/async/index.browser.cjs +1 -0
- package/node_modules/nanoid/async/index.browser.js +1 -0
- package/node_modules/nanoid/async/index.cjs +4 -1
- package/node_modules/nanoid/async/index.js +4 -1
- package/node_modules/nanoid/async/index.native.js +4 -1
- package/node_modules/nanoid/index.browser.cjs +1 -0
- package/node_modules/nanoid/index.browser.js +1 -0
- package/node_modules/nanoid/index.cjs +1 -0
- package/node_modules/nanoid/index.js +1 -0
- package/node_modules/nanoid/package.json +1 -1
- package/node_modules/picomatch/lib/parse.js +10 -1
- package/node_modules/picomatch/lib/scan.js +30 -18
- package/node_modules/picomatch/package.json +1 -1
- package/node_modules/postcss/README.md +4 -1
- package/node_modules/postcss/lib/list.js +1 -1
- package/node_modules/postcss/lib/previous-map.js +14 -2
- package/node_modules/postcss/lib/processor.js +1 -1
- package/node_modules/postcss/package.json +2 -2
- package/node_modules/postcss-selector-parser/CHANGELOG.md +74 -65
- package/node_modules/postcss-selector-parser/dist/parser.js +25 -3
- package/node_modules/postcss-selector-parser/package.json +6 -3
- package/node_modules/typescript-eslint/dist/compatibility-types.js +1 -0
- package/node_modules/typescript-eslint/dist/config-helper.js +1 -0
- package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +1 -0
- package/node_modules/typescript-eslint/dist/globs.d.ts +123 -0
- package/node_modules/typescript-eslint/dist/globs.js +135 -0
- package/node_modules/typescript-eslint/dist/index.d.ts +12 -0
- package/node_modules/typescript-eslint/dist/index.js +8 -1
- package/node_modules/typescript-eslint/package.json +8 -6
- package/node_modules/vscode-languageserver-textdocument/eslint.config.js +13 -0
- package/node_modules/vscode-languageserver-textdocument/lib/esm/main.d.ts +20 -0
- package/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +26 -0
- package/node_modules/vscode-languageserver-textdocument/lib/umd/main.d.ts +20 -0
- package/node_modules/vscode-languageserver-textdocument/lib/umd/main.js +26 -0
- package/node_modules/vscode-languageserver-textdocument/package.json +2 -2
- package/node_modules/vscode-uri/lib/esm/index.mjs +1 -1
- package/node_modules/vscode-uri/lib/esm/index.mjs.map +1 -1
- package/node_modules/vscode-uri/lib/umd/index.d.ts +5 -0
- package/node_modules/vscode-uri/lib/umd/index.js +1 -1
- package/node_modules/vscode-uri/lib/umd/index.js.map +1 -1
- package/node_modules/vscode-uri/package.json +5 -1
- package/package.json +12 -12
|
@@ -72,15 +72,19 @@ exports.default = (0, util_1.createRule)({
|
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
const scope = context.sourceCode.getScope(node);
|
|
75
|
-
const
|
|
75
|
+
const mergedWithOtherDeclaration = scope.set
|
|
76
76
|
.get(node.id.name)
|
|
77
|
-
?.defs.some(def => def.node
|
|
77
|
+
?.defs.some(def => def.node !== node &&
|
|
78
|
+
(def.node.type === utils_1.AST_NODE_TYPES.ClassDeclaration ||
|
|
79
|
+
def.node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration));
|
|
80
|
+
const isDefaultExport = node.parent.type === utils_1.AST_NODE_TYPES.ExportDefaultDeclaration;
|
|
81
|
+
const shouldSuggest = !mergedWithOtherDeclaration && !isDefaultExport;
|
|
78
82
|
if (extend.length === 0) {
|
|
79
83
|
context.report({
|
|
80
84
|
node: node.id,
|
|
81
85
|
messageId: 'noEmptyInterface',
|
|
82
86
|
data: { option: 'allowInterfaces' },
|
|
83
|
-
...(
|
|
87
|
+
...(shouldSuggest && {
|
|
84
88
|
suggest: ['object', 'unknown'].map(replacement => ({
|
|
85
89
|
messageId: 'replaceEmptyInterface',
|
|
86
90
|
data: { replacement },
|
|
@@ -99,7 +103,7 @@ exports.default = (0, util_1.createRule)({
|
|
|
99
103
|
context.report({
|
|
100
104
|
node: node.id,
|
|
101
105
|
messageId: 'noEmptyInterfaceWithSuper',
|
|
102
|
-
...(
|
|
106
|
+
...(shouldSuggest && {
|
|
103
107
|
suggest: [
|
|
104
108
|
{
|
|
105
109
|
messageId: 'replaceEmptyInterfaceWithSuper',
|
|
@@ -141,3 +145,4 @@ exports.default = (0, util_1.createRule)({
|
|
|
141
145
|
};
|
|
142
146
|
},
|
|
143
147
|
});
|
|
148
|
+
//# sourceMappingURL=no-empty-object-type.js.map
|
|
@@ -112,69 +112,77 @@ exports.default = (0, util_1.createRule)({
|
|
|
112
112
|
const allowForKnownSafeCalls = options.allowForKnownSafeCalls;
|
|
113
113
|
/* eslint-enable @typescript-eslint/no-non-null-assertion */
|
|
114
114
|
return {
|
|
115
|
+
ArrowFunctionExpression(node) {
|
|
116
|
+
if (node.body.type === utils_1.AST_NODE_TYPES.UnaryExpression) {
|
|
117
|
+
checkNode(node.body, node.body);
|
|
118
|
+
}
|
|
119
|
+
},
|
|
115
120
|
ExpressionStatement(node) {
|
|
116
121
|
if (options.ignoreIIFE && isAsyncIife(node)) {
|
|
117
122
|
return;
|
|
118
123
|
}
|
|
119
124
|
const expression = (0, util_1.skipChainExpression)(node.expression);
|
|
120
|
-
|
|
121
|
-
|
|
125
|
+
checkNode(node, expression);
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
function checkNode(node, expression) {
|
|
129
|
+
if (isKnownSafePromiseCall(expression)) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
const { isUnhandled, nonFunctionHandler, promiseArray } = isUnhandledPromise(checker, expression);
|
|
133
|
+
if (isUnhandled) {
|
|
134
|
+
if (promiseArray) {
|
|
135
|
+
context.report({
|
|
136
|
+
node,
|
|
137
|
+
messageId: options.ignoreVoid
|
|
138
|
+
? 'floatingPromiseArrayVoid'
|
|
139
|
+
: 'floatingPromiseArray',
|
|
140
|
+
});
|
|
122
141
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
fix(fixer) {
|
|
143
|
-
if ((0, util_1.isParenthesized)(expression, context.sourceCode) ||
|
|
144
|
-
(0, util_1.getOperatorPrecedenceForNode)(expression) >
|
|
145
|
-
util_1.OperatorPrecedence.Unary) {
|
|
146
|
-
return fixer.insertTextBefore(node, 'void ');
|
|
147
|
-
}
|
|
148
|
-
return [
|
|
149
|
-
fixer.insertTextBefore(node, 'void ('),
|
|
150
|
-
fixer.insertTextAfterRange([expression.range[1], expression.range[1]], ')'),
|
|
151
|
-
];
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
messageId: 'floatingFixAwait',
|
|
156
|
-
fix: (fixer) => addAwait(fixer, expression, node),
|
|
142
|
+
else if (options.ignoreVoid) {
|
|
143
|
+
context.report({
|
|
144
|
+
node,
|
|
145
|
+
messageId: nonFunctionHandler
|
|
146
|
+
? 'floatingUselessRejectionHandlerVoid'
|
|
147
|
+
: 'floatingVoid',
|
|
148
|
+
suggest: [
|
|
149
|
+
{
|
|
150
|
+
messageId: 'floatingFixVoid',
|
|
151
|
+
fix(fixer) {
|
|
152
|
+
if ((0, util_1.isParenthesized)(expression, context.sourceCode) ||
|
|
153
|
+
(0, util_1.getOperatorPrecedenceForNode)(expression) >
|
|
154
|
+
util_1.OperatorPrecedence.Unary) {
|
|
155
|
+
return fixer.insertTextBefore(node, 'void ');
|
|
156
|
+
}
|
|
157
|
+
return [
|
|
158
|
+
fixer.insertTextBefore(node, 'void ('),
|
|
159
|
+
fixer.insertTextAfterRange([expression.range[1], expression.range[1]], ')'),
|
|
160
|
+
];
|
|
157
161
|
},
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
? 'floatingUselessRejectionHandler'
|
|
166
|
-
: 'floating',
|
|
167
|
-
suggest: [
|
|
168
|
-
{
|
|
169
|
-
messageId: 'floatingFixAwait',
|
|
170
|
-
fix: (fixer) => addAwait(fixer, expression, node),
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
});
|
|
174
|
-
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
messageId: 'floatingFixAwait',
|
|
165
|
+
fix: (fixer) => addAwait(fixer, expression, node),
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
});
|
|
175
169
|
}
|
|
176
|
-
|
|
177
|
-
|
|
170
|
+
else {
|
|
171
|
+
context.report({
|
|
172
|
+
node,
|
|
173
|
+
messageId: nonFunctionHandler
|
|
174
|
+
? 'floatingUselessRejectionHandler'
|
|
175
|
+
: 'floating',
|
|
176
|
+
suggest: [
|
|
177
|
+
{
|
|
178
|
+
messageId: 'floatingFixAwait',
|
|
179
|
+
fix: (fixer) => addAwait(fixer, expression, node),
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
178
186
|
function addAwait(fixer, expression, node) {
|
|
179
187
|
if (expression.type === utils_1.AST_NODE_TYPES.UnaryExpression &&
|
|
180
188
|
expression.operator === 'void') {
|
|
@@ -375,3 +383,4 @@ function getTypeAtLocation(checker, node) {
|
|
|
375
383
|
return null;
|
|
376
384
|
}
|
|
377
385
|
}
|
|
386
|
+
//# sourceMappingURL=no-floating-promises.js.map
|
|
@@ -64,18 +64,6 @@ exports.default = (0, util_1.createRule)({
|
|
|
64
64
|
create(context) {
|
|
65
65
|
const services = (0, util_1.getParserServices)(context);
|
|
66
66
|
const checker = services.program.getTypeChecker();
|
|
67
|
-
function isStringLike(type) {
|
|
68
|
-
return (0, util_1.isTypeFlagSet)(type, ts.TypeFlags.StringLike);
|
|
69
|
-
}
|
|
70
|
-
function isUnderlyingTypeString(type) {
|
|
71
|
-
if (type.isUnion()) {
|
|
72
|
-
return type.types.every(isStringLike);
|
|
73
|
-
}
|
|
74
|
-
if (type.isIntersection()) {
|
|
75
|
-
return type.types.some(isStringLike);
|
|
76
|
-
}
|
|
77
|
-
return isStringLike(type);
|
|
78
|
-
}
|
|
79
67
|
function isEnumMemberType(type) {
|
|
80
68
|
return tsutils.typeConstituents(type).some(t => {
|
|
81
69
|
const symbol = t.getSymbol();
|
|
@@ -315,7 +303,7 @@ exports.default = (0, util_1.createRule)({
|
|
|
315
303
|
if (isTrivialInterpolation(node) &&
|
|
316
304
|
!hasCommentsBetweenQuasi(node.quasis[0], node.quasis[1])) {
|
|
317
305
|
const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(node.expressions[0]));
|
|
318
|
-
if (constraintType &&
|
|
306
|
+
if (constraintType && (0, util_1.isStringLike)(constraintType)) {
|
|
319
307
|
reportSingleInterpolation(node);
|
|
320
308
|
return;
|
|
321
309
|
}
|
|
@@ -331,7 +319,7 @@ exports.default = (0, util_1.createRule)({
|
|
|
331
319
|
const { constraintType, isTypeParameter } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(node.types[0]));
|
|
332
320
|
if (constraintType &&
|
|
333
321
|
!isTypeParameter &&
|
|
334
|
-
|
|
322
|
+
(0, util_1.isStringLike)(constraintType) &&
|
|
335
323
|
!isEnumMemberType(constraintType)) {
|
|
336
324
|
reportSingleInterpolation(node);
|
|
337
325
|
return;
|
|
@@ -359,3 +347,4 @@ function isWhitespace(x) {
|
|
|
359
347
|
function startsWithNewLine(x) {
|
|
360
348
|
return utils_1.ASTUtils.LINEBREAK_MATCHER.exec(x)?.index === 0;
|
|
361
349
|
}
|
|
350
|
+
//# sourceMappingURL=no-unnecessary-template-expression.js.map
|
package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
1
|
export type Options = [
|
|
3
2
|
{
|
|
4
3
|
checkLiteralConstAssertions?: boolean;
|
|
@@ -6,7 +5,7 @@ export type Options = [
|
|
|
6
5
|
}
|
|
7
6
|
];
|
|
8
7
|
export type MessageIds = 'contextuallyUnnecessary' | 'unnecessaryAssertion';
|
|
9
|
-
declare const _default:
|
|
8
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, Options, import("../../rules").ESLintPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
10
9
|
name: string;
|
|
11
10
|
};
|
|
12
11
|
export default _default;
|
package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js
CHANGED
|
@@ -37,42 +37,6 @@ const utils_1 = require("@typescript-eslint/utils");
|
|
|
37
37
|
const tsutils = __importStar(require("ts-api-utils"));
|
|
38
38
|
const ts = __importStar(require("typescript"));
|
|
39
39
|
const util_1 = require("../util");
|
|
40
|
-
function isAtExpressionStatementStart(node) {
|
|
41
|
-
let current = node;
|
|
42
|
-
while (true) {
|
|
43
|
-
const { parent } = current;
|
|
44
|
-
if (parent == null) {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
if (parent.range[0] !== current.range[0]) {
|
|
48
|
-
return false;
|
|
49
|
-
}
|
|
50
|
-
if (parent.type === utils_1.AST_NODE_TYPES.ExpressionStatement) {
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
current = parent;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
function isAtArrowFunctionBodyStart(node, sourceCode) {
|
|
57
|
-
let current = node;
|
|
58
|
-
while (true) {
|
|
59
|
-
if ((0, util_1.isParenthesized)(current, sourceCode)) {
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
const { parent } = current;
|
|
63
|
-
if (parent == null) {
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
if (parent.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression &&
|
|
67
|
-
parent.body === current) {
|
|
68
|
-
return true;
|
|
69
|
-
}
|
|
70
|
-
if (parent.range[0] !== current.range[0]) {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
current = parent;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
40
|
exports.default = (0, util_1.createRule)({
|
|
77
41
|
name: 'no-unnecessary-type-assertion',
|
|
78
42
|
meta: {
|
|
@@ -285,7 +249,17 @@ exports.default = (0, util_1.createRule)({
|
|
|
285
249
|
return nestedTypes.some(t => typeContains(t, predicate, seen));
|
|
286
250
|
}
|
|
287
251
|
function containsAny(type) {
|
|
288
|
-
|
|
252
|
+
try {
|
|
253
|
+
return typeContains(type, t => (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.Any));
|
|
254
|
+
}
|
|
255
|
+
catch (error) {
|
|
256
|
+
// Workaround for https://github.com/typescript-eslint/typescript-eslint/issues/12705
|
|
257
|
+
if (error instanceof RangeError &&
|
|
258
|
+
error.message === 'Maximum call stack size exceeded') {
|
|
259
|
+
return false;
|
|
260
|
+
}
|
|
261
|
+
throw error;
|
|
262
|
+
}
|
|
289
263
|
}
|
|
290
264
|
function containsTypeVariable(type) {
|
|
291
265
|
return typeContains(type, t => (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.TypeVariable | ts.TypeFlags.Index));
|
|
@@ -614,9 +588,9 @@ exports.default = (0, util_1.createRule)({
|
|
|
614
588
|
// wrapped in parentheses to stay an expression.
|
|
615
589
|
const firstOperandToken = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(closingAngleBracket), util_1.NullThrowsReasons.MissingToken('operand', 'type assertion'));
|
|
616
590
|
const breaksExpressionStatement = ['{', 'function', 'class'].includes(firstOperandToken.value) &&
|
|
617
|
-
|
|
591
|
+
(0, util_1.isStartOfExpressionStatement)(node);
|
|
618
592
|
const breaksArrowFunctionBody = firstOperandToken.value === '{' &&
|
|
619
|
-
|
|
593
|
+
(0, util_1.isStartOfArrowFunctionBody)(node, context.sourceCode);
|
|
620
594
|
const needsParens = breaksExpressionStatement || breaksArrowFunctionBody;
|
|
621
595
|
const fixes = [];
|
|
622
596
|
if (needsParens) {
|
|
@@ -812,3 +786,4 @@ exports.default = (0, util_1.createRule)({
|
|
|
812
786
|
};
|
|
813
787
|
},
|
|
814
788
|
});
|
|
789
|
+
//# sourceMappingURL=no-unnecessary-type-assertion.js.map
|
package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js
CHANGED
|
@@ -233,7 +233,7 @@ exports.default = (0, util_1.createRule)({
|
|
|
233
233
|
}
|
|
234
234
|
const typeFlag = builtInTypeFlags[nodeCallee.name];
|
|
235
235
|
const scope = context.sourceCode.getScope(node);
|
|
236
|
-
const variable =
|
|
236
|
+
const variable = utils_1.ASTUtils.findVariable(scope, nodeCallee.name);
|
|
237
237
|
if (!!variable?.defs.length ||
|
|
238
238
|
!doesUnderlyingTypeMatchFlag((0, util_1.getConstrainedTypeAtLocation)(services, node.arguments[0]), typeFlag)) {
|
|
239
239
|
return;
|
|
@@ -354,3 +354,4 @@ exports.default = (0, util_1.createRule)({
|
|
|
354
354
|
};
|
|
355
355
|
},
|
|
356
356
|
});
|
|
357
|
+
//# sourceMappingURL=no-unnecessary-type-conversion.js.map
|
package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js
CHANGED
|
@@ -356,6 +356,11 @@ function collectTypeParameterUsageCounts(checker, node, foundIdentifierUsages, f
|
|
|
356
356
|
// They have properties, so we need to avoid double-counting.
|
|
357
357
|
visitType(type.templateType ?? type.constraintType, false);
|
|
358
358
|
}
|
|
359
|
+
// TS doesn't count mapped types key remapping (`{[K in 'a' as T]: K}`)
|
|
360
|
+
// but handles this under `MappedType.nameType`, so we need to visit that too.
|
|
361
|
+
if (type.nameType) {
|
|
362
|
+
visitType(type.nameType, false);
|
|
363
|
+
}
|
|
359
364
|
}
|
|
360
365
|
visitType(type.getNumberIndexType(), true);
|
|
361
366
|
visitType(type.getStringIndexType(), true);
|
|
@@ -420,3 +425,4 @@ function isMappedType(type) {
|
|
|
420
425
|
function isOperatorType(type) {
|
|
421
426
|
return 'type' in type && !!type.type;
|
|
422
427
|
}
|
|
428
|
+
//# sourceMappingURL=no-unnecessary-type-parameters.js.map
|