Re: [openstreetmap/openstreetmap-website] Modernize eslint config (Issue #5554)

2025-01-26 Thread Holger Jeromin via rails-dev
As a first step I migrated the deprecated rules. After that I want to check which rules are already included in `js.configs.recommended` -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5554#issuecomment-2614532166 You are receiv

Re: [openstreetmap/openstreetmap-website] Modernize eslint config (Issue #5554)

2025-01-26 Thread Holger Jeromin via rails-dev
Sorry, I am not an native speaker. I dod not want to remove the config, but change its content. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5554#issuecomment-2614426343 You are receiving this because you are subscribed to th

Re: [openstreetmap/openstreetmap-website] Modernize eslint config (Issue #5554)

2025-01-25 Thread Tom Hughes via rails-dev
Can you explain what this has to do with keeping the current config? Are you saying that the current config is invoking some style rules that are no longer having any effect? We'd still want to keep the other rules though? We wouldn't want to just dump the whole thing... -- Reply to this email

[openstreetmap/openstreetmap-website] Modernize eslint config (Issue #5554)

2025-01-25 Thread Holger Jeromin via rails-dev
We could discuss if we want to keep the current [eslint config](https://github.com/openstreetmap/openstreetmap-website/blob/master/config/eslint.js). Most stylistic rules are now removed from eslint because most use a formatter like prettier.io But the style rules are moved to [another repo](htt