### Problem

The JS with embedded Ruby isn't held to the same standards as all the other JS 
code.

### Description

Please look into enabling linting files with embedded Ruby in ESLint.
The [eslint-plugin-erb](//github.com/Splines/eslint-plugin-erb) could help here.

### Screenshots

![osm.js.erb](https://github.com/user-attachments/assets/d032ec80-5f32-4e4a-83af-3027e6e66663)
![embed.js.erb](https://github.com/user-attachments/assets/a6e11800-77f7-415f-bc68-702798f59bdd)
![id.js.erb](https://github.com/user-attachments/assets/a09b71c5-15ec-4315-953d-fa19b9722a7d)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5523
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to