Closed Bug 1508987 Opened 6 years ago Closed 6 years ago

Enable ESLint for dom/svg/

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed

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/.
Priority: -- → P3
Hello Mark! I would like to work on this bug.
Assignee: standard8 → deepanjali.g
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.
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
Thank you Mark. The same error appears in another file, and I will do the same for it!
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
Assignee: deepanjali.g → deepanjaligerangal

Unfortunately I've not heard from Deepanjali so unassigning for now.

Assignee: deepanjaligerangal → nobody

Hi Mark , Can I work on it if possible?

Thanks

Flags: needinfo?(standard8)

Sure.

Assignee: nobody → shivams2799
Status: NEW → ASSIGNED
Flags: needinfo?(standard8)
Component: DOM → DOM: Core & HTML
Keywords: checkin-needed
Whiteboard: [seneca-eslint] → checkin-needed

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
Whiteboard: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: