зеркало из https://github.com/github/octobox.git
68 строки
1.8 KiB
YAML
68 строки
1.8 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2018-11-24 15:59:39 -0500 using RuboCop version 0.60.0.
|
|
# 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.
|
|
|
|
require: rubocop-performance
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Exclude:
|
|
- 'app/channels/application_cable/connection.rb'
|
|
|
|
# Offense count: 3
|
|
Lint/HandleExceptions:
|
|
Exclude:
|
|
- 'app/models/notification.rb'
|
|
- 'config/application.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
|
|
Lint/UselessAccessModifier:
|
|
Exclude:
|
|
- 'app/models/search.rb'
|
|
|
|
# Offense count: 4
|
|
Lint/UselessAssignment:
|
|
Exclude:
|
|
- 'app/models/subject.rb'
|
|
- 'test/controllers/hooks_controller_test.rb'
|
|
- 'test/models/notification_test.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ClassLength:
|
|
Max: 771
|
|
|
|
# Offense count: 9
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 28
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
Metrics/MethodLength:
|
|
Exclude:
|
|
- 'app/models/search.rb'
|
|
- 'test/lib/page_limiting_octokit_client_test.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ModuleLength:
|
|
Exclude:
|
|
- 'app/helpers/notifications_helper.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountKeywordArgs.
|
|
Metrics/ParameterLists:
|
|
Max: 8
|
|
|
|
# Offense count: 604
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
# URISchemes: http, https
|
|
Metrics/LineLength:
|
|
Max: 287
|