mdl 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mdl/doc.rb +1 -1
  3. data/lib/mdl/version.rb +1 -1
  4. data/mdl.gemspec +3 -3
  5. metadata +4 -266
  6. data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -22
  7. data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
  8. data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST.md +0 -20
  9. data/.github/ISSUE_TEMPLATE/RULE_REQUEST.md +0 -20
  10. data/.github/PULL_REQUEST_TEMPLATE.md +0 -23
  11. data/.gitignore +0 -13
  12. data/.pre-commit-hooks.yaml +0 -6
  13. data/.travis.yml +0 -12
  14. data/CHANGELOG.md +0 -218
  15. data/CONTRIBUTING.md +0 -76
  16. data/MAINTAINERS.md +0 -21
  17. data/README.md +0 -87
  18. data/Rakefile +0 -8
  19. data/docs/RULES.md +0 -1089
  20. data/docs/configuration.md +0 -99
  21. data/docs/creating_rules.md +0 -90
  22. data/docs/creating_styles.md +0 -47
  23. data/docs/rolling_a_release.md +0 -51
  24. data/example/markdown_spec.md +0 -897
  25. data/test/fixtures/default_mdlrc +0 -1
  26. data/test/fixtures/dir_with_md_and_markdown/bar.markdown +0 -1
  27. data/test/fixtures/dir_with_md_and_markdown/foo.md +0 -1
  28. data/test/fixtures/front_matter/jekyll_post.md +0 -16
  29. data/test/fixtures/front_matter/jekyll_post_2.md +0 -17
  30. data/test/fixtures/mdlrc_disable_rules +0 -1
  31. data/test/fixtures/mdlrc_disable_tags +0 -1
  32. data/test/fixtures/mdlrc_enable_rules +0 -1
  33. data/test/fixtures/mdlrc_enable_tags +0 -1
  34. data/test/fixtures/my_ruleset.rb +0 -6
  35. data/test/rule_tests/alternate_top_level_header.md +0 -3
  36. data/test/rule_tests/alternate_top_level_header_style.rb +0 -4
  37. data/test/rule_tests/atx_closed_header_spacing.md +0 -17
  38. data/test/rule_tests/atx_header_spacing.md +0 -5
  39. data/test/rule_tests/blockquote_blank_lines.md +0 -31
  40. data/test/rule_tests/blockquote_spaces.md +0 -23
  41. data/test/rule_tests/bulleted_list_2_space_indent.md +0 -6
  42. data/test/rule_tests/bulleted_list_2_space_indent_style.rb +0 -3
  43. data/test/rule_tests/bulleted_list_4_space_indent.md +0 -3
  44. data/test/rule_tests/bulleted_list_not_at_beginning_of_line.md +0 -14
  45. data/test/rule_tests/code_block_consistency.md +0 -11
  46. data/test/rule_tests/code_block_consistency_style.rb +0 -1
  47. data/test/rule_tests/code_block_dollar.md +0 -33
  48. data/test/rule_tests/code_block_dollar_fence.md +0 -29
  49. data/test/rule_tests/code_block_fenced.md +0 -17
  50. data/test/rule_tests/code_block_fenced_style.rb +0 -1
  51. data/test/rule_tests/code_block_indented.md +0 -17
  52. data/test/rule_tests/code_block_indented_style.rb +0 -1
  53. data/test/rule_tests/consecutive_blank_lines.md +0 -11
  54. data/test/rule_tests/consistent_bullet_styles_asterisk.md +0 -3
  55. data/test/rule_tests/consistent_bullet_styles_dash.md +0 -3
  56. data/test/rule_tests/consistent_bullet_styles_plus.md +0 -3
  57. data/test/rule_tests/default_test_style.rb +0 -5
  58. data/test/rule_tests/emphasis_instead_of_headers.md +0 -42
  59. data/test/rule_tests/empty_doc.md +0 -0
  60. data/test/rule_tests/fenced_code_blocks.md +0 -27
  61. data/test/rule_tests/fenced_code_with_nesting.md +0 -73
  62. data/test/rule_tests/fenced_code_without_blank_lines.md +0 -42
  63. data/test/rule_tests/fenced_code_without_blank_lines_style.rb +0 -3
  64. data/test/rule_tests/first_header_bad_atx.md +0 -1
  65. data/test/rule_tests/first_header_bad_setext.md +0 -2
  66. data/test/rule_tests/first_header_good_atx.md +0 -1
  67. data/test/rule_tests/first_header_good_setext.md +0 -2
  68. data/test/rule_tests/first_line_top_level_header_atx.md +0 -3
  69. data/test/rule_tests/first_line_top_level_header_atx_style.rb +0 -2
  70. data/test/rule_tests/first_line_top_level_header_setext.md +0 -4
  71. data/test/rule_tests/first_line_top_level_header_setext_style.rb +0 -2
  72. data/test/rule_tests/fix_102_extra_nodes_in_link_text.md +0 -8
  73. data/test/rule_tests/header_duplicate_content.md +0 -11
  74. data/test/rule_tests/header_duplicate_content_different_nesting.md +0 -11
  75. data/test/rule_tests/header_duplicate_content_different_nesting_style.rb +0 -1
  76. data/test/rule_tests/header_duplicate_content_no_different_nesting.md +0 -13
  77. data/test/rule_tests/header_multiple_toplevel.md +0 -3
  78. data/test/rule_tests/header_mutliple_h1_no_toplevel.md +0 -5
  79. data/test/rule_tests/header_trailing_punctuation.md +0 -11
  80. data/test/rule_tests/header_trailing_punctuation_customized.md +0 -14
  81. data/test/rule_tests/header_trailing_punctuation_customized_style.rb +0 -2
  82. data/test/rule_tests/headers_bad.md +0 -7
  83. data/test/rule_tests/headers_good.md +0 -5
  84. data/test/rule_tests/headers_good_setext_with_atx.md +0 -7
  85. data/test/rule_tests/headers_good_setext_with_atx_style.rb +0 -2
  86. data/test/rule_tests/headers_good_with_issue_numbers.md +0 -12
  87. data/test/rule_tests/headers_surrounding_space_atx.md +0 -12
  88. data/test/rule_tests/headers_surrounding_space_setext.md +0 -15
  89. data/test/rule_tests/headers_with_spaces_at_the_beginning.md +0 -20
  90. data/test/rule_tests/hr_style_dashes.md +0 -22
  91. data/test/rule_tests/hr_style_dashes_style.rb +0 -3
  92. data/test/rule_tests/hr_style_inconsistent.md +0 -22
  93. data/test/rule_tests/hr_style_long.md +0 -22
  94. data/test/rule_tests/hr_style_long_style.rb +0 -3
  95. data/test/rule_tests/hr_style_stars.md +0 -22
  96. data/test/rule_tests/hr_style_stars_style.rb +0 -3
  97. data/test/rule_tests/inconsistent_bullet_indent_same_level.md +0 -4
  98. data/test/rule_tests/inconsistent_bullet_styles_asterisk.md +0 -3
  99. data/test/rule_tests/inconsistent_bullet_styles_dash.md +0 -3
  100. data/test/rule_tests/inconsistent_bullet_styles_plus.md +0 -3
  101. data/test/rule_tests/incorrect_bullet_style_asterisk.md +0 -3
  102. data/test/rule_tests/incorrect_bullet_style_asterisk_style.rb +0 -3
  103. data/test/rule_tests/incorrect_bullet_style_dash.md +0 -3
  104. data/test/rule_tests/incorrect_bullet_style_dash_style.rb +0 -3
  105. data/test/rule_tests/incorrect_bullet_style_plus.md +0 -3
  106. data/test/rule_tests/incorrect_bullet_style_plus_style.rb +0 -3
  107. data/test/rule_tests/incorrect_header_atx.md +0 -6
  108. data/test/rule_tests/incorrect_header_atx_closed.md +0 -6
  109. data/test/rule_tests/incorrect_header_atx_closed_style.rb +0 -2
  110. data/test/rule_tests/incorrect_header_atx_style.rb +0 -2
  111. data/test/rule_tests/incorrect_header_setext.md +0 -6
  112. data/test/rule_tests/incorrect_header_setext_style.rb +0 -2
  113. data/test/rule_tests/inline_html.md +0 -13
  114. data/test/rule_tests/links.md +0 -9
  115. data/test/rule_tests/lists_without_blank_lines.md +0 -75
  116. data/test/rule_tests/long_lines.md +0 -3
  117. data/test/rule_tests/long_lines_100.md +0 -7
  118. data/test/rule_tests/long_lines_100_style.rb +0 -3
  119. data/test/rule_tests/long_lines_code.md +0 -45
  120. data/test/rule_tests/long_lines_code_style.rb +0 -3
  121. data/test/rule_tests/mixed_header_types_atx.md +0 -6
  122. data/test/rule_tests/mixed_header_types_atx_closed.md +0 -6
  123. data/test/rule_tests/mixed_header_types_setext.md +0 -6
  124. data/test/rule_tests/no_first_line_header.md +0 -1
  125. data/test/rule_tests/no_first_line_header_style.rb +0 -1
  126. data/test/rule_tests/no_first_line_top_level_header.md +0 -1
  127. data/test/rule_tests/no_first_line_top_level_header_style.rb +0 -1
  128. data/test/rule_tests/ordered_list_item_prefix.md +0 -13
  129. data/test/rule_tests/ordered_list_item_prefix_ordered.md +0 -13
  130. data/test/rule_tests/ordered_list_item_prefix_ordered_style.rb +0 -3
  131. data/test/rule_tests/reversed_link.md +0 -7
  132. data/test/rule_tests/spaces_after_list_marker.md +0 -74
  133. data/test/rule_tests/spaces_after_list_marker_style.rb +0 -5
  134. data/test/rule_tests/spaces_inside_codespan_elements.md +0 -7
  135. data/test/rule_tests/spaces_inside_emphasis_markers.md +0 -35
  136. data/test/rule_tests/spaces_inside_link_text.md +0 -28
  137. data/test/rule_tests/trailing_spaces_br.md +0 -4
  138. data/test/rule_tests/trailing_spaces_br_style.rb +0 -3
  139. data/test/rule_tests/whitespace_issues.md +0 -3
  140. data/test/setup_tests.rb +0 -5
  141. data/test/test_cli.rb +0 -301
  142. data/test/test_ruledocs.rb +0 -52
  143. data/test/test_rules.rb +0 -58
  144. data/tools/README.md +0 -3
  145. data/tools/docker/Dockerfile +0 -13
  146. data/tools/docker/README.md +0 -19
  147. data/tools/test_location.rb +0 -20
  148. data/tools/view_markdown.rb +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e49f45b2f8946b1167b69fb81fd618e33aac84c8dd0c190ba014df81f7cecabc
