Skip to content

Bug: no-misused-promises rule is slow to evaluate in Svelte #10996

Closed
@benmccann

Description

@benmccann

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Issue Description

Set TIMING=20 in the lint script of this repo: https://github.com/immich-app/immich/tree/main/web

Took over 4 min to run while other rules completed quickly

Image

Reproduction Repository Link

https://github.com/immich-app/immich

Repro Steps

git clone git@github.com:immich-app/immich.git
cd immich/web
npm install
TIMING=20 npm run lint

Versions

This repo is currently on typescript-eslint 8 as indicated below, but I've sent a PR to upgrade it to the latest v9 and it happens there as well

package version
@typescript-eslint/eslint-plugin 8.26.1
@typescript-eslint/parser 8.26.1
@typescript-eslint/scope-manager 8.26.1
@typescript-eslint/typescript-estree 8.26.1
@typescript-eslint/type-utils 8.26.1
@typescript-eslint/utils 8.26.1
TypeScript 5.7.3
ESLint 9.18.0
node 22.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginperformanceIssues regarding performancetriageWaiting for team members to take a look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy