Replace deprected eslint rules

no-new-object => no-object-constructor
https://eslint.org/docs/latest/rules/no-new-object
no-process-env => will be catched by no-undef
closes #5554

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5612

-- Commit Summary --

  * Replace deprected eslint rules

-- File Changes --

    M config/eslint.js (3)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5612.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5612.diff

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

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

Reply via email to