Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow onerror to be ignored from nested-interactive #231

Open
amk221 opened this issue Jun 26, 2017 · 3 comments
Open

Allow onerror to be ignored from nested-interactive #231

amk221 opened this issue Jun 26, 2017 · 3 comments

Comments

@amk221
Copy link
Contributor

amk221 commented Jun 26, 2017

Usecase is as follows:

<img onerror={{action 'imageFallback'}} src="does-not-exist.png">

The above warns with Interaction added to non-interactive element

It's not really being used in an interactive way, so it would be good to be able to ignore onerror. But still receive linting warnings if I were to type <img onclick={{action 'doSomething'}}>

@amk221
Copy link
Contributor Author

amk221 commented Jun 26, 2017

Apologies, I just got tipped off about this related, already closed issue

https://github.com/rwjblue/ember-template-lint/issues/118

@rwjblue
Copy link
Member

rwjblue commented Aug 7, 2017

I believe this is also related to https://github.com/rwjblue/ember-template-lint/issues/242. I am not sure if @tim-evans has had a chance to start looking into the approach we discussed there though...

@tim-evans
Copy link

@rwjblue I haven't had a chance yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants