yamlint 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +31 -9
- data/.serena/.gitignore +1 -0
- data/.serena/memories/project_overview.md +25 -0
- data/.serena/memories/style_and_conventions.md +7 -0
- data/.serena/memories/suggested_commands.md +17 -0
- data/.serena/memories/task_completion.md +5 -0
- data/.serena/project.yml +89 -0
- data/CHANGELOG.md +6 -2
- data/Gemfile +9 -7
- data/LICENSE.txt +1 -1
- data/README.md +155 -17
- data/Rakefile +10 -3
- data/docs/Yamlint/Cli.html +403 -0
- data/docs/Yamlint/Config.html +1034 -0
- data/docs/Yamlint/Formatter.html +433 -0
- data/docs/Yamlint/Linter.html +423 -0
- data/docs/Yamlint/Models/LintContext.html +993 -0
- data/docs/Yamlint/Models/Problem.html +951 -0
- data/docs/Yamlint/Models/Token.html +713 -0
- data/docs/Yamlint/Models.html +117 -0
- data/docs/Yamlint/Output/Base.html +290 -0
- data/docs/Yamlint/Output/Colored.html +293 -0
- data/docs/Yamlint/Output/Github.html +260 -0
- data/docs/Yamlint/Output/Parsable.html +258 -0
- data/docs/Yamlint/Output/Standard.html +270 -0
- data/docs/Yamlint/Output.html +208 -0
- data/docs/Yamlint/Parser/Comment.html +795 -0
- data/docs/Yamlint/Parser/CommentExtractor.html +287 -0
- data/docs/Yamlint/Parser/LineParser.html +423 -0
- data/docs/Yamlint/Parser/TokenParser/Handler.html +910 -0
- data/docs/Yamlint/Parser/TokenParser.html +291 -0
- data/docs/Yamlint/Parser.html +117 -0
- data/docs/Yamlint/Presets.html +266 -0
- data/docs/Yamlint/Rules/Anchors/AnchorHandler.html +678 -0
- data/docs/Yamlint/Rules/Anchors.html +314 -0
- data/docs/Yamlint/Rules/Base.html +968 -0
- data/docs/Yamlint/Rules/Braces.html +335 -0
- data/docs/Yamlint/Rules/Brackets.html +335 -0
- data/docs/Yamlint/Rules/Colons.html +313 -0
- data/docs/Yamlint/Rules/Commas.html +313 -0
- data/docs/Yamlint/Rules/CommentRule.html +298 -0
- data/docs/Yamlint/Rules/Comments.html +317 -0
- data/docs/Yamlint/Rules/CommentsIndentation.html +328 -0
- data/docs/Yamlint/Rules/DocumentEnd.html +332 -0
- data/docs/Yamlint/Rules/DocumentStart.html +332 -0
- data/docs/Yamlint/Rules/EmptyLines.html +300 -0
- data/docs/Yamlint/Rules/EmptyValues.html +273 -0
- data/docs/Yamlint/Rules/FloatValues.html +383 -0
- data/docs/Yamlint/Rules/Hyphens.html +337 -0
- data/docs/Yamlint/Rules/Indentation.html +329 -0
- data/docs/Yamlint/Rules/KeyDuplicates/DuplicateKeyHandler.html +716 -0
- data/docs/Yamlint/Rules/KeyDuplicates.html +258 -0
- data/docs/Yamlint/Rules/KeyOrdering/KeyOrderHandler.html +694 -0
- data/docs/Yamlint/Rules/KeyOrdering.html +258 -0
- data/docs/Yamlint/Rules/LineLength.html +251 -0
- data/docs/Yamlint/Rules/LineRule.html +304 -0
- data/docs/Yamlint/Rules/NewLineAtEndOfFile.html +308 -0
- data/docs/Yamlint/Rules/NewLines.html +310 -0
- data/docs/Yamlint/Rules/OctalValues.html +270 -0
- data/docs/Yamlint/Rules/QuotedStrings.html +381 -0
- data/docs/Yamlint/Rules/Registry.html +492 -0
- data/docs/Yamlint/Rules/TokenRule.html +298 -0
- data/docs/Yamlint/Rules/TrailingSpaces.html +321 -0
- data/docs/Yamlint/Rules/Truthy.html +288 -0
- data/docs/Yamlint/Rules.html +190 -0
- data/docs/Yamlint/Runner.html +551 -0
- data/docs/Yamlint.html +135 -0
- data/docs/_index.html +643 -0
- data/docs/class_list.html +54 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +490 -0
- data/docs/file.README.html +276 -0
- data/docs/file_list.html +59 -0
- data/docs/frames.html +22 -0
- data/docs/index.html +276 -0
- data/docs/js/app.js +395 -0
- data/docs/js/full_list.js +244 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +1582 -0
- data/docs/top-level-namespace.html +110 -0
- data/exe/yamlint +7 -0
- data/lib/yamlint/cli.rb +162 -0
- data/lib/yamlint/config.rb +113 -0
- data/lib/yamlint/formatter.rb +140 -0
- data/lib/yamlint/linter.rb +130 -0
- data/lib/yamlint/models/lint_context.rb +43 -0
- data/lib/yamlint/models/problem.rb +44 -0
- data/lib/yamlint/models/token.rb +22 -0
- data/lib/yamlint/models.rb +9 -0
- data/lib/yamlint/output/base.rb +15 -0
- data/lib/yamlint/output/colored.rb +54 -0
- data/lib/yamlint/output/github.rb +20 -0
- data/lib/yamlint/output/parsable.rb +19 -0
- data/lib/yamlint/output/standard.rb +25 -0
- data/lib/yamlint/output.rb +26 -0
- data/lib/yamlint/parser/comment_extractor.rb +78 -0
- data/lib/yamlint/parser/line_parser.rb +30 -0
- data/lib/yamlint/parser/token_parser.rb +92 -0
- data/lib/yamlint/parser.rb +10 -0
- data/lib/yamlint/presets/default.rb +35 -0
- data/lib/yamlint/presets/relaxed.rb +34 -0
- data/lib/yamlint/presets.rb +19 -0
- data/lib/yamlint/rules/anchors.rb +133 -0
- data/lib/yamlint/rules/base.rb +102 -0
- data/lib/yamlint/rules/braces.rb +105 -0
- data/lib/yamlint/rules/brackets.rb +105 -0
- data/lib/yamlint/rules/colons.rb +73 -0
- data/lib/yamlint/rules/commas.rb +85 -0
- data/lib/yamlint/rules/comments.rb +77 -0
- data/lib/yamlint/rules/comments_indentation.rb +66 -0
- data/lib/yamlint/rules/document_end.rb +45 -0
- data/lib/yamlint/rules/document_start.rb +45 -0
- data/lib/yamlint/rules/empty_lines.rb +107 -0
- data/lib/yamlint/rules/empty_values.rb +43 -0
- data/lib/yamlint/rules/float_values.rb +67 -0
- data/lib/yamlint/rules/hyphens.rb +42 -0
- data/lib/yamlint/rules/indentation.rb +39 -0
- data/lib/yamlint/rules/key_duplicates.rb +127 -0
- data/lib/yamlint/rules/key_ordering.rb +126 -0
- data/lib/yamlint/rules/line_length.rb +57 -0
- data/lib/yamlint/rules/new_line_at_end_of_file.rb +31 -0
- data/lib/yamlint/rules/new_lines.rb +59 -0
- data/lib/yamlint/rules/octal_values.rb +62 -0
- data/lib/yamlint/rules/quoted_strings.rb +73 -0
- data/lib/yamlint/rules/registry.rb +48 -0
- data/lib/yamlint/rules/trailing_spaces.rb +31 -0
- data/lib/yamlint/rules/truthy.rb +48 -0
- data/lib/yamlint/rules.rb +41 -0
- data/lib/yamlint/runner.rb +80 -0
- data/lib/yamlint/version.rb +1 -1
- data/lib/yamlint.rb +11 -3
- metadata +131 -11
- data/CODE_OF_CONDUCT.md +0 -84
- data/sig/yamlint.rbs +0 -4
|
@@ -0,0 +1,968 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>
|
|
7
|
+
Class: Yamlint::Rules::Base
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.9.38
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript">
|
|
18
|
+
pathId = "Yamlint::Rules::Base";
|
|
19
|
+
relpath = '../../';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
|
24
|
+
|
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
38
|
+
|
|
39
|
+
<a href="../../_index.html">Index (B)</a> »
|
|
40
|
+
<span class='title'><span class='object_link'><a href="../../Yamlint.html" title="Yamlint (module)">Yamlint</a></span></span> » <span class='title'><span class='object_link'><a href="../Rules.html" title="Yamlint::Rules (module)">Rules</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">Base</span>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="search">
|
|
47
|
+
|
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
|
49
|
+
href="../../class_list.html">
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div id="content"><h1>Class: Yamlint::Rules::Base
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
72
|
+
<span class="inheritName">Object</span>
|
|
73
|
+
|
|
74
|
+
<ul class="fullTree">
|
|
75
|
+
<li>Object</li>
|
|
76
|
+
|
|
77
|
+
<li class="next">Yamlint::Rules::Base</li>
|
|
78
|
+
|
|
79
|
+
</ul>
|
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
81
|
+
|
|
82
|
+
</dd>
|
|
83
|
+
</dl>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<dl>
|
|
96
|
+
<dt>Defined in:</dt>
|
|
97
|
+
<dd>lib/yamlint/rules/base.rb</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<div id="subclasses">
|
|
103
|
+
<h2>Direct Known Subclasses</h2>
|
|
104
|
+
<p class="children"><span class='object_link'><a href="Anchors.html" title="Yamlint::Rules::Anchors (class)">Anchors</a></span>, <span class='object_link'><a href="CommentRule.html" title="Yamlint::Rules::CommentRule (class)">CommentRule</a></span>, <span class='object_link'><a href="CommentsIndentation.html" title="Yamlint::Rules::CommentsIndentation (class)">CommentsIndentation</a></span>, <span class='object_link'><a href="DocumentEnd.html" title="Yamlint::Rules::DocumentEnd (class)">DocumentEnd</a></span>, <span class='object_link'><a href="DocumentStart.html" title="Yamlint::Rules::DocumentStart (class)">DocumentStart</a></span>, <span class='object_link'><a href="EmptyLines.html" title="Yamlint::Rules::EmptyLines (class)">EmptyLines</a></span>, <span class='object_link'><a href="KeyDuplicates.html" title="Yamlint::Rules::KeyDuplicates (class)">KeyDuplicates</a></span>, <span class='object_link'><a href="KeyOrdering.html" title="Yamlint::Rules::KeyOrdering (class)">KeyOrdering</a></span>, <span class='object_link'><a href="LineRule.html" title="Yamlint::Rules::LineRule (class)">LineRule</a></span>, <span class='object_link'><a href="NewLineAtEndOfFile.html" title="Yamlint::Rules::NewLineAtEndOfFile (class)">NewLineAtEndOfFile</a></span>, <span class='object_link'><a href="NewLines.html" title="Yamlint::Rules::NewLines (class)">NewLines</a></span>, <span class='object_link'><a href="TokenRule.html" title="Yamlint::Rules::TokenRule (class)">TokenRule</a></span></p>
|
|
105
|
+
</div>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<h2>Class Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
111
|
+
<ul class="summary">
|
|
112
|
+
|
|
113
|
+
<li class="public ">
|
|
114
|
+
<span class="summary_signature">
|
|
115
|
+
|
|
116
|
+
<a href="#default_options-class_method" title="default_options (class method)">.<strong>default_options</strong> ⇒ Object </a>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</span>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<span class="note title readonly">readonly</span>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<span class="summary_desc"><div class='inline'>
|
|
136
|
+
<p>Returns the value of attribute default_options.</p>
|
|
137
|
+
</div></span>
|
|
138
|
+
|
|
139
|
+
</li>
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
<li class="public ">
|
|
143
|
+
<span class="summary_signature">
|
|
144
|
+
|
|
145
|
+
<a href="#description-class_method" title="description (class method)">.<strong>description</strong> ⇒ Object </a>
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
</span>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<span class="note title readonly">readonly</span>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
<span class="summary_desc"><div class='inline'>
|
|
165
|
+
<p>Returns the value of attribute description.</p>
|
|
166
|
+
</div></span>
|
|
167
|
+
|
|
168
|
+
</li>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<li class="public ">
|
|
172
|
+
<span class="summary_signature">
|
|
173
|
+
|
|
174
|
+
<a href="#id-class_method" title="id (class method)">.<strong>id</strong> ⇒ Object </a>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
</span>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<span class="note title readonly">readonly</span>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<span class="summary_desc"><div class='inline'>
|
|
194
|
+
<p>Returns the value of attribute id.</p>
|
|
195
|
+
</div></span>
|
|
196
|
+
|
|
197
|
+
</li>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</ul>
|
|
201
|
+
|
|
202
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
203
|
+
<ul class="summary">
|
|
204
|
+
|
|
205
|
+
<li class="public ">
|
|
206
|
+
<span class="summary_signature">
|
|
207
|
+
|
|
208
|
+
<a href="#config-instance_method" title="#config (instance method)">#<strong>config</strong> ⇒ Object </a>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
</span>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
<span class="note title readonly">readonly</span>
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
<span class="summary_desc"><div class='inline'>
|
|
228
|
+
<p>Returns the value of attribute config.</p>
|
|
229
|
+
</div></span>
|
|
230
|
+
|
|
231
|
+
</li>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<li class="public ">
|
|
235
|
+
<span class="summary_signature">
|
|
236
|
+
|
|
237
|
+
<a href="#level-instance_method" title="#level (instance method)">#<strong>level</strong> ⇒ Object </a>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
</span>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
<span class="note title readonly">readonly</span>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<span class="summary_desc"><div class='inline'>
|
|
257
|
+
<p>Returns the value of attribute level.</p>
|
|
258
|
+
</div></span>
|
|
259
|
+
|
|
260
|
+
</li>
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
</ul>
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
<h2>
|
|
270
|
+
Class Method Summary
|
|
271
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
272
|
+
</h2>
|
|
273
|
+
|
|
274
|
+
<ul class="summary">
|
|
275
|
+
|
|
276
|
+
<li class="public ">
|
|
277
|
+
<span class="summary_signature">
|
|
278
|
+
|
|
279
|
+
<a href="#defaults-class_method" title="defaults (class method)">.<strong>defaults</strong>(options) ⇒ Object </a>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
</span>
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
294
|
+
|
|
295
|
+
</li>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
<li class="public ">
|
|
299
|
+
<span class="summary_signature">
|
|
300
|
+
|
|
301
|
+
<a href="#desc-class_method" title="desc (class method)">.<strong>desc</strong>(description) ⇒ Object </a>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
</span>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
316
|
+
|
|
317
|
+
</li>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
<li class="public ">
|
|
321
|
+
<span class="summary_signature">
|
|
322
|
+
|
|
323
|
+
<a href="#inherited-class_method" title="inherited (class method)">.<strong>inherited</strong>(subclass) ⇒ Object </a>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
</span>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
338
|
+
|
|
339
|
+
</li>
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
<li class="public ">
|
|
343
|
+
<span class="summary_signature">
|
|
344
|
+
|
|
345
|
+
<a href="#rule_id-class_method" title="rule_id (class method)">.<strong>rule_id</strong>(id) ⇒ Object </a>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
</span>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
360
|
+
|
|
361
|
+
</li>
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
</ul>
|
|
365
|
+
|
|
366
|
+
<h2>
|
|
367
|
+
Instance Method Summary
|
|
368
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
369
|
+
</h2>
|
|
370
|
+
|
|
371
|
+
<ul class="summary">
|
|
372
|
+
|
|
373
|
+
<li class="public ">
|
|
374
|
+
<span class="summary_signature">
|
|
375
|
+
|
|
376
|
+
<a href="#check-instance_method" title="#check (instance method)">#<strong>check</strong>(_context) ⇒ Object </a>
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
</span>
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
391
|
+
|
|
392
|
+
</li>
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
<li class="public ">
|
|
396
|
+
<span class="summary_signature">
|
|
397
|
+
|
|
398
|
+
<a href="#fixable%3F-instance_method" title="#fixable? (instance method)">#<strong>fixable?</strong> ⇒ Boolean </a>
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
</span>
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
413
|
+
|
|
414
|
+
</li>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
<li class="public ">
|
|
418
|
+
<span class="summary_signature">
|
|
419
|
+
|
|
420
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(config = {}) ⇒ Base </a>
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
</span>
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<span class="note title constructor">constructor</span>
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
<span class="summary_desc"><div class='inline'>
|
|
437
|
+
<p>A new instance of Base.</p>
|
|
438
|
+
</div></span>
|
|
439
|
+
|
|
440
|
+
</li>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
</ul>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
<div id="constructor_details" class="method_details_list">
|
|
447
|
+
<h2>Constructor Details</h2>
|
|
448
|
+
|
|
449
|
+
<div class="method_details first">
|
|
450
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
451
|
+
|
|
452
|
+
#<strong>initialize</strong>(config = {}) ⇒ <tt><span class='object_link'><a href="" title="Yamlint::Rules::Base (class)">Base</a></span></tt>
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
</h3><div class="docstring">
|
|
459
|
+
<div class="discussion">
|
|
460
|
+
|
|
461
|
+
<p>Returns a new instance of Base.</p>
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
</div>
|
|
465
|
+
</div>
|
|
466
|
+
<div class="tags">
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
</div><table class="source_code">
|
|
470
|
+
<tr>
|
|
471
|
+
<td>
|
|
472
|
+
<pre class="lines">
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
29
|
|
476
|
+
30
|
|
477
|
+
31
|
|
478
|
+
32</pre>
|
|
479
|
+
</td>
|
|
480
|
+
<td>
|
|
481
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 29</span>
|
|
482
|
+
|
|
483
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
484
|
+
<span class='ivar'>@config</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_default_options'>default_options</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span><span class='rparen'>)</span>
|
|
485
|
+
<span class='ivar'>@level</span> <span class='op'>=</span> <span class='ivar'>@config</span><span class='lbracket'>[</span><span class='symbol'>:level</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='symbol'>:error</span>
|
|
486
|
+
<span class='kw'>end</span></pre>
|
|
487
|
+
</td>
|
|
488
|
+
</tr>
|
|
489
|
+
</table>
|
|
490
|
+
</div>
|
|
491
|
+
|
|
492
|
+
</div>
|
|
493
|
+
|
|
494
|
+
<div id="class_attr_details" class="attr_details">
|
|
495
|
+
<h2>Class Attribute Details</h2>
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
<span id=""></span>
|
|
499
|
+
<div class="method_details first">
|
|
500
|
+
<h3 class="signature first" id="default_options-class_method">
|
|
501
|
+
|
|
502
|
+
.<strong>default_options</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
</h3><div class="docstring">
|
|
509
|
+
<div class="discussion">
|
|
510
|
+
|
|
511
|
+
<p>Returns the value of attribute default_options.</p>
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
</div>
|
|
515
|
+
</div>
|
|
516
|
+
<div class="tags">
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
</div><table class="source_code">
|
|
520
|
+
<tr>
|
|
521
|
+
<td>
|
|
522
|
+
<pre class="lines">
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
7
|
|
526
|
+
8
|
|
527
|
+
9</pre>
|
|
528
|
+
</td>
|
|
529
|
+
<td>
|
|
530
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 7</span>
|
|
531
|
+
|
|
532
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_default_options'>default_options</span>
|
|
533
|
+
<span class='ivar'>@default_options</span>
|
|
534
|
+
<span class='kw'>end</span></pre>
|
|
535
|
+
</td>
|
|
536
|
+
</tr>
|
|
537
|
+
</table>
|
|
538
|
+
</div>
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
<span id=""></span>
|
|
542
|
+
<div class="method_details ">
|
|
543
|
+
<h3 class="signature " id="description-class_method">
|
|
544
|
+
|
|
545
|
+
.<strong>description</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
</h3><div class="docstring">
|
|
552
|
+
<div class="discussion">
|
|
553
|
+
|
|
554
|
+
<p>Returns the value of attribute description.</p>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
</div>
|
|
558
|
+
</div>
|
|
559
|
+
<div class="tags">
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
</div><table class="source_code">
|
|
563
|
+
<tr>
|
|
564
|
+
<td>
|
|
565
|
+
<pre class="lines">
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
7
|
|
569
|
+
8
|
|
570
|
+
9</pre>
|
|
571
|
+
</td>
|
|
572
|
+
<td>
|
|
573
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 7</span>
|
|
574
|
+
|
|
575
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
|
576
|
+
<span class='ivar'>@description</span>
|
|
577
|
+
<span class='kw'>end</span></pre>
|
|
578
|
+
</td>
|
|
579
|
+
</tr>
|
|
580
|
+
</table>
|
|
581
|
+
</div>
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
<span id=""></span>
|
|
585
|
+
<div class="method_details ">
|
|
586
|
+
<h3 class="signature " id="id-class_method">
|
|
587
|
+
|
|
588
|
+
.<strong>id</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
</h3><div class="docstring">
|
|
595
|
+
<div class="discussion">
|
|
596
|
+
|
|
597
|
+
<p>Returns the value of attribute id.</p>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
</div>
|
|
601
|
+
</div>
|
|
602
|
+
<div class="tags">
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
</div><table class="source_code">
|
|
606
|
+
<tr>
|
|
607
|
+
<td>
|
|
608
|
+
<pre class="lines">
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
7
|
|
612
|
+
8
|
|
613
|
+
9</pre>
|
|
614
|
+
</td>
|
|
615
|
+
<td>
|
|
616
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 7</span>
|
|
617
|
+
|
|
618
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
|
619
|
+
<span class='ivar'>@id</span>
|
|
620
|
+
<span class='kw'>end</span></pre>
|
|
621
|
+
</td>
|
|
622
|
+
</tr>
|
|
623
|
+
</table>
|
|
624
|
+
</div>
|
|
625
|
+
|
|
626
|
+
</div>
|
|
627
|
+
|
|
628
|
+
<div id="instance_attr_details" class="attr_details">
|
|
629
|
+
<h2>Instance Attribute Details</h2>
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
<span id=""></span>
|
|
633
|
+
<div class="method_details first">
|
|
634
|
+
<h3 class="signature first" id="config-instance_method">
|
|
635
|
+
|
|
636
|
+
#<strong>config</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
</h3><div class="docstring">
|
|
643
|
+
<div class="discussion">
|
|
644
|
+
|
|
645
|
+
<p>Returns the value of attribute config.</p>
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
</div>
|
|
649
|
+
</div>
|
|
650
|
+
<div class="tags">
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
</div><table class="source_code">
|
|
654
|
+
<tr>
|
|
655
|
+
<td>
|
|
656
|
+
<pre class="lines">
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
27
|
|
660
|
+
28
|
|
661
|
+
29</pre>
|
|
662
|
+
</td>
|
|
663
|
+
<td>
|
|
664
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 27</span>
|
|
665
|
+
|
|
666
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_config'>config</span>
|
|
667
|
+
<span class='ivar'>@config</span>
|
|
668
|
+
<span class='kw'>end</span></pre>
|
|
669
|
+
</td>
|
|
670
|
+
</tr>
|
|
671
|
+
</table>
|
|
672
|
+
</div>
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
<span id=""></span>
|
|
676
|
+
<div class="method_details ">
|
|
677
|
+
<h3 class="signature " id="level-instance_method">
|
|
678
|
+
|
|
679
|
+
#<strong>level</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
</h3><div class="docstring">
|
|
686
|
+
<div class="discussion">
|
|
687
|
+
|
|
688
|
+
<p>Returns the value of attribute level.</p>
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
</div>
|
|
692
|
+
</div>
|
|
693
|
+
<div class="tags">
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
</div><table class="source_code">
|
|
697
|
+
<tr>
|
|
698
|
+
<td>
|
|
699
|
+
<pre class="lines">
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
27
|
|
703
|
+
28
|
|
704
|
+
29</pre>
|
|
705
|
+
</td>
|
|
706
|
+
<td>
|
|
707
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 27</span>
|
|
708
|
+
|
|
709
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_level'>level</span>
|
|
710
|
+
<span class='ivar'>@level</span>
|
|
711
|
+
<span class='kw'>end</span></pre>
|
|
712
|
+
</td>
|
|
713
|
+
</tr>
|
|
714
|
+
</table>
|
|
715
|
+
</div>
|
|
716
|
+
|
|
717
|
+
</div>
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
<div id="class_method_details" class="method_details_list">
|
|
721
|
+
<h2>Class Method Details</h2>
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
<div class="method_details first">
|
|
725
|
+
<h3 class="signature first" id="defaults-class_method">
|
|
726
|
+
|
|
727
|
+
.<strong>defaults</strong>(options) ⇒ <tt>Object</tt>
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
</h3><table class="source_code">
|
|
734
|
+
<tr>
|
|
735
|
+
<td>
|
|
736
|
+
<pre class="lines">
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
17
|
|
740
|
+
18
|
|
741
|
+
19</pre>
|
|
742
|
+
</td>
|
|
743
|
+
<td>
|
|
744
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 17</span>
|
|
745
|
+
|
|
746
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_defaults'>defaults</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
747
|
+
<span class='ivar'>@default_options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
|
|
748
|
+
<span class='kw'>end</span></pre>
|
|
749
|
+
</td>
|
|
750
|
+
</tr>
|
|
751
|
+
</table>
|
|
752
|
+
</div>
|
|
753
|
+
|
|
754
|
+
<div class="method_details ">
|
|
755
|
+
<h3 class="signature " id="desc-class_method">
|
|
756
|
+
|
|
757
|
+
.<strong>desc</strong>(description) ⇒ <tt>Object</tt>
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
</h3><table class="source_code">
|
|
764
|
+
<tr>
|
|
765
|
+
<td>
|
|
766
|
+
<pre class="lines">
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
13
|
|
770
|
+
14
|
|
771
|
+
15</pre>
|
|
772
|
+
</td>
|
|
773
|
+
<td>
|
|
774
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 13</span>
|
|
775
|
+
|
|
776
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_desc'>desc</span><span class='lparen'>(</span><span class='id identifier rubyid_description'>description</span><span class='rparen'>)</span>
|
|
777
|
+
<span class='ivar'>@description</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span>
|
|
778
|
+
<span class='kw'>end</span></pre>
|
|
779
|
+
</td>
|
|
780
|
+
</tr>
|
|
781
|
+
</table>
|
|
782
|
+
</div>
|
|
783
|
+
|
|
784
|
+
<div class="method_details ">
|
|
785
|
+
<h3 class="signature " id="inherited-class_method">
|
|
786
|
+
|
|
787
|
+
.<strong>inherited</strong>(subclass) ⇒ <tt>Object</tt>
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
</h3><table class="source_code">
|
|
794
|
+
<tr>
|
|
795
|
+
<td>
|
|
796
|
+
<pre class="lines">
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
21
|
|
800
|
+
22
|
|
801
|
+
23
|
|
802
|
+
24</pre>
|
|
803
|
+
</td>
|
|
804
|
+
<td>
|
|
805
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 21</span>
|
|
806
|
+
|
|
807
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inherited'>inherited</span><span class='lparen'>(</span><span class='id identifier rubyid_subclass'>subclass</span><span class='rparen'>)</span>
|
|
808
|
+
<span class='kw'>super</span>
|
|
809
|
+
<span class='id identifier rubyid_subclass'>subclass</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span><span class='lparen'>(</span><span class='symbol'>:@default_options</span><span class='comma'>,</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
810
|
+
<span class='kw'>end</span></pre>
|
|
811
|
+
</td>
|
|
812
|
+
</tr>
|
|
813
|
+
</table>
|
|
814
|
+
</div>
|
|
815
|
+
|
|
816
|
+
<div class="method_details ">
|
|
817
|
+
<h3 class="signature " id="rule_id-class_method">
|
|
818
|
+
|
|
819
|
+
.<strong>rule_id</strong>(id) ⇒ <tt>Object</tt>
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
</h3><table class="source_code">
|
|
826
|
+
<tr>
|
|
827
|
+
<td>
|
|
828
|
+
<pre class="lines">
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
9
|
|
832
|
+
10
|
|
833
|
+
11</pre>
|
|
834
|
+
</td>
|
|
835
|
+
<td>
|
|
836
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 9</span>
|
|
837
|
+
|
|
838
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_rule_id'>rule_id</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
|
|
839
|
+
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
|
|
840
|
+
<span class='kw'>end</span></pre>
|
|
841
|
+
</td>
|
|
842
|
+
</tr>
|
|
843
|
+
</table>
|
|
844
|
+
</div>
|
|
845
|
+
|
|
846
|
+
</div>
|
|
847
|
+
|
|
848
|
+
<div id="instance_method_details" class="method_details_list">
|
|
849
|
+
<h2>Instance Method Details</h2>
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
<div class="method_details first">
|
|
853
|
+
<h3 class="signature first" id="check-instance_method">
|
|
854
|
+
|
|
855
|
+
#<strong>check</strong>(_context) ⇒ <tt>Object</tt>
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
</h3><div class="docstring">
|
|
862
|
+
<div class="discussion">
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
</div>
|
|
866
|
+
</div>
|
|
867
|
+
<div class="tags">
|
|
868
|
+
|
|
869
|
+
<p class="tag_title">Raises:</p>
|
|
870
|
+
<ul class="raise">
|
|
871
|
+
|
|
872
|
+
<li>
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
<span class='type'>(<tt>NotImplementedError</tt>)</span>
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
</li>
|
|
880
|
+
|
|
881
|
+
</ul>
|
|
882
|
+
|
|
883
|
+
</div><table class="source_code">
|
|
884
|
+
<tr>
|
|
885
|
+
<td>
|
|
886
|
+
<pre class="lines">
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
34
|
|
890
|
+
35
|
|
891
|
+
36</pre>
|
|
892
|
+
</td>
|
|
893
|
+
<td>
|
|
894
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 34</span>
|
|
895
|
+
|
|
896
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_check'>check</span><span class='lparen'>(</span><span class='id identifier rubyid__context'>_context</span><span class='rparen'>)</span>
|
|
897
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='embexpr_end'>}</span><span class='tstring_content'>#check must be implemented</span><span class='tstring_end'>"</span></span>
|
|
898
|
+
<span class='kw'>end</span></pre>
|
|
899
|
+
</td>
|
|
900
|
+
</tr>
|
|
901
|
+
</table>
|
|
902
|
+
</div>
|
|
903
|
+
|
|
904
|
+
<div class="method_details ">
|
|
905
|
+
<h3 class="signature " id="fixable?-instance_method">
|
|
906
|
+
|
|
907
|
+
#<strong>fixable?</strong> ⇒ <tt>Boolean</tt>
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
</h3><div class="docstring">
|
|
914
|
+
<div class="discussion">
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
</div>
|
|
918
|
+
</div>
|
|
919
|
+
<div class="tags">
|
|
920
|
+
|
|
921
|
+
<p class="tag_title">Returns:</p>
|
|
922
|
+
<ul class="return">
|
|
923
|
+
|
|
924
|
+
<li>
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
</li>
|
|
932
|
+
|
|
933
|
+
</ul>
|
|
934
|
+
|
|
935
|
+
</div><table class="source_code">
|
|
936
|
+
<tr>
|
|
937
|
+
<td>
|
|
938
|
+
<pre class="lines">
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
38
|
|
942
|
+
39
|
|
943
|
+
40</pre>
|
|
944
|
+
</td>
|
|
945
|
+
<td>
|
|
946
|
+
<pre class="code"><span class="info file"># File 'lib/yamlint/rules/base.rb', line 38</span>
|
|
947
|
+
|
|
948
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_fixable?'>fixable?</span>
|
|
949
|
+
<span class='kw'>false</span>
|
|
950
|
+
<span class='kw'>end</span></pre>
|
|
951
|
+
</td>
|
|
952
|
+
</tr>
|
|
953
|
+
</table>
|
|
954
|
+
</div>
|
|
955
|
+
|
|
956
|
+
</div>
|
|
957
|
+
|
|
958
|
+
</div>
|
|
959
|
+
|
|
960
|
+
<div id="footer">
|
|
961
|
+
Generated on Sun Jan 25 08:00:08 2026 by
|
|
962
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
963
|
+
0.9.38 (ruby-4.0.0).
|
|
964
|
+
</div>
|
|
965
|
+
|
|
966
|
+
</div>
|
|
967
|
+
</body>
|
|
968
|
+
</html>
|