Closed Bug 1515952 Opened 10 months ago Closed 10 months ago
Allow ESLint rule spaced-comment to accept source-map comments
47 bytes, text/x-phabricator-request
|Details | Review|
I noticed this in passing the other day, then forgot about it for a bit :-( The spaced-comment definition we're using doesn't allow for source-map comments, which are typically of the form: //# sourceMappingURL=http://example.com/path/to/your/sourcemap.map It seems we should allow this, so that source maps can easily be managed (and don't get changed accidentally).
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/85a2c50c0c6b Allow ESLint rule spaced-comment to accept source-map comments. r=mossop
You need to log in before you can comment on or make changes to this bug.