-
Notifications
You must be signed in to change notification settings - Fork 740
/
.rubocop_todo.yml
142 lines (125 loc) · 3.98 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-26 19:45:20 UTC using RuboCop version 1.11.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.
# Offense count: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'rouge.gemspec'
# Offense count: 8
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/formatters/html_spec.rb'
- 'spec/lexer_spec.rb'
- 'spec/theme_spec.rb'
# Offense count: 27
Lint/MissingSuper:
Enabled: false
# Offense count: 2
Lint/MixedRegexpCaptureTypes:
Exclude:
- 'lib/rouge/lexers/elixir.rb'
- 'lib/rouge/lexers/lasso.rb'
# Offense count: 4
Lint/NestedPercentLiteral:
Exclude:
- 'lib/rouge/lexers/hylang.rb'
- 'lib/rouge/lexers/janet.rb'
- 'lib/rouge/lexers/powershell.rb'
- 'spec/lexers/j_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Lint/NonDeterministicRequireOrder:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 1
Lint/OutOfRangeRegexpRef:
Exclude:
- 'lib/rouge/tex_theme_renderer.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
Exclude:
- 'lib/rouge/cli.rb'
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/rouge/theme.rb'
# Offense count: 43
Naming/ConstantName:
Exclude:
- 'lib/rouge/lexers/eiffel.rb'
- 'lib/rouge/themes/gruvbox.rb'
# Offense count: 21
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: lowercase, uppercase
Naming/HeredocDelimiterCase:
Exclude:
- 'rouge.gemspec'
- 'spec/lexers/diff_spec.rb'
- 'spec/lexers/haml_spec.rb'
- 'spec/lexers/html_spec.rb'
- 'spec/lexers/mason_spec.rb'
- 'spec/lexers/matlab_spec.rb'
- 'spec/lexers/shell_spec.rb'
- 'spec/plugins/redcarpet_spec.rb'
- 'spec/theme_spec.rb'
- 'spec/visual_spec.rb'
# Offense count: 4
# Configuration parameters: ForbiddenDelimiters.
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
Exclude:
- 'lib/rouge/tex_theme_renderer.rb'
- 'spec/lexers/swift_spec.rb'
# Offense count: 8
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Exclude:
- 'lib/rouge/lexers/cython.rb'
- 'lib/rouge/lexers/freefem.rb'
- 'lib/rouge/lexers/hack.rb'
- 'lib/rouge/lexers/python.rb'
- 'lib/rouge/lexers/verilog.rb'
- 'lib/rouge/lexers/yang.rb'
# Offense count: 16
# Configuration parameters: EnforcedStyle, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Exclude:
- 'lib/rouge/lexers/igorpro.rb'
- 'lib/rouge/lexers/xpath.rb'
# Offense count: 68
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Enabled: false
# Offense count: 40
# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'lib/rouge/lexers/brightscript.rb'
- 'lib/rouge/lexers/dafny.rb'
- 'lib/rouge/lexers/freefem.rb'
- 'lib/rouge/lexers/igorpro.rb'
- 'lib/rouge/lexers/kotlin.rb'
- 'lib/rouge/lexers/xpath.rb'
# Offense count: 5
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Exclude:
- 'lib/rouge/lexers/c.rb'
- 'lib/rouge/themes/gruvbox.rb'