forked from sparklemotion/nokogiri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
69 lines (62 loc) · 2.26 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 50`
# on 2022-08-23 18:18:31 UTC using RuboCop version 1.35.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: 3
Lint/MissingSuper:
Exclude:
- 'lib/nokogiri/html4/document_fragment.rb'
- 'lib/nokogiri/html5/document_fragment.rb'
- 'lib/nokogiri/xml/document_fragment.rb'
# Offense count: 4
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 2
# Configuration parameters: Max, CountKeywordArgs.
Metrics/ParameterLists:
MaxOptionalParameters: 4
# Offense count: 3
# Configuration parameters: MinSize.
Performance/CollectionLiteralInLoop:
Exclude:
- 'test/html5/test_tree_construction.rb'
- 'test/xml/test_dtd_encoding.rb'
- 'test/xml/test_node_reparenting.rb'
# Offense count: 23
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: def_self, self_class
Style/ClassMethodsDefinitions:
Exclude:
- 'lib/nokogiri/css/xpath_visitor.rb'
- 'lib/nokogiri/html4/document_fragment.rb'
- 'lib/nokogiri/html4/encoding_reader.rb'
- 'lib/nokogiri/html4/sax/parser_context.rb'
- 'lib/nokogiri/html5.rb'
- 'lib/nokogiri/html5/document_fragment.rb'
- 'lib/nokogiri/version/info.rb'
- 'lib/nokogiri/xml/builder.rb'
- 'lib/nokogiri/xml/document_fragment.rb'
- 'lib/nokogiri/xml/entity_decl.rb'
- 'lib/nokogiri/xml/sax/parser_context.rb'
- 'lib/nokogiri/xml/schema.rb'
- 'test/helper.rb'
- 'test/html5/test_serialize.rb'
- 'test/html5/test_tree_construction.rb'
- 'test/test_memory_leak.rb'
- 'test/test_soap4r_sax.rb'
- 'test/xml/test_entity_reference.rb'
# Offense count: 2
Style/MissingRespondToMissing:
Exclude:
- 'lib/nokogiri/xml/builder.rb'
# Offense count: 73
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 250