AgileVentures / WebsiteOne

A website for Agile Ventures
https://www.agileventures.org
Other
143 stars 247 forks source link

Fix rubocop config and cleanup offenses #3853

Closed mattlindsey closed 1 year ago

mattlindsey commented 1 year ago

Running bundle exec rubycop currently gives a config error.

Fix by replacing the following line in .rubocop.yml: Gemspec/DateAssignment: # (new in 1.10) With: Gemspec/DeprecatedAttributeAssignment:

Also add following line to enable rubocop-rails (which is already in Gemfile): require: rubocop-rails

Then try to correct the offenses given when you run rubocop: 433 files inspected, 1282 offenses detected, 471 offenses autocorrectable