4
- data.tar.gz: 3da27003069846edb3b752ccbb695e34e0cbb3bc1d5ca0f90281cd68723d87cd
3
+ metadata.gz: bb380ed1ad9ad6d2ca1bc1b4223035a7bbd48c0c59fea8d9c5e3f3eab97c143e
4
+ data.tar.gz: b69079b020875760b366c194184a219548b56b27b2038e73fcfb65b19727a418
5
5
  SHA512:
6
- metadata.gz: 1ee7ff81e5e59e13d386083eb40ad5638a755698733953896d5482dc0992f9e756f88419d7643f0a07ddfea5c52cd027ad6fa6cd574c2e7fa97dfc8212dfc0f9
7
- data.tar.gz: 64983b8c0868d50b7004fe9b962567181eaa506cc6e37f3897a9c581b30baaa55c24a29a1aafe5a19cfa966e79ffe41ed80a8a1545eb5cb76eb51828b8de42ab
6
+ metadata.gz: 06f58c21acc2a3a0686fc04dee9ac1ef1ca5e51850e148805170e4ae830e7fa87363649f2b97c30aecce3ebf4328b24993259ad557f6918a51f9e0ebe2a73e49
7
+ data.tar.gz: ba316560e686758e5167e64c1850e25d53cc6a74f62e0fbde9ec87a6124c59da68beedd3b632e5051c9a10ba75f3557096576b772ee434cc91e8d4d3965cd224
@@ -41,7 +41,7 @@ module MarkdownLint
41
41
  else
