Open sbarber2 opened 1 month ago
Perhaps API_BASE is the wrong approach?
On Oct 10, 2024, at 11:39 AM, Steve Barber @.***> wrote:
For example, API_BASE is not defined in static/planttracer.js so eslint complains, but API_BASE is defined in templates/base.html so is in scope at runtime.
What to do with this from a lint perspective?
— Reply to this email directly, view it on GitHub https://github.com/Plant-Tracer/webapp/issues/548, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMFHLELFMNUR62NKZKGRRTZ22NRVAVCNFSM6AAAAABPXCPDE2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3TSMRRGU2TCNY. You are receiving this because you are subscribed to this thread.
For example, API_BASE is not defined in static/planttracer.js so eslint complains, but API_BASE is defined in templates/base.html so is in scope at runtime.
What to do with this from a lint perspective?