saiqulhaq/firebase_dynamic_link

View on GitHub

Showing 47 of 50 total issues

Line is too long. [89/80]
Open

    # @see FirebaseDynamicLink::LinkRenderer#render LinkRenderer#render for returned Hash
Severity: Minor
Found in lib/firebase_dynamic_link/client.rb by rubocop

Line is too long. [90/80]
Open

                                        headers: { 'Content-Type' => 'application/json' })

required_ruby_version (2.7, declared in firebase_dynamic_link.gemspec) and TargetRubyVersion (2.1, declared in .rubocop.yml) should be equal.
Open

  spec.required_ruby_version = '>= 2.7.0'
Severity: Minor
Found in firebase_dynamic_link.gemspec by rubocop

Checks that required_ruby_version of gemspec and TargetRubyVersion of .rubocop.yml are equal. Thereby, RuboCop to perform static analysis working on the version required by gemspec.

Example:

# When `TargetRubyVersion` of .rubocop.yml is `2.3`.

# bad
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.2.0'
end

# bad
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.4.0'
end

# good
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.3.0'
end

# good
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.3'
end

# good
Gem::Specification.new do |spec|
  spec.required_ruby_version = ['>= 2.3.0', '< 2.5.0']
end

Line is too long. [97/80]
Open

Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
Severity: Minor
Found in bin/bundler-audit by rubocop

Line is too long. [88/80]
Open

    # @raise FirebaseDynamicLink::QuotaExceeded if request reached Google Firebase quota

Line is too long. [101/80]
Open

      dynamic_link_domain ||= config.dynamic_link_domain || raise(FirebaseDynamicLink::InvalidConfig,
Severity: Minor
Found in lib/firebase_dynamic_link/client.rb by rubocop

Line is too long. [98/80]
Open

    # @raise FirebaseDynamicLink::ConnectionError if there is something wrong with Faraday request
Severity
Category
Status
Source
Language