Closed
Bug 1508987
Opened 6 years ago
Closed 6 years ago
Enable ESLint for dom/svg/
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla68
People
(Reporter: standard8, Assigned: championshuttler)
References
Details
Attachments
(2 files)
As part of rolling out ESLint across the tree, we should enable it for dom/svg/.
Updated•6 years ago
|
Priority: -- → P3
Comment 1•6 years ago
|
||
Hello Mark! I would like to work on this bug.
Reporter | ||
Updated•6 years ago
|
Assignee: standard8 → deepanjali.g
Comment 2•6 years ago
|
||
Hello Mark,
I am getting the following error :-
/Users/Deepanjali/mozilla-central/dom/svg/test/test_nonAnimStrings.xhtml
21:5 error Parsing error: Unexpected token < (eslint)
Code looks like this :-
20 <script id="script">
21 <animate attributeName="xlink:href" from="" to="animated" dur="0.5s" begin="1s" fill="freeze" id="animate"/>
22 </script>
I don't understand why it is testing an HTML element, which is correct. Please guide me on how to fix this issue.
Reporter | ||
Comment 3•6 years ago
|
||
Hi Deepanjali, I think it is something that's intentional in the test - though I'm not quite sure why. I think the easiest thing to do for now is to ignore just this file. So go down to just under the dom/ section in .eslintignore and add something like:
# Intentionally invalid html
dom/svg/test/test_nonAnimStrings.xhtml
Comment 4•6 years ago
|
||
Thank you Mark. The same error appears in another file, and I will do the same for it!
Comment 5•6 years ago
|
||
Hello Mark, I lost access to my account so I created this new account. I have completely fixed this bug and just need to push the commits. Can you please assign this bug to my new account, so I can proceed.
Here is my email for this account: deepanjaligerangal@rocketmail.com
Reporter | ||
Updated•6 years ago
|
Assignee: deepanjali.g → deepanjaligerangal
Reporter | ||
Comment 6•6 years ago
|
||
Unfortunately I've not heard from Deepanjali so unassigning for now.
Assignee: deepanjaligerangal → nobody
Assignee | ||
Comment 7•6 years ago
|
||
Hi Mark , Can I work on it if possible?
Thanks
Flags: needinfo?(standard8)
Reporter | ||
Comment 8•6 years ago
|
||
Sure.
Assignee: nobody → shivams2799
Status: NEW → ASSIGNED
Flags: needinfo?(standard8)
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Depends on D22293
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Whiteboard: [seneca-eslint] → checkin-needed
Comment 11•6 years ago
|
||
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/69b00bf72f9e
Enable ESLint for dom/svg/ (Automatic Changes). r=jwatt
https://hg.mozilla.org/integration/autoland/rev/772847bbb314
Enable ESLint for dom/svg/ (Manual Changes). r=jwatt
Keywords: checkin-needed
Updated•6 years ago
|
Whiteboard: checkin-needed
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/69b00bf72f9e
https://hg.mozilla.org/mozilla-central/rev/772847bbb314
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Updated•6 years ago
|
status-firefox66:
--- → wontfix
status-firefox67:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•