Skip to content

no-navigation-withour-resolve: Track function return values #1486

@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?

master

What did you do?

<scrip>
  const resolveBlogUrl = (slug: string) => resolve('/blog/[slug]', { slug });
</script>

<a href={resolveBlogUrl('my-post')}>Link to My Post</a>

What did you expect to happen?

No error

What actually happened?

Error

Link to GitHub Repo with Minimal Reproducible Example

Will make a PR

Additional comments

No response

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