decidim / decidim

The participatory democracy framework. A generator and multiple gems made with Ruby on Rails
https://decidim.org/
GNU Affero General Public License v3.0
1.44k stars 397 forks source link

Clean-up old classes from the HTML #12178

Closed andreslucena closed 7 months ago

andreslucena commented 9 months ago

We have lots of unused classes in the HTML.

I have explained a (manual) way of doing the clean-up (see #11752) but @alecslupu found a way of automating it, so we're working on the clean-up on #12074

What we do is to make PRs against that same branch for each of the modules so its easy to review. When we finish with the process and all the linter errors are gone, then we'll merge that branch against develop.

For running the linter you need to change the module name on this command: erblint decidim-participatory_processes/app/views/**/*.erb

There are lots of examples of the removals in the related PRs

Status

alecslupu commented 7 months ago

The related https://github.com/decidim/decidim/pull/12074 has already merged.