CodeforLeipzig / stadtratmonitor

Stadtratmonitor - Frontend
https://stadtratmonitor.leipzig.codefor.de/
MIT License
4 stars 4 forks source link

Fix rubocop offenses #44

Closed lhm closed 4 years ago

lhm commented 4 years ago

Add rubocop and fix some issues

Adds a configuration for rubocop and fixes a bunch of ruby style issues. A handful of issues remain that need a bit closer inspection, they are muted via the .rubocop_todo.yml to be done later.

bundle exec rubocop returns no error.

Also:

Depends on #45

lhm commented 4 years ago

I extracted the test fixes in the first two commits to a separate PR here: https://github.com/CodeforLeipzig/stadtratmonitor/pull/45