-
Notifications
You must be signed in to change notification settings - Fork 906
Upgrade rubocop + rubocop plugins #1515
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2b4ebbb
Upgrade rubocop + rubocop plugins
modosc d80e696
run unsafe autofix on newly added todo items
modosc 31e3c4c
Revert "run unsafe autofix on newly added todo items"
modosc dcae501
autofix RSpec/BeEq
modosc 7448551
unsafe autofix all spec issues _except_ RSpec/Rails/InferredSpecType
modosc 8418321
Revert "unsafe autofix all spec issues _except_ RSpec/Rails/InferredS…
modosc 69e3041
autofix RSpec/DescribedClass
modosc feafbf6
autofix RSpec/ExpectChange
modosc 83ac3e6
fix RSpec/ExampleWording
modosc b1811fb
fix RSpec/NoExpectationExample
modosc 73da18a
autofix RSpec/Rails/InferredSpecType
modosc 73c69f0
Revert "autofix RSpec/Rails/InferredSpecType"
modosc d643dae
try RSpec/Rails/InferredSpecType again
modosc 8d2ba99
reorder Gemspec/RequireMFA
modosc 7892937
fix RSpec/VerifiedDoubleReference
modosc 48ccdba
fix Rails/RedundantActiveRecordAllMethod
modosc f73c2af
fix Gemspec/DevelopmentDependencies
modosc 68a2cb3
Revert "fix Gemspec/DevelopmentDependencies"
modosc 36beea7
disable Gemspec/DevelopmentDependencies
modosc 8a9d95a
fix Performance/MapMethodChain
modosc cba32d3
explicitly disable Security/YAMLLoad
modosc f0d1950
fix Style/ConcatArrayLiterals
modosc 1b5452a
enable / fix -Gemspec/RequireMFA
modosc 2c5e18c
explicitly disable Rails/ApplicationRecord
modosc f95377c
remove configuration for RSpec/Rails/InferredSpecType, add config.inf…
modosc 246a9ab
add spaces
modosc fc5e1eb
disable Style/FetchEnvVar
modosc 6a380c3
revert RSpec/BeEq changes and disable
modosc f9a0dbd
revert / disable Rails/Delegate
modosc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,13 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2022-11-26 07:45:38 UTC using RuboCop version 1.22.3. | ||
# on 2025-03-31 23:04:51 UTC using RuboCop version 1.75.1. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# It may be possible for us to use safe_load, but we'd have to pass the | ||
# safelists, like `whitelist_classes` into our serializer, and the serializer | ||
# interface is a public API, so that would be a breaking change. | ||
# Offense count: 13 | ||
# Cop supports --auto-correct. | ||
Security/YAMLLoad: | ||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Rails/ActiveSupportOnLoad: | ||
Exclude: | ||
- 'lib/paper_trail/serializers/yaml.rb' | ||
- 'spec/models/book_spec.rb' | ||
- 'spec/models/gadget_spec.rb' | ||
- 'spec/models/no_object_spec.rb' | ||
- 'spec/models/person_spec.rb' | ||
- 'spec/models/version_spec.rb' | ||
- 'spec/paper_trail/events/destroy_spec.rb' | ||
- 'spec/paper_trail/serializer_spec.rb' | ||
- "lib/paper_trail/frameworks/active_record.rb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.