[openstreetmap/openstreetmap-website] Fix all no-implicit-globals eslint errors (PR #5613)
Anton Khorev
notifications at github.com
Thu Feb 6 13:15:16 UTC 2025
> > You don't need to touch every single line via indenting if you write the globals as
> > `const DemoEngine = function (...) { ... };`
>
> Then we would have `DemoEngine` poluting the global scope...
You can put it in `OSM` scope. `OSM.RoutingEngines.DemoEngine = ...`
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5613#issuecomment-2639799112
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5613/c2639799112 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250206/ed371ff4/attachment-0001.htm>
More information about the rails-dev
mailing list