Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add standard-rails #1190

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Add standard-rails #1190

merged 2 commits into from
Nov 14, 2023

Conversation

phinze
Copy link
Contributor

@phinze phinze commented Nov 13, 2023

It was mentioned in #1137 and it should be helpful to keep around to make sure we're following some standard style practices with Rails

What it does

Adds extra Rails-centric rules to the Ruby linter.

Why it is important

Keeps all contributors writing similar looking code.

It was mentioned in #1137 and it should be helpful to keep around to
make sure we're following some standard style practices with Rails
Copy link
Member

@jim jim left a comment

Choose a reason for hiding this comment

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

Changes look OK to me. I'm not sure why ERBLint started failing, do the Standard checks get run on ERB now as well?

@phinze
Copy link
Contributor Author

phinze commented Nov 14, 2023

I think the new errors are because erblint uses rubocop under the hood and this updated the rubocop version. I cleaned up the errors and I think we're good to go!

@phinze phinze merged commit df2ec48 into main Nov 14, 2023
5 checks passed
@phinze phinze deleted the standard-rails branch November 14, 2023 23:29
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