Skip to content

eslint indiscriminately errors for .reload() and .save() #10456

@mkszepp

Description

@mkszepp

With latest ember-cli-update (v6.10.0+) there were added eslint rules for warp-drive.

Unfortunally we have some issue, like controller.relaod() or a service with this.myService.reload() or window.location.reload(); it comes as error that we should not use warp-drive/no-legacy-request-patterns.

The same thing we have with local functions in components like this.save()

Also the await fetch(url, options); brings error Use store.request() instead of fetch() warp-drive/no-external-request-pattern

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