Skip to content

Move to Standardrb - #92

Merged
tvdeyen merged 3 commits into
solidusio-contrib:mainfrom
fcpeuro:move-to-standardrb
Aug 24, 2026
Merged

Move to Standardrb#92
tvdeyen merged 3 commits into
solidusio-contrib:mainfrom
fcpeuro:move-to-standardrb

Conversation

@sascha-karnatz

Copy link
Copy Markdown
Collaborator

Use Standardrb instead of Rubocop to follow the same linting rules as Solidus. This way the Lint pipeline is going to be successful again.

Standard is dependency of solidus_dev_support and the default way of linting in Solidus itself. Instead of fixing and adjusting Rubocop rules, it is better to move the project to Standard use the same set of linting rules as Solidus.
Ran `bundle exec standardrb --fix` against the project and applied all changes. These are mostly single quotes to double quotes and indention issues.
@sascha-karnatz
sascha-karnatz requested a review from tvdeyen August 24, 2026 12:43
This will remove follow warning during the standardrb run:

lib/generators/solidus_static_content/install/install_generator.rb: Warning: Metrics/LineLength has the wrong namespace - replace it with Layout/LineLength

@tvdeyen tvdeyen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏🏻

@tvdeyen
tvdeyen merged commit ba9bad5 into solidusio-contrib:main Aug 24, 2026
5 checks passed
@sascha-karnatz
sascha-karnatz deleted the move-to-standardrb branch August 24, 2026 13:08
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