42
42
  @offset = 0
43
43
  end
44
- @lines = text.split("\n")
44
+ @lines = text.split(/\R/)
45
45
  @parsed = Kramdown::Document.new(text, :input => 'MarkdownLint')
46
46
  @elements = @parsed.root.children
47
47
  add_levels(@elements)
@@ -1,3 +1,3 @@
1
1
  module MarkdownLint
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -13,9 +13,9 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "http://github.com/markdownlint/markdownlint"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
+ spec.files = %w{LICENSE.txt Gemfile} + Dir.glob("*.gemspec") + Dir.glob("lib/**/*")
17
+ spec.bindir = "bin"
18
+ spec.executables = %w{mdl}
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.required_ruby_version = '>= 2.4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Harrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-25 00:00:00.000000000 Z
11
+ date: 2019-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -154,28 +154,9 @@ executables:
154
154
  extensions: []
155
155
  extra_rdoc_files: []
156
156
  files:
157
- - ".github/ISSUE_TEMPLATE/BUG_TEMPLATE.md"
158
- - ".github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md"
159
- - ".github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST.md"
160
- - ".github/ISSUE_TEMPLATE/RULE_REQUEST.md"
161
- - ".github/PULL_REQUEST_TEMPLATE.md"
162
- - ".gitignore"
163
- - ".pre-commit-hooks.yaml"
164
- - ".travis.yml"
165
- - CHANGELOG.md
166
- - CONTRIBUTING.md
167
157
  - Gemfile
