Sha256: aebde73385b84039601407b86db551385fe8b0ebf12a6887ceeb84ea53daeb92

Contents?: true

Size: 1.85 KB

Versions: 1

Compression:

Stored size: 1.85 KB

Contents

<%- assert_locals gem -%>
inherit_gem:
  google-style: google-style.yml

AllCops:
  Exclude:
    - "lib/**/*_pb.rb"
    - "proto_docs/**/*"
    - "test/**/*"

Metrics/AbcSize:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
Metrics/ClassLength:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
Metrics/CyclomaticComplexity:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
Metrics/LineLength:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
    - "<%= gem.name %>.gemspec"
Metrics/MethodLength:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
Metrics/PerceivedComplexity:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
Naming/FileName:
  Exclude:
    - "lib/<%= gem.name %>.rb"
Style/CaseEquality:
  Exclude:
    <%- gem.packages.each do |package| -%>
    <%- package.services.each do |service| -%>
    - "lib/<%= service.client_file_path.sub "client.rb", "*.rb" %>"
    <%- end -%>
    <%- end -%>
    - "lib/<%= gem.name.tr "-", "/" %>.rb"
Style/ModuleFunction:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gapic-generator-cloud-0.1.7 templates/cloud/gem/rubocop.erb