Skip to content

no-navigation-without-resolve should accept mixed ternariesΒ #1389

@marekdedic

Description

@marekdedic

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.

What version of ESLint are you using?

latest

What version of eslint-plugin-svelte are you using?

main

What did you do?

<a href={foo ? "https://example.com" : resolve("/")}

What did you expect to happen?

No error

What actually happened?

Error

Link to GitHub Repo with Minimal Reproducible Example

N/A

Additional comments

Will look at this eventually, but this will probably require a big rewrite of some parts of the rule

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions