-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 rubocop-rails-omakase to new Rails applications #50486
Merged
Merged
Commits on Dec 29, 2023
-
Add rubocop to new rails app generator
This setups a basic rubocop config for new rails apps using the `rubocop-rails-omakase` gem: https://github.com/rails/rubocop-rails-omakase It can be skipped with the `--skip-rubocop` flag.
Configuration menu - View commit details
-
Copy full SHA for 3db5ee9 - Browse repository at this point
Copy the full SHA 3db5ee9View commit details -
Fix rubocop binstub to avoid loading configs from parent directories
Based on rubygems/rubygems#6915 This occurs especially when generating a new rails app within a rails checkout: https://github.com/rails/rails/actions/runs/7360317953/job/20036287021#step:4:171
Configuration menu - View commit details
-
Copy full SHA for 8f81b8c - Browse repository at this point
Copy the full SHA 8f81b8cView commit details
Commits on Dec 30, 2023
-
Move rubocop binstub to bin and make it optional
This way we get the permissions and shebang for free.
Configuration menu - View commit details
-
Copy full SHA for 894cdec - Browse repository at this point
Copy the full SHA 894cdecView commit details -
This fixes the issue with recursively searching for .rubocop.yml config
Since we were calling the rubocop command before, and not the patched binstub.
Configuration menu - View commit details
-
Copy full SHA for a7f56d1 - Browse repository at this point
Copy the full SHA a7f56d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9719277 - Browse repository at this point
Copy the full SHA 9719277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f2c4e - Browse repository at this point
Copy the full SHA 40f2c4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3c4fcd - Browse repository at this point
Copy the full SHA c3c4fcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 488976e - Browse repository at this point
Copy the full SHA 488976eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb53803 - Browse repository at this point
Copy the full SHA cb53803View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6da2356 - Browse repository at this point
Copy the full SHA 6da2356View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59777a - Browse repository at this point
Copy the full SHA d59777aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f840b5e - Browse repository at this point
Copy the full SHA f840b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c25342 - Browse repository at this point
Copy the full SHA 6c25342View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f06871 - Browse repository at this point
Copy the full SHA 0f06871View commit details -
Configuration menu - View commit details
-
Copy full SHA for 239611b - Browse repository at this point
Copy the full SHA 239611bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.