Skip to content

allowAutomaticSingleRunInference causes incorrect type information #6184

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Forking from #6176:

It's a bit funky with --fix from what I've noticed.
The fix re-runs won't have proper type information so rules like the no-unsafe-* rules will report false errors on fixed files that won't show up on a non-fixing run.

We need to figure out a better solution for the fix case before we can really roll this out to everyone I think, or else we'll create a really flaky and confusing experience.

@bradzacher - do you have a repro available? I can work on one if not.

I'd consider this a bug we should tackle. Perhaps we can use the same builder/watch programs that we do for IDEs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    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