Skip to content

Commit

Permalink
Merge pull request #170 from github/abraham/21
Browse files Browse the repository at this point in the history
add new rules to pending
  • Loading branch information
abraham authored Jun 3, 2024
2 parents 46416e8 + aacab49 commit 349d8f6
Show file tree
Hide file tree
Showing 11 changed files with 156 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ Naming/FileName:
- "rubocop-github.gemspec"
- "lib/rubocop-github.rb"
- "lib/rubocop-github-rails.rb"

Gemspec/DevelopmentDependencies:
Enabled: true
EnforcedStyle: gemspec
66 changes: 66 additions & 0 deletions config/default_pending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,69 @@ Style/OperatorMethodCall: # new in 1.37
Enabled: false
Style/RedundantStringEscape: # new in 1.37
Enabled: false
Gemspec/DevelopmentDependencies: # new in 1.44
Enabled: false
Lint/DuplicateMatchPattern: # new in 1.50
Enabled: false
Lint/ItWithoutArgumentsInBlock: # new in 1.59
Enabled: false
Lint/LiteralAssignmentInCondition: # new in 1.58
Enabled: false
Lint/MixedCaseRange: # new in 1.53
Enabled: false
Lint/RedundantRegexpQuantifiers: # new in 1.53
Enabled: false
Lint/UselessRescue: # new in 1.43
Enabled: false
Metrics/CollectionLiteralLength: # new in 1.47
Enabled: false
Style/ArrayIntersect: # new in 1.40
Enabled: false
Style/ComparableClamp: # new in 1.44
Enabled: false
Style/ConcatArrayLiterals: # new in 1.41
Enabled: false
Style/DataInheritance: # new in 1.49
Enabled: false
Style/DirEmpty: # new in 1.48
Enabled: false
Style/ExactRegexpMatch: # new in 1.51
Enabled: false
Style/FileEmpty: # new in 1.48
Enabled: false
Style/MapIntoArray: # new in 1.63
Enabled: false
Style/MapToSet: # new in 1.42
Enabled: false
Style/MinMaxComparison: # new in 1.42
Enabled: false
Style/RedundantArrayConstructor: # new in 1.52
Enabled: false
Style/RedundantConstantBase: # new in 1.40
Enabled: false
Style/RedundantCurrentDirectoryInPath: # new in 1.53
Enabled: false
Style/RedundantDoubleSplatHashBraces: # new in 1.41
Enabled: false
Style/RedundantEach: # new in 1.38
Enabled: false
Style/RedundantFilterChain: # new in 1.52
Enabled: false
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
Enabled: false
Style/RedundantLineContinuation: # new in 1.49
Enabled: false
Style/RedundantRegexpArgument: # new in 1.53
Enabled: false
Style/RedundantRegexpConstructor: # new in 1.52
Enabled: false
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
Enabled: false
Style/SingleLineDoEndBlock: # new in 1.57
Enabled: false
Style/SuperWithArgsParentheses: # new in 1.58
Enabled: false
Style/YAMLFileRead: # new in 1.53
Enabled: false
Performance/MapMethodChain: # new in 1.19
Enabled: false
78 changes: 78 additions & 0 deletions config/rails_pending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,81 @@ Rails/WhereMissing: # new in 2.16
Enabled: false
Rails/WhereNotWithMultipleConditions: # new in 2.17
Enabled: false
Gemspec/DevelopmentDependencies: # new in 1.44
Enabled: false
Lint/DuplicateMatchPattern: # new in 1.50
Enabled: false
Lint/ItWithoutArgumentsInBlock: # new in 1.59
Enabled: false
Lint/LiteralAssignmentInCondition: # new in 1.58
Enabled: false
Lint/MixedCaseRange: # new in 1.53
Enabled: false
Lint/RedundantRegexpQuantifiers: # new in 1.53
Enabled: false
Lint/UselessRescue: # new in 1.43
Enabled: false
Metrics/CollectionLiteralLength: # new in 1.47
Enabled: false
Style/ArrayIntersect: # new in 1.40
Enabled: false
Style/ComparableClamp: # new in 1.44
Enabled: false
Style/ConcatArrayLiterals: # new in 1.41
Enabled: false
Style/DataInheritance: # new in 1.49
Enabled: false
Style/DirEmpty: # new in 1.48
Enabled: false
Style/ExactRegexpMatch: # new in 1.51
Enabled: false
Style/FileEmpty: # new in 1.48
Enabled: false
Style/MapIntoArray: # new in 1.63
Enabled: false
Style/MapToSet: # new in 1.42
Enabled: false
Style/MinMaxComparison: # new in 1.42
Enabled: false
Style/RedundantArrayConstructor: # new in 1.52
Enabled: false
Style/RedundantConstantBase: # new in 1.40
Enabled: false
Style/RedundantCurrentDirectoryInPath: # new in 1.53
Enabled: false
Style/RedundantDoubleSplatHashBraces: # new in 1.41
Enabled: false
Style/RedundantEach: # new in 1.38
Enabled: false
Style/RedundantFilterChain: # new in 1.52
Enabled: false
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
Enabled: false
Style/RedundantLineContinuation: # new in 1.49
Enabled: false
Style/RedundantRegexpArgument: # new in 1.53
Enabled: false
Style/RedundantRegexpConstructor: # new in 1.52
Enabled: false
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
Enabled: false
Style/SingleLineDoEndBlock: # new in 1.57
Enabled: false
Style/SuperWithArgsParentheses: # new in 1.58
Enabled: false
Style/YAMLFileRead: # new in 1.53
Enabled: false
Performance/MapMethodChain: # new in 1.19
Enabled: false
Rails/DangerousColumnNames: # new in 2.21
Enabled: false
Rails/EnvLocal: # new in 2.22
Enabled: false
Rails/RedundantActiveRecordAllMethod: # new in 2.21
Enabled: false
Rails/ResponseParsedBody: # new in 2.18
Enabled: false
Rails/ThreeStateBooleanColumn: # new in 2.19
Enabled: false
Rails/UnusedRenderContent: # new in 2.21
Enabled: false
2 changes: 1 addition & 1 deletion test/test_avoid_object_send_with_dynamic_method.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/avoid_object_send_with_dynamic_method"

Expand Down
2 changes: 1 addition & 1 deletion test/test_insecure_hash_algorithm.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/insecure_hash_algorithm"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rails_controller_render_action_symbol.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/rails_controller_render_action_symbol"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rails_controller_render_literal.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/rails_controller_render_literal"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rails_controller_render_shorthand.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/rails_controller_render_shorthand"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rails_render_object_collection.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/rails_render_object_collection"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rails_view_render_literal.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/rails_view_render_literal"

Expand Down
2 changes: 1 addition & 1 deletion test/test_rails_view_render_shorthand.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./cop_test"
require_relative "cop_test"
require "minitest/autorun"
require "rubocop/cop/github/rails_view_render_shorthand"

Expand Down

0 comments on commit 349d8f6

Please sign in to comment.