markdownlint 0.29.0 → 0.31.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.
@@ -127,7 +127,7 @@ MD025:
127
127
 
128
128
  # MD026/no-trailing-punctuation - Trailing punctuation in heading
129
129
  MD026:
130
- # Punctuation characters not allowed at end of headings
130
+ # Punctuation characters
131
131
  punctuation: ".,;:!。,;:!"
132
132
 
133
133
  # MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
@@ -240,19 +240,21 @@ MD048:
240
240
 
241
241
  # MD049/emphasis-style - Emphasis style should be consistent
242
242
  MD049:
243
- # Emphasis style should be consistent
243
+ # Emphasis style
244
244
  style: "consistent"
245
245
 
246
246
  # MD050/strong-style - Strong style should be consistent
247
247
  MD050:
248
- # Strong style should be consistent
248
+ # Strong style
249
249
  style: "consistent"
250
250
 
251
251
  # MD051/link-fragments - Link fragments should be valid
252
252
  MD051: true
253
253
 
254
254
  # MD052/reference-links-images - Reference links and images should use a label that is defined
255
- MD052: true
255
+ MD052:
256
+ # Include shortcut syntax
257
+ shortcut_syntax: false
256
258
 
257
259
  # MD053/link-image-reference-definitions - Link and image reference definitions should be needed
258
260
  MD053:
@@ -361,14 +361,26 @@
361
361
  "properties": {
362
362
  "lines_above": {
363
363
  "description": "Blank lines above heading",
364
- "type": "integer",
365
- "minimum": 0,
364
+ "type": [
365
+ "integer",
366
+ "array"
367
+ ],
368
+ "items": {
369
+ "type": "integer"
370
+ },
371
+ "minimum": -1,
366
372
  "default": 1
367
373
  },
368
374
  "lines_below": {
369
375
  "description": "Blank lines below heading",
370
- "type": "integer",
371
- "minimum": 0,
376
+ "type": [
377
+ "integer",
378
+ "array"
379
+ ],
380
+ "items": {
381
+ "type": "integer"
382
+ },
383
+ "minimum": -1,
372
384
  "default": 1
373
385
  }
374
386
  },
@@ -456,7 +468,7 @@
456
468
  "default": true,
457
469
  "properties": {
458
470
  "punctuation": {
459
- "description": "Punctuation characters not allowed at end of headings",
471
+ "description": "Punctuation characters",
460
472
  "type": "string",
461
473
  "default": ".,;:!。,;:!"
462
474
  }
@@ -876,7 +888,7 @@
876
888
  "default": true,
877
889
  "properties": {
878
890
  "style": {
879
- "description": "Emphasis style should be consistent",
891
+ "description": "Emphasis style",
880
892
  "type": "string",
881
893
  "enum": [
882
894
  "consistent",
@@ -900,7 +912,7 @@
900
912
  "default": true,
901
913
  "properties": {
902
914
  "style": {
903
- "description": "Strong style should be consistent",
915
+ "description": "Strong style",
904
916
  "type": "string",
905
917
  "enum": [
906
918
  "consistent",
@@ -925,8 +937,19 @@
925
937
  },
926
938
  "MD052": {
927
939
  "description": "MD052/reference-links-images - Reference links and images should use a label that is defined",
928
- "type": "boolean",
929
- "default": true
940
+ "type": [
941
+ "boolean",
942
+ "object"
943
+ ],
944
+ "default": true,
945
+ "properties": {
946
+ "shortcut_syntax": {
947
+ "description": "Include shortcut syntax",
948
+ "type": "boolean",
949
+ "default": false
950
+ }
951
+ },
952
+ "additionalProperties": false
930
953
  },
931
954
  "reference-links-images": {
932
955
  "$ref": "#/properties/MD052"