Skip to content

Document adding the gem as a plugin - #71

Merged
andyw8 merged 1 commit into
andyw8:mainfrom
koppen:patch-1
Sep 3, 2026
Merged

andyw8 merged 1 commit into
andyw8:mainfrom
koppen:patch-1

Conversation

@koppen

@koppen koppen commented Sep 3, 2026

Copy link
Copy Markdown

After following the instruction to use require here, rubocop 1.88 outputs:

rubocop-view_component extension supports plugin, specify plugins: rubocop-view_component instead of require: rubocop-view_component in /Users/jakob/Projects/OpenSource/flowbite-components/flowbite-components/.rubocop.yml.
For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.

Since the gem is a Rubocop pluigin, let's configure it as one.

After following the instruction to use `require` here, rubocop 1.88 outputs:

> rubocop-view_component extension supports plugin, specify `plugins: rubocop-view_component` instead of `require: rubocop-view_component` in /Users/jakob/Projects/OpenSource/flowbite-components/flowbite-components/.rubocop.yml.
For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.

Since the gem _is_ a Rubocop pluigin, let's configure it as one.
@andyw8

andyw8 commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Thanks! (I fixed the unrelated failure in adddde4)

@andyw8
andyw8 merged commit 45b919e into andyw8:main Sep 3, 2026
5 of 6 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