168
158
  - LICENSE.txt
169
- - MAINTAINERS.md
170
- - README.md
171
- - Rakefile
172
159
  - bin/mdl
173
- - docs/RULES.md
174
- - docs/configuration.md
175
- - docs/creating_rules.md
176
- - docs/creating_styles.md
177
- - docs/rolling_a_release.md
178
- - example/markdown_spec.md
179
160
  - lib/mdl.rb
180
161
  - lib/mdl/cli.rb
181
162
  - lib/mdl/config.rb
@@ -190,130 +171,6 @@ files:
190
171
  - lib/mdl/styles/relaxed.rb
191
172
  - lib/mdl/version.rb
192
173
  - mdl.gemspec
193
- - test/fixtures/default_mdlrc
194
- - test/fixtures/dir_with_md_and_markdown/bar.markdown
195
- - test/fixtures/dir_with_md_and_markdown/foo.md
196
- - test/fixtures/front_matter/jekyll_post.md
197
- - test/fixtures/front_matter/jekyll_post_2.md
198
- - test/fixtures/mdlrc_disable_rules
199
- - test/fixtures/mdlrc_disable_tags
200
- - test/fixtures/mdlrc_enable_rules
201
- - test/fixtures/mdlrc_enable_tags
202
- - test/fixtures/my_ruleset.rb
203
- - test/rule_tests/alternate_top_level_header.md
204
- - test/rule_tests/alternate_top_level_header_style.rb
205
- - test/rule_tests/atx_closed_header_spacing.md
206
- - test/rule_tests/atx_header_spacing.md
207
- - test/rule_tests/blockquote_blank_lines.md
208
- - test/rule_tests/blockquote_spaces.md
209
- - test/rule_tests/bulleted_list_2_space_indent.md
210
- - test/rule_tests/bulleted_list_2_space_indent_style.rb
211
- - test/rule_tests/bulleted_list_4_space_indent.md
212
- - test/rule_tests/bulleted_list_not_at_beginning_of_line.md
213
- - test/rule_tests/code_block_consistency.md
214
- - test/rule_tests/code_block_consistency_style.rb
215
- - test/rule_tests/code_block_dollar.md
216
- - test/rule_tests/code_block_dollar_fence.md
217
- - test/rule_tests/code_block_fenced.md
218
- - test/rule_tests/code_block_fenced_style.rb
219
- - test/rule_tests/code_block_indented.md
220
- - test/rule_tests/code_block_indented_style.rb
221
- - test/rule_tests/consecutive_blank_lines.md
222
- - test/rule_tests/consistent_bullet_styles_asterisk.md
223
- - test/rule_tests/consistent_bullet_styles_dash.md
224
- - test/rule_tests/consistent_bullet_styles_plus.md
225
- - test/rule_tests/default_test_style.rb
226
- - test/rule_tests/emphasis_instead_of_headers.md
227
- - test/rule_tests/empty_doc.md
228
- - test/rule_tests/fenced_code_blocks.md
229
- - test/rule_tests/fenced_code_with_nesting.md
230
- - test/rule_tests/fenced_code_without_blank_lines.md
231
- - test/rule_tests/fenced_code_without_blank_lines_style.rb
232
- - test/rule_tests/first_header_bad_atx.md
233
- - test/rule_tests/first_header_bad_setext.md
234
- - test/rule_tests/first_header_good_atx.md
235
- - test/rule_tests/first_header_good_setext.md
236
- - test/rule_tests/first_line_top_level_header_atx.md
237
- - test/rule_tests/first_line_top_level_header_atx_style.rb
238
- - test/rule_tests/first_line_top_level_header_setext.md
239
- - test/rule_tests/first_line_top_level_header_setext_style.rb
240
- - test/rule_tests/fix_102_extra_nodes_in_link_text.md
241
- - test/rule_tests/header_duplicate_content.md
242
- - test/rule_tests/header_duplicate_content_different_nesting.md
243
- - test/rule_tests/header_duplicate_content_different_nesting_style.rb
244
- - test/rule_tests/header_duplicate_content_no_different_nesting.md
245
- - test/rule_tests/header_multiple_toplevel.md
246
- - test/rule_tests/header_mutliple_h1_no_toplevel.md
247
- - test/rule_tests/header_trailing_punctuation.md
248
- - test/rule_tests/header_trailing_punctuation_customized.md
249
- - test/rule_tests/header_trailing_punctuation_customized_style.rb
250
- - test/rule_tests/headers_bad.md
251
- - test/rule_tests/headers_good.md
252
- - test/rule_tests/headers_good_setext_with_atx.md
253
- - test/rule_tests/headers_good_setext_with_atx_style.rb
254
- - test/rule_tests/headers_good_with_issue_numbers.md
255
- - test/rule_tests/headers_surrounding_space_atx.md
256
- - test/rule_tests/headers_surrounding_space_setext.md
257
- - test/rule_tests/headers_with_spaces_at_the_beginning.md
258
- - test/rule_tests/hr_style_dashes.md
259
- - test/rule_tests/hr_style_dashes_style.rb
260
- - test/rule_tests/hr_style_inconsistent.md
261
- - test/rule_tests/hr_style_long.md
262
- - test/rule_tests/hr_style_long_style.rb
263
- - test/rule_tests/hr_style_stars.md
264
- - test/rule_tests/hr_style_stars_style.rb
265
- - test/rule_tests/inconsistent_bullet_indent_same_level.md
266
- - test/rule_tests/inconsistent_bullet_styles_asterisk.md
267
- - test/rule_tests/inconsistent_bullet_styles_dash.md
268
- - test/rule_tests/inconsistent_bullet_styles_plus.md
269
- - test/rule_tests/incorrect_bullet_style_asterisk.md
270
- - test/rule_tests/incorrect_bullet_style_asterisk_style.rb
271
- - test/rule_tests/incorrect_bullet_style_dash.md
272
- - test/rule_tests/incorrect_bullet_style_dash_style.rb
273
- - test/rule_tests/incorrect_bullet_style_plus.md
274
- - test/rule_tests/incorrect_bullet_style_plus_style.rb
275
- - test/rule_tests/incorrect_header_atx.md
276
- - test/rule_tests/incorrect_header_atx_closed.md
277
- - test/rule_tests/incorrect_header_atx_closed_style.rb
278
- - test/rule_tests/incorrect_header_atx_style.rb
279
- - test/rule_tests/incorrect_header_setext.md
280
- - test/rule_tests/incorrect_header_setext_style.rb
281
- - test/rule_tests/inline_html.md
282
- - test/rule_tests/links.md
283
- - test/rule_tests/lists_without_blank_lines.md
284
- - test/rule_tests/long_lines.md
285
- - test/rule_tests/long_lines_100.md
286
- - test/rule_tests/long_lines_100_style.rb
287
- - test/rule_tests/long_lines_code.md
288
- - test/rule_tests/long_lines_code_style.rb
289
- - test/rule_tests/mixed_header_types_atx.md
290
- - test/rule_tests/mixed_header_types_atx_closed.md
291
- - test/rule_tests/mixed_header_types_setext.md
292
- - test/rule_tests/no_first_line_header.md
293
- - test/rule_tests/no_first_line_header_style.rb
294
- - test/rule_tests/no_first_line_top_level_header.md
295
- - test/rule_tests/no_first_line_top_level_header_style.rb
296
- - test/rule_tests/ordered_list_item_prefix.md
297
- - test/rule_tests/ordered_list_item_prefix_ordered.md
298
- - test/rule_tests/ordered_list_item_prefix_ordered_style.rb
299
- - test/rule_tests/reversed_link.md
300
- - test/rule_tests/spaces_after_list_marker.md
301
- - test/rule_tests/spaces_after_list_marker_style.rb
302
- - test/rule_tests/spaces_inside_codespan_elements.md
303
- - test/rule_tests/spaces_inside_emphasis_markers.md
304
- - test/rule_tests/spaces_inside_link_text.md
305
- - test/rule_tests/trailing_spaces_br.md
306
- - test/rule_tests/trailing_spaces_br_style.rb
307
- - test/rule_tests/whitespace_issues.md
308
- - test/setup_tests.rb
309
- - test/test_cli.rb
310
- - test/test_ruledocs.rb
311
- - test/test_rules.rb
312
- - tools/README.md
313
- - tools/docker/Dockerfile
314
- - tools/docker/README.md
315
- - tools/test_location.rb
316
- - tools/view_markdown.rb
317
174
  homepage: http://github.com/markdownlint/markdownlint
