Skip to content

chore(white-label): satisfy rubocop on the MSA gate controller - #6

Merged
rrader26 merged 1 commit into
mainfrom
fix/white-label-lint
Jun 16, 2026
Merged

chore(white-label): satisfy rubocop on the MSA gate controller#6
rrader26 merged 1 commit into
mainfrom
fix/white-label-lint

Conversation

@rrader26

Copy link
Copy Markdown

Follow-up to #5 (merged with linters red). Resolves the Rubocop offenses on white_label_controller.rb:

  • Disable Rails/ApplicationControllerApplicationController is ActionController::API (no HTML rendering); the gate must subclass ActionController::Base.
  • Disable Rails/OutputSafety — markup is trusted and every interpolated value is escaped via ERB::Util.html_escape.
  • Two continuation strings → double quotes (Style/StringLiterals).

Still outstanding from #5: regenerate db/structure.sql (run bin/rails db:migrate in a DB-enabled env) so migrations-test goes green. Does not affect runtime.

🤖 Generated with Claude Code

Disable Rails/ApplicationController (ApplicationController is ActionController::API
and cannot render HTML) and Rails/OutputSafety (markup is trusted; all interpolated
values are escaped via ERB::Util.html_escape) for this controller, and switch two
continuation strings to double quotes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rrader26
rrader26 merged commit 1b61cea into main Jun 16, 2026
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants