-
Notifications
You must be signed in to change notification settings - Fork 697
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
New: Checks if any SVG element is created using createElement() #1924
New: Checks if any SVG element is created using createElement() #1924
Conversation
-------------------------------------------------------------- Fix webhintio#1625
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So cool. 😎
No rush to address the feedback - I just wanted to get an initial review in while I had the time.
Enjoy your weekend!
Co-Authored-By: utsavized <utsavpandey@gmail.com>
Co-Authored-By: utsavized <utsavpandey@gmail.com>
Co-Authored-By: utsavized <utsavpandey@gmail.com>
Co-Authored-By: utsavized <utsavpandey@gmail.com>
Co-Authored-By: utsavized <utsavpandey@gmail.com>
@antross @molant @sarvaje using eslint's result location did not work, as it sets line number to the beginning of the script tag and not the full source code. To solve that, I subscribed to the |
I believe the issue with |
Yep, that PR should solve the problem. |
Then maybe we should try to get that one merged asap and update once it's done. |
Looking at the screenshot suggests the position is still off by a little bit as |
@antross Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionally this looks great. 👍
Most of my comments are just opportunities to streamline the code a bit or improve wording in the documentation.
I also noticed one potential bug with external script references.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! 🎉
Thanks @utsavized for patiently keeping this PR up-to-date with our recent refactors.
Fix #1625
Pull request checklist
Make sure you:
For non-trivial changes, please make sure you also: