Open Bug 1602061 Opened 6 years ago Updated 3 years ago

ESLint: Support id-as-variable-name for html/xhtml files

Categories

(Developer Infrastructure :: Lint and Formatting, task, P3)

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

References

Details

HTML/XHTML files support using the id as a variable name, we do this quite a bit in tests, and I think we should probably support it.

Unfortunately I can't find the devmo reference at the moment.

Personally I find this feature confusing and it always takes me forever to remember that these magic variables exist. My preference would be to not support these. Is there a good reason to?

Flags: needinfo?(standard8)

I would be OK with that, I know we've converted some tests but I suspect there's quite a few more out there that use it.

Maybe once we get some more bits converted, we can see how prevalent this is and do a dev.platform post or something.

Flags: needinfo?(standard8)
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.