Skip to content

RuboCop plugin system via LintRoller#79

Merged
AlfonsoUceda merged 6 commits intomasterfrom
pluginfly
Mar 31, 2026
Merged

RuboCop plugin system via LintRoller#79
AlfonsoUceda merged 6 commits intomasterfrom
pluginfly

Conversation

@AlfonsoUceda
Copy link
Copy Markdown
Contributor

Adds a LintRoller-based plugin so RuboCop >= 1.72 can discover and load the custom cops automatically through the plugins: configuration. The legacy require: approach is preserved for older RuboCop versions.

Adds a LintRoller-based plugin so RuboCop >= 1.72 can discover
and load the custom cops automatically through the `plugins:`
configuration. The legacy `require:` approach is preserved for
older RuboCop versions.
Uses rubocop-database_validations instead of plain rubocop to
properly load the plugin in specs.
The plugin referenced ::DatabaseValidations::VERSION without
requiring the version file, causing an uninitialized constant
error when RuboCop loaded the plugin.
@AlfonsoUceda AlfonsoUceda merged commit ec7d02e into master Mar 31, 2026
5 checks passed
@AlfonsoUceda AlfonsoUceda deleted the pluginfly branch March 31, 2026 13:36
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