4 Star 0 Fork 3

Gitee 组 / licensee

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.rubocop_todo.yml 3.54 KB
一键复制 编辑 原始数据 按行查看 历史
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-12-31 04:13:03 UTC using RuboCop version 1.41.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.
# Offense count: 8
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 84
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 189
# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 20
# Offense count: 9
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 45
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 263
# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 21
# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/UnfreezeString:
Exclude:
- 'spec/licensee/matchers/copyright_matcher_spec.rb'
- 'spec/licensee/project_files/license_file_spec.rb'
# Offense count: 169
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Enabled: false
# Offense count: 7
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
Exclude:
- '**/spec/features/**/*'
- '**/spec/requests/**/*'
- '**/spec/routing/**/*'
- '**/spec/system/**/*'
- '**/spec/views/**/*'
- 'spec/bin_spec.rb'
- 'spec/fixture_spec.rb'
- 'spec/integration_spec.rb'
- 'spec/licensee/commands/detect_spec.rb'
- 'spec/licensee/commands/license_path_spec.rb'
- 'spec/licensee/commands/version_spec.rb'
- 'spec/vendored_license_spec.rb'
# Offense count: 5
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 8
# Offense count: 2
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/licensee/project_files/package_info_spec.rb'
- 'spec/licensee/projects/github_project_spec.rb'
# Offense count: 98
RSpec/MultipleExpectations:
Max: 6
# Offense count: 139
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 16
# Offense count: 290
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Enabled: false
# Offense count: 66
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 6
# Offense count: 2
RSpec/RepeatedDescription:
Exclude:
- 'spec/licensee/hash_helper_spec.rb'
# Offense count: 7
RSpec/ScatteredSetup:
Exclude:
- 'spec/licensee/project_files/project_file_spec.rb'
- 'spec/licensee/project_spec.rb'
# Offense count: 4
RSpec/SubjectStub:
Exclude:
- 'spec/licensee/matchers/package_matcher_spec.rb'
- 'spec/licensee/project_files/project_file_spec.rb'
# Offense count: 36
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/StructInheritance:
Exclude:
- 'lib/licensee/license_field.rb'
- 'lib/licensee/license_meta.rb'
- 'lib/licensee/license_rules.rb'
1
https://gitee.com/mayun-team/licensee.git
git@gitee.com:mayun-team/licensee.git
mayun-team
licensee
licensee
master

搜索帮助