318
175
  licenses:
319
176
  - MIT
@@ -334,127 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
334
191
  version: '0'
335
192
  requirements: []
336
193
  rubyforge_project:
337
- rubygems_version: 2.7.6
194
+ rubygems_version: 2.7.6.2
338
195
  signing_key:
339
196
  specification_version: 4
340
197
  summary: Markdown lint tool
341
- test_files:
342
- - test/fixtures/default_mdlrc
343
- - test/fixtures/dir_with_md_and_markdown/bar.markdown
344
- - test/fixtures/dir_with_md_and_markdown/foo.md
345
- - test/fixtures/front_matter/jekyll_post.md
346
- - test/fixtures/front_matter/jekyll_post_2.md
347
- - test/fixtures/mdlrc_disable_rules
348
- - test/fixtures/mdlrc_disable_tags
349
- - test/fixtures/mdlrc_enable_rules
350
- - test/fixtures/mdlrc_enable_tags
351
- - test/fixtures/my_ruleset.rb
352
- - test/rule_tests/alternate_top_level_header.md
353
- - test/rule_tests/alternate_top_level_header_style.rb
354
- - test/rule_tests/atx_closed_header_spacing.md
355
- - test/rule_tests/atx_header_spacing.md
356
- - test/rule_tests/blockquote_blank_lines.md
357
- - test/rule_tests/blockquote_spaces.md
358
- - test/rule_tests/bulleted_list_2_space_indent.md
359
- - test/rule_tests/bulleted_list_2_space_indent_style.rb
360
- - test/rule_tests/bulleted_list_4_space_indent.md
361
- - test/rule_tests/bulleted_list_not_at_beginning_of_line.md
362
- - test/rule_tests/code_block_consistency.md
363
- - test/rule_tests/code_block_consistency_style.rb
364
- - test/rule_tests/code_block_dollar.md
365
- - test/rule_tests/code_block_dollar_fence.md
366
- - test/rule_tests/code_block_fenced.md
367
- - test/rule_tests/code_block_fenced_style.rb
368
- - test/rule_tests/code_block_indented.md
369
- - test/rule_tests/code_block_indented_style.rb
370
- - test/rule_tests/consecutive_blank_lines.md
371
- - test/rule_tests/consistent_bullet_styles_asterisk.md
372
- - test/rule_tests/consistent_bullet_styles_dash.md
373
- - test/rule_tests/consistent_bullet_styles_plus.md
374
- - test/rule_tests/default_test_style.rb
375
- - test/rule_tests/emphasis_instead_of_headers.md
376
- - test/rule_tests/empty_doc.md
377
- - test/rule_tests/fenced_code_blocks.md
378
- - test/rule_tests/fenced_code_with_nesting.md
379
- - test/rule_tests/fenced_code_without_blank_lines.md
380
- - test/rule_tests/fenced_code_without_blank_lines_style.rb
381
- - test/rule_tests/first_header_bad_atx.md
382
- - test/rule_tests/first_header_bad_setext.md
383
- - test/rule_tests/first_header_good_atx.md
384
- - test/rule_tests/first_header_good_setext.md
385
- - test/rule_tests/first_line_top_level_header_atx.md
386
- - test/rule_tests/first_line_top_level_header_atx_style.rb
387
- - test/rule_tests/first_line_top_level_header_setext.md
388
- - test/rule_tests/first_line_top_level_header_setext_style.rb
389
- - test/rule_tests/fix_102_extra_nodes_in_link_text.md
390
- - test/rule_tests/header_duplicate_content.md
391
- - test/rule_tests/header_duplicate_content_different_nesting.md
392
- - test/rule_tests/header_duplicate_content_different_nesting_style.rb
393
- - test/rule_tests/header_duplicate_content_no_different_nesting.md
394
- - test/rule_tests/header_multiple_toplevel.md
395
- - test/rule_tests/header_mutliple_h1_no_toplevel.md
396
- - test/rule_tests/header_trailing_punctuation.md
397
- - test/rule_tests/header_trailing_punctuation_customized.md
398
- - test/rule_tests/header_trailing_punctuation_customized_style.rb
399
- - test/rule_tests/headers_bad.md
400
- - test/rule_tests/headers_good.md
401
- - test/rule_tests/headers_good_setext_with_atx.md
402
- - test/rule_tests/headers_good_setext_with_atx_style.rb
403
- - test/rule_tests/headers_good_with_issue_numbers.md
404
- - test/rule_tests/headers_surrounding_space_atx.md
405
- - test/rule_tests/headers_surrounding_space_setext.md
406
- - test/rule_tests/headers_with_spaces_at_the_beginning.md
407
- - test/rule_tests/hr_style_dashes.md
408
- - test/rule_tests/hr_style_dashes_style.rb
409
- - test/rule_tests/hr_style_inconsistent.md
410
- - test/rule_tests/hr_style_long.md
411
- - test/rule_tests/hr_style_long_style.rb
412
- - test/rule_tests/hr_style_stars.md
413
- - test/rule_tests/hr_style_stars_style.rb
414
- - test/rule_tests/inconsistent_bullet_indent_same_level.md
415
- - test/rule_tests/inconsistent_bullet_styles_asterisk.md
416
- - test/rule_tests/inconsistent_bullet_styles_dash.md
417
- - test/rule_tests/inconsistent_bullet_styles_plus.md
418
- - test/rule_tests/incorrect_bullet_style_asterisk.md
419
- - test/rule_tests/incorrect_bullet_style_asterisk_style.rb
420
- - test/rule_tests/incorrect_bullet_style_dash.md
421
- - test/rule_tests/incorrect_bullet_style_dash_style.rb
422
- - test/rule_tests/incorrect_bullet_style_plus.md
423
- - test/rule_tests/incorrect_bullet_style_plus_style.rb
424
- - test/rule_tests/incorrect_header_atx.md
425
- - test/rule_tests/incorrect_header_atx_closed.md
426
- - test/rule_tests/incorrect_header_atx_closed_style.rb
427
- - test/rule_tests/incorrect_header_atx_style.rb
428
- - test/rule_tests/incorrect_header_setext.md
429
- - test/rule_tests/incorrect_header_setext_style.rb
430
- - test/rule_tests/inline_html.md
431
- - test/rule_tests/links.md
432
- - test/rule_tests/lists_without_blank_lines.md
433
- - test/rule_tests/long_lines.md
434
- - test/rule_tests/long_lines_100.md
435
- - test/rule_tests/long_lines_100_style.rb
436
- - test/rule_tests/long_lines_code.md
437
- - test/rule_tests/long_lines_code_style.rb
438
- - test/rule_tests/mixed_header_types_atx.md
439
- - test/rule_tests/mixed_header_types_atx_closed.md
440
- - test/rule_tests/mixed_header_types_setext.md
441
- - test/rule_tests/no_first_line_header.md
442
- - test/rule_tests/no_first_line_header_style.rb
443
- - test/rule_tests/no_first_line_top_level_header.md
444
- - test/rule_tests/no_first_line_top_level_header_style.rb
445
- - test/rule_tests/ordered_list_item_prefix.md
446
- - test/rule_tests/ordered_list_item_prefix_ordered.md
447
- - test/rule_tests/ordered_list_item_prefix_ordered_style.rb
448
- - test/rule_tests/reversed_link.md
449
- - test/rule_tests/spaces_after_list_marker.md
450
- - test/rule_tests/spaces_after_list_marker_style.rb
451
- - test/rule_tests/spaces_inside_codespan_elements.md
452
- - test/rule_tests/spaces_inside_emphasis_markers.md
453
- - test/rule_tests/spaces_inside_link_text.md
454
- - test/rule_tests/trailing_spaces_br.md
455
- - test/rule_tests/trailing_spaces_br_style.rb
456
- - test/rule_tests/whitespace_issues.md
457
- - test/setup_tests.rb
458
- - test/test_cli.rb
459
- - test/test_ruledocs.rb
460
- - test/test_rules.rb
198
+ test_files: []
@@ -1,22 +0,0 @@
1
- ---
2
- name: 🐛 Bug Report
3
- about: If something isn't working as expected 🤔.
4
- labels: "bug"
5
- ---
6
- ## Description
7
- <!--- Briefly describe the issue -->
8
-
9
- ### Environment
10
- <!--- Tell us any details about the environment where you're running mdl. -->
11
- **MDL Version**
12
- <!--- Tell us which version of mdl you are using. -->
13
-
14
- ### Expected Behavior
15
- <!-- Tell us what should happen -->
16
-
17
- ### Actual Behavior
18
- <!-- Tell us what happens instead; including any error messages, stacktraces, or a link to a gist with it. -->
19
-
20
- ## Replication Case
21
- <!--- Tell us what steps to take to replicate your problem, don't just say what you did, but explain how you did it. See [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve)
22
- for information on how to create a good replication case -->
@@ -1,40 +0,0 @@
1
- ---
2
- name: Design Proposal
3
- about: I have a significant change I would like to propose and discuss before starting
4
- labels: "design proposal"
5
- ---
6
-
7
- ### When a Change Needs a Design Proposal
8
-
9
- A design proposal should be opened any time a change meets one of the following qualifications:
10
-
11
- - Significantly changes the user experience of a project in a way that impacts users.
12
- - Significantly changes the underlying architecture of the project in a way that impacts other developers.
13
- - Changes the development or testing process of the project such as a change of CI systems or test frameworks.
14
-
15
- ### Why We Use This Process
16
-
17
- - Allows all interested parties (including any community member) to discuss large impact changes to a project.
18
- - Serves as a durable paper trail for discussions regarding project architecture.
19
- - Forces design discussions to occur before PRs are created.
20
- - Reduces PR refactoring and rejected PRs.
21
-
22
- ---
23
-
24
- <!--- Proposal description and rationale. -->
25
-
26
- ## Motivation
27
-
28
- <!---
29
- As a <<user_profile>>,
30
- I want to <<functionality>>,
31
- so that <<benefit>>.
32
- -->
33
-
34
- ## Specification
35
-
36
- <!--- A detailed description of the planned implementation. -->
37
-
38
- ## Downstream Impact
39
-
40
- <!--- Which other tools will be impacted by this work? -->
@@ -1,20 +0,0 @@
1
- ---
2
- name: 🚀 Enhancement Request
3
- about: I have a suggestion (and may want to implement it 🙂)!
4
- labels: "enhancement"
5
- ---
6
-
7
- ## Describe the Enhancement:
8
- <!--- What you are trying to achieve that you can't? -->
9
-
10
- ### Impacted Rules:
11
- <!-- List any existing rules that would be impacted or changed by this enhancement -->
12
-
13
- ## Describe the Need:
14
- <!--- What kind of user do you believe would utilize this enhancement, and how many users might want this functionality -->
15
-
16
- ## Current Alternative
17
- <!--- Is there a current alternative that you can utilize to workaround the lack of this enhancement -->
18
-
19
- ## Can We Help You Implement This?:
20
- <!--- The best way to ensure your enhancement is built is to help implement the enhancement yourself. If you're interested in helping out we'd love to give you a hand to make this possible. Let us know if there's something you need. -->
@@ -1,20 +0,0 @@
1
- ---
2
- name: 💪 Rule Request
3
- about: I have a suggestion for a new rule for markdownlint (and may want to implement it 🙌)!
4
- labels: "new rule"
5
- ---
6
-
7
- ## New Rule Checklist
8
-
9
- Before suggesting a rule for inclusion please make sure your suggestion meets these criteria for rule built into markdownlint:
10
- - [ ] allows a user to lint for a specific syntax divergence across the multiple flavors and styles of markdown
11
- - [ ] does not dictate any one specific style, but enables an end user to enable, disable, or configure the specific style of enforcement desired
12
-
13
- ## Describe The Rule:
14
- <!--- Tell us about the rule -->
15
-
16
- ## Why Should This Be Included In Markdownlint?:
17
- <!--- Tell us why you believe this rule should be added, considering any possible side-effects, negative impact, or changes to the behavior of existing rules -->
18
-
19
- ## Can We Help You Implement This?:
20
- <!--- The best way to move a rule into markdownlint is to create it yourself. If you're interested in helping out we'd love to give you a hand to make this possible. Let us know if there's something you need. -->