Skip to content

Commit

Permalink
Disable Lint/DuplicateMethods cop
Browse files Browse the repository at this point in the history
  • Loading branch information
KaanOzkan committed Sep 30, 2024
1 parent 1a364b7 commit b5f3391
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions gem/lib/rbi-central.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ module RBICentral
Sorbet/EnforceSignatures:
Enabled: true
Lint/DuplicateMethods:
Enabled: false
YML

class Error < StandardError; end
Expand Down
4 changes: 2 additions & 2 deletions rbi/annotations/lhm-shopify.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Lhm::Migrator
sig { params(sql: String).returns(String) }
def filter(sql); end

# @version <= 4.2.1
# @version <= 4.2.1
sig { params(name: T.any(String, Symbol)).void }
def remove_column(name); end

Expand All @@ -163,7 +163,7 @@ class Lhm::Migrator
end
def remove_index(columns, index_name = nil); end

# @version <= 4.2.1
# @version <= 4.2.1
sig { params(old: T.any(String, Symbol), nu: T.any(String, Symbol)).void }
def rename_column(old, nu); end

Expand Down

0 comments on commit b5f3391

Please sign in to comment.