Skip to content

Conversation

maiis
Copy link
Contributor

@maiis maiis commented Sep 5, 2022

This PR adds:

  • allows onError and onLoad property on <picture> element
  • allows onError and onLoad property on <iframe> element
@maiis maiis changed the title [Fix] no-unknown-property: allowed on element [Fix] no-unknown-property: allowed on <picture> element Sep 5, 2022
@maiis maiis changed the title [Fix] no-unknown-property: allowed on <picture> element [Fix] no-unknown-property: onError and onLoad on <picture> element Sep 5, 2022
@codecov
Copy link

codecov bot commented Sep 5, 2022

Codecov Report

Merging #3398 (5669fdb) into master (1c0c92b) will decrease coverage by 0.16%.
The diff coverage is n/a.

❗ Current head 5669fdb differs from pull request most recent head 033fcc5. Consider uploading reports for the commit 033fcc5 to get more accurate results

@@ Coverage Diff @@ ## master #3398 +/- ## ========================================== - Coverage 97.58% 97.42% -0.17%  ========================================== Files 123 123 Lines 8958 8958 Branches 3270 3270 ========================================== - Hits 8742 8727 -15  - Misses 216 231 +15 
Impacted Files Coverage Δ
lib/rules/no-unknown-property.js 98.83% <ø> (ø)
lib/rules/no-unused-state.js 93.51% <0.00%> (-5.73%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@archiii92
Copy link

archiii92 commented Sep 5, 2022

Could you, please, also add 'onError' and 'onLoad' on <iframe> element?

@maiis maiis changed the title [Fix] no-unknown-property: onError and onLoad on <picture> element [Fix] no-unknown-property: onError and onLoad on <picture> and <iframe> elements Sep 5, 2022
Fixes #3410. Co-authored-by: Emmanuel Vuigner <hi@maiis.me> Co-authored-by: Aarni Koskela <akx@iki.fi>
@ljharb ljharb merged commit 033fcc5 into jsx-eslint:master Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants