Skip to content

Commit 0232f94

Browse files
Trotttargos
authored andcommittedOct 4, 2021
tools: update remark-preset-lint-node to 3.1.0
Update remark-preset-lint-node from 3.0.1 to 3.1.0. This is a necessary step before we can use the lint preset to format markdown files. PR-URL: #40166 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 779dfd1 commit 0232f94

File tree

2 files changed

+663
-466
lines changed

2 files changed

+663
-466
lines changed
 

‎tools/lint-md.mjs

+311-146
Original file line numberDiff line numberDiff line change
@@ -12852,13 +12852,13 @@ Object.defineProperty(identifier, "__esModule", {
1285212852
identifier.isIdentifierStart = isIdentifierStart;
1285312853
identifier.isIdentifierChar = isIdentifierChar;
1285412854
identifier.isIdentifierName = isIdentifierName;
12855-
let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
12856-
let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
12855+
let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
12856+
let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
1285712857
const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
1285812858
const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
1285912859
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
12860-
const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938];
12861-
const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
12860+
const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938];
12861+
const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
1286212862

1286312863
function isInAstralSet(code, set) {
1286412864
let pos = 0x10000;
@@ -20974,7 +20974,7 @@ findUp$1.exports.sync = (filename, opts = {}) => {
2097420974

2097520975
var ini$1 = {};
2097620976

20977-
ini$1.parse = ini$1.decode = decode;
20977+
ini$1.parse = ini$1.decode = decode$1;
2097820978

2097920979
ini$1.stringify = ini$1.encode = encode$1;
2098020980

@@ -21040,7 +21040,7 @@ function dotSplit (str) {
2104021040
})
2104121041
}
2104221042

21043-
function decode (str) {
21043+
function decode$1 (str) {
2104421044
var out = {};
2104521045
var p = out;
2104621046
var section = null;
@@ -32620,7 +32620,7 @@ function options(flags, configuration) {
3262032620
rcPath: config.rcPath,
3262132621
detectConfig: config.config,
3262232622
settings: /** @type {Record<string, unknown>} */ (
32623-
settings(/** @type {string} */ (config.setting))
32623+
settings$1(/** @type {string} */ (config.setting))
3262432624
),
3262532625
ignoreName: configuration.ignoreName,
3262632626
ignorePath: config.ignorePath,
@@ -32713,7 +32713,7 @@ function reporter(value) {
3271332713
* @param {string[]|string|null|undefined} value
3271432714
* @returns {Record<string, unknown>}
3271532715
*/
32716-
function settings(value) {
32716+
function settings$1(value) {
3271732717
const normalized = normalize(value);
3271832718
let index = -1;
3271932719
/** @type {Record<string, unknown>} */
@@ -35282,7 +35282,7 @@ function exit$1(effects) {
3528235282
*/
3528335283

3528435284
/** @type {Construct} */
35285-
const characterEscape$1 = {
35285+
const characterEscape = {
3528635286
name: 'characterEscape',
3528735287
tokenize: tokenizeCharacterEscape
3528835288
};
@@ -37560,7 +37560,7 @@ function decodeEntity(characters) {
3756037560
*/
3756137561

3756237562
/** @type {Construct} */
37563-
const characterReference$1 = {
37563+
const characterReference = {
3756437564
name: 'characterReference',
3756537565
tokenize: tokenizeCharacterReference
3756637566
};
@@ -42171,8 +42171,8 @@ const flow = {
4217142171
/** @type {Extension['string']} */
4217242172

4217342173
const string = {
42174-
[38]: characterReference$1,
42175-
[92]: characterEscape$1
42174+
[38]: characterReference,
42175+
[92]: characterEscape
4217642176
};
4217742177
/** @type {Extension['text']} */
4217842178

@@ -42181,11 +42181,11 @@ const text$2 = {
4218142181
[-4]: lineEnding,
4218242182
[-3]: lineEnding,
4218342183
[33]: labelStartImage,
42184-
[38]: characterReference$1,
42184+
[38]: characterReference,
4218542185
[42]: attention,
4218642186
[60]: [autolink, htmlText],
4218742187
[91]: labelStartLink,
42188-
[92]: [hardBreakEscape, characterEscape$1],
42188+
[92]: [hardBreakEscape, characterEscape],
4218942189
[93]: labelEnd,
4219042190
[95]: attention,
4219142191
[96]: codeText
@@ -42442,16 +42442,58 @@ function decodeNumericCharacterReference(value, base) {
4244242442
return String.fromCharCode(code)
4244342443
}
4244442444

42445+
const characterEscapeOrReference =
42446+
/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
42447+
/**
42448+
* Utility to decode markdown strings (which occur in places such as fenced
42449+
* code info strings, destinations, labels, and titles).
42450+
* The “string” content type allows character escapes and -references.
42451+
* This decodes those.
42452+
*
42453+
* @param {string} value
42454+
* @returns {string}
42455+
*/
42456+
42457+
function decodeString(value) {
42458+
return value.replace(characterEscapeOrReference, decode)
42459+
}
42460+
/**
42461+
* @param {string} $0
42462+
* @param {string} $1
42463+
* @param {string} $2
42464+
* @returns {string}
42465+
*/
42466+
42467+
function decode($0, $1, $2) {
42468+
if ($1) {
42469+
// Escape.
42470+
return $1
42471+
} // Reference.
42472+
42473+
const head = $2.charCodeAt(0);
42474+
42475+
if (head === 35) {
42476+
const head = $2.charCodeAt(1);
42477+
const hex = head === 120 || head === 88;
42478+
return decodeNumericCharacterReference($2.slice(hex ? 2 : 1), hex ? 16 : 10)
42479+
}
42480+
42481+
return decodeEntity($2) || $0
42482+
}
42483+
4244542484
/**
4244642485
* @typedef {import('micromark-util-types').Encoding} Encoding
4244742486
* @typedef {import('micromark-util-types').Event} Event
4244842487
* @typedef {import('micromark-util-types').ParseOptions} ParseOptions
4244942488
* @typedef {import('micromark-util-types').Token} Token
4245042489
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
4245142490
* @typedef {import('micromark-util-types').Value} Value
42452-
* @typedef {Root|Root['children'][number]} Node
42453-
* @typedef {import('unist').Parent} Parent
42491+
* @typedef {import('unist').Parent} UnistParent
4245442492
* @typedef {import('unist').Point} Point
42493+
* @typedef {import('mdast').PhrasingContent} PhrasingContent
42494+
* @typedef {import('mdast').Content} Content
42495+
* @typedef {Root|Content} Node
42496+
* @typedef {Extract<Node, UnistParent>} Parent
4245542497
* @typedef {import('mdast').Break} Break
4245642498
* @typedef {import('mdast').Blockquote} Blockquote
4245742499
* @typedef {import('mdast').Code} Code
@@ -42460,15 +42502,19 @@ function decodeNumericCharacterReference(value, base) {
4246042502
* @typedef {import('mdast').Heading} Heading
4246142503
* @typedef {import('mdast').HTML} HTML
4246242504
* @typedef {import('mdast').Image} Image
42505+
* @typedef {import('mdast').ImageReference} ImageReference
4246342506
* @typedef {import('mdast').InlineCode} InlineCode
4246442507
* @typedef {import('mdast').Link} Link
42508+
* @typedef {import('mdast').LinkReference} LinkReference
4246542509
* @typedef {import('mdast').List} List
4246642510
* @typedef {import('mdast').ListItem} ListItem
4246742511
* @typedef {import('mdast').Paragraph} Paragraph
4246842512
* @typedef {import('mdast').Root} Root
4246942513
* @typedef {import('mdast').Strong} Strong
4247042514
* @typedef {import('mdast').Text} Text
4247142515
* @typedef {import('mdast').ThematicBreak} ThematicBreak
42516+
*
42517+
* @typedef {UnistParent & {type: 'fragment', children: PhrasingContent[]}} Fragment
4247242518
*/
4247342519
const own$4 = {}.hasOwnProperty;
4247442520
/**
@@ -42478,13 +42524,6 @@ const own$4 = {}.hasOwnProperty;
4247842524
*/
4247942525

4248042526
const fromMarkdown =
42481-
/**
42482-
* @type {(
42483-
* ((value: Value, encoding: Encoding, options?: Options) => Root) &
42484-
* ((value: Value, options?: Options) => Root)
42485-
* )}
42486-
*/
42487-
4248842527
/**
4248942528
* @param {Value} value
4249042529
* @param {Encoding} [encoding]
@@ -42923,7 +42962,6 @@ function compiler(options = {}) {
4292342962
/** @type {CompileContext['buffer']} */
4292442963

4292542964
function buffer() {
42926-
// @ts-expect-error: Custom node type to collect text.
4292742965
this.stack.push({
4292842966
type: 'fragment',
4292942967
children: []
@@ -42939,9 +42977,8 @@ function compiler(options = {}) {
4293942977
*/
4294042978

4294142979
function enter(node, token) {
42942-
/** @type {Parent} */
42943-
// @ts-expect-error: Assume parent.
4294442980
const parent = this.stack[this.stack.length - 1];
42981+
// @ts-expect-error: Assume `Node` can exist as a child of `parent`.
4294542982
parent.children.push(node);
4294642983
this.stack.push(node);
4294742984
this.tokenStack.push(token); // @ts-expect-error: `end` will be patched later.
@@ -43029,24 +43066,24 @@ function compiler(options = {}) {
4302943066

4303043067
function onenterlistitemvalue(token) {
4303143068
if (getData('expectingFirstListItemValue')) {
43032-
this.stack[this.stack.length - 2].start = Number.parseInt(
43033-
this.sliceSerialize(token),
43034-
10
43035-
);
43069+
const ancestor = this.stack[this.stack.length - 2];
43070+
ancestor.start = Number.parseInt(this.sliceSerialize(token), 10);
4303643071
setData('expectingFirstListItemValue');
4303743072
}
4303843073
}
4303943074
/** @type {Handle} */
4304043075

4304143076
function onexitcodefencedfenceinfo() {
4304243077
const data = this.resume();
43043-
this.stack[this.stack.length - 1].lang = data;
43078+
const node = this.stack[this.stack.length - 1];
43079+
node.lang = data;
4304443080
}
4304543081
/** @type {Handle} */
4304643082

4304743083
function onexitcodefencedfencemeta() {
4304843084
const data = this.resume();
43049-
this.stack[this.stack.length - 1].meta = data;
43085+
const node = this.stack[this.stack.length - 1];
43086+
node.meta = data;
4305043087
}
4305143088
/** @type {Handle} */
4305243089

@@ -43060,46 +43097,50 @@ function compiler(options = {}) {
4306043097

4306143098
function onexitcodefenced() {
4306243099
const data = this.resume();
43063-
this.stack[this.stack.length - 1].value = data.replace(
43064-
/^(\r?\n|\r)|(\r?\n|\r)$/g,
43065-
''
43066-
);
43100+
const node = this.stack[this.stack.length - 1];
43101+
node.value = data.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, '');
4306743102
setData('flowCodeInside');
4306843103
}
4306943104
/** @type {Handle} */
4307043105

4307143106
function onexitcodeindented() {
4307243107
const data = this.resume();
43073-
this.stack[this.stack.length - 1].value = data.replace(/(\r?\n|\r)$/g, '');
43108+
const node = this.stack[this.stack.length - 1];
43109+
node.value = data.replace(/(\r?\n|\r)$/g, '');
4307443110
}
4307543111
/** @type {Handle} */
4307643112

4307743113
function onexitdefinitionlabelstring(token) {
4307843114
// Discard label, use the source content instead.
4307943115
const label = this.resume();
43080-
this.stack[this.stack.length - 1].label = label;
43081-
this.stack[this.stack.length - 1].identifier = normalizeIdentifier(
43116+
const node = this.stack[this.stack.length - 1];
43117+
node.label = label;
43118+
node.identifier = normalizeIdentifier(
4308243119
this.sliceSerialize(token)
4308343120
).toLowerCase();
4308443121
}
4308543122
/** @type {Handle} */
4308643123

4308743124
function onexitdefinitiontitlestring() {
4308843125
const data = this.resume();
43089-
this.stack[this.stack.length - 1].title = data;
43126+
const node = this.stack[this.stack.length - 1];
43127+
node.title = data;
4309043128
}
4309143129
/** @type {Handle} */
4309243130

4309343131
function onexitdefinitiondestinationstring() {
4309443132
const data = this.resume();
43095-
this.stack[this.stack.length - 1].url = data;
43133+
const node = this.stack[this.stack.length - 1];
43134+
node.url = data;
4309643135
}
4309743136
/** @type {Handle} */
4309843137

4309943138
function onexitatxheadingsequence(token) {
43100-
if (!this.stack[this.stack.length - 1].depth) {
43101-
this.stack[this.stack.length - 1].depth =
43102-
this.sliceSerialize(token).length;
43139+
const node = this.stack[this.stack.length - 1];
43140+
43141+
if (!node.depth) {
43142+
const depth = this.sliceSerialize(token).length;
43143+
node.depth = depth;
4310343144
}
4310443145
}
4310543146
/** @type {Handle} */
@@ -43110,8 +43151,8 @@ function compiler(options = {}) {
4311043151
/** @type {Handle} */
4311143152

4311243153
function onexitsetextheadinglinesequence(token) {
43113-
this.stack[this.stack.length - 1].depth =
43114-
this.sliceSerialize(token).charCodeAt(0) === 61 ? 1 : 2;
43154+
const node = this.stack[this.stack.length - 1];
43155+
node.depth = this.sliceSerialize(token).charCodeAt(0) === 61 ? 1 : 2;
4311543156
}
4311643157
/** @type {Handle} */
4311743158

@@ -43121,11 +43162,8 @@ function compiler(options = {}) {
4312143162
/** @type {Handle} */
4312243163

4312343164
function onenterdata(token) {
43124-
/** @type {Parent} */
43125-
// @ts-expect-error: assume parent.
4312643165
const parent = this.stack[this.stack.length - 1];
4312743166
/** @type {Node} */
43128-
// @ts-expect-error: assume child.
4312943167

4313043168
let tail = parent.children[parent.children.length - 1];
4313143169

@@ -43135,7 +43173,8 @@ function compiler(options = {}) {
4313543173

4313643174
tail.position = {
4313743175
start: point(token.start)
43138-
};
43176+
}; // @ts-expect-error: Assume `parent` accepts `text`.
43177+
4313943178
parent.children.push(tail);
4314043179
}
4314143180

@@ -43151,8 +43190,6 @@ function compiler(options = {}) {
4315143190
/** @type {Handle} */
4315243191

4315343192
function onexitlineending(token) {
43154-
/** @type {Parent} */
43155-
// @ts-expect-error: supposed to be a parent.
4315643193
const context = this.stack[this.stack.length - 1];
4315743194

4315843195
// If we’re at a hard break, include the line ending in there.
@@ -43180,34 +43217,40 @@ function compiler(options = {}) {
4318043217

4318143218
function onexithtmlflow() {
4318243219
const data = this.resume();
43183-
this.stack[this.stack.length - 1].value = data;
43220+
const node = this.stack[this.stack.length - 1];
43221+
node.value = data;
4318443222
}
4318543223
/** @type {Handle} */
4318643224

4318743225
function onexithtmltext() {
4318843226
const data = this.resume();
43189-
this.stack[this.stack.length - 1].value = data;
43227+
const node = this.stack[this.stack.length - 1];
43228+
node.value = data;
4319043229
}
4319143230
/** @type {Handle} */
4319243231

4319343232
function onexitcodetext() {
4319443233
const data = this.resume();
43195-
this.stack[this.stack.length - 1].value = data;
43234+
const node = this.stack[this.stack.length - 1];
43235+
node.value = data;
4319643236
}
4319743237
/** @type {Handle} */
4319843238

4319943239
function onexitlink() {
4320043240
const context = this.stack[this.stack.length - 1]; // To do: clean.
4320143241

4320243242
if (getData('inReference')) {
43203-
context.type += 'Reference';
43204-
context.referenceType = getData('referenceType') || 'shortcut';
43243+
context.type += 'Reference'; // @ts-expect-error: mutate.
43244+
43245+
context.referenceType = getData('referenceType') || 'shortcut'; // @ts-expect-error: mutate.
43246+
4320543247
delete context.url;
4320643248
delete context.title;
4320743249
} else {
43208-
delete context.identifier;
43250+
// @ts-expect-error: mutate.
43251+
delete context.identifier; // @ts-expect-error: mutate.
43252+
4320943253
delete context.label;
43210-
delete context.referenceType;
4321143254
}
4321243255

4321343256
setData('referenceType');
@@ -43218,51 +43261,58 @@ function compiler(options = {}) {
4321843261
const context = this.stack[this.stack.length - 1]; // To do: clean.
4321943262

4322043263
if (getData('inReference')) {
43221-
context.type += 'Reference';
43222-
context.referenceType = getData('referenceType') || 'shortcut';
43264+
context.type += 'Reference'; // @ts-expect-error: mutate.
43265+
43266+
context.referenceType = getData('referenceType') || 'shortcut'; // @ts-expect-error: mutate.
43267+
4322343268
delete context.url;
4322443269
delete context.title;
4322543270
} else {
43226-
delete context.identifier;
43271+
// @ts-expect-error: mutate.
43272+
delete context.identifier; // @ts-expect-error: mutate.
43273+
4322743274
delete context.label;
43228-
delete context.referenceType;
4322943275
}
4323043276

4323143277
setData('referenceType');
4323243278
}
4323343279
/** @type {Handle} */
4323443280

4323543281
function onexitlabeltext(token) {
43236-
this.stack[this.stack.length - 2].identifier = normalizeIdentifier(
43237-
this.sliceSerialize(token)
43238-
).toLowerCase();
43282+
const ancestor = this.stack[this.stack.length - 2];
43283+
const string = this.sliceSerialize(token);
43284+
ancestor.label = decodeString(string);
43285+
ancestor.identifier = normalizeIdentifier(string).toLowerCase();
4323943286
}
4324043287
/** @type {Handle} */
4324143288

4324243289
function onexitlabel() {
4324343290
const fragment = this.stack[this.stack.length - 1];
4324443291
const value = this.resume();
43245-
this.stack[this.stack.length - 1].label = value; // Assume a reference.
43292+
const node = this.stack[this.stack.length - 1]; // Assume a reference.
4324643293

4324743294
setData('inReference', true);
4324843295

43249-
if (this.stack[this.stack.length - 1].type === 'link') {
43250-
this.stack[this.stack.length - 1].children = fragment.children;
43296+
if (node.type === 'link') {
43297+
// @ts-expect-error: Assume static phrasing content.
43298+
node.children = fragment.children;
4325143299
} else {
43252-
this.stack[this.stack.length - 1].alt = value;
43300+
node.alt = value;
4325343301
}
4325443302
}
4325543303
/** @type {Handle} */
4325643304

4325743305
function onexitresourcedestinationstring() {
4325843306
const data = this.resume();
43259-
this.stack[this.stack.length - 1].url = data;
43307+
const node = this.stack[this.stack.length - 1];
43308+
node.url = data;
4326043309
}
4326143310
/** @type {Handle} */
4326243311

4326343312
function onexitresourcetitlestring() {
4326443313
const data = this.resume();
43265-
this.stack[this.stack.length - 1].title = data;
43314+
const node = this.stack[this.stack.length - 1];
43315+
node.title = data;
4326643316
}
4326743317
/** @type {Handle} */
4326843318

@@ -43278,8 +43328,9 @@ function compiler(options = {}) {
4327843328

4327943329
function onexitreferencestring(token) {
4328043330
const label = this.resume();
43281-
this.stack[this.stack.length - 1].label = label;
43282-
this.stack[this.stack.length - 1].identifier = normalizeIdentifier(
43331+
const node = this.stack[this.stack.length - 1];
43332+
node.label = label;
43333+
node.identifier = normalizeIdentifier(
4328343334
this.sliceSerialize(token)
4328443335
).toLowerCase();
4328543336
setData('referenceType', 'full');
@@ -43318,14 +43369,15 @@ function compiler(options = {}) {
4331843369

4331943370
function onexitautolinkprotocol(token) {
4332043371
onexitdata.call(this, token);
43321-
this.stack[this.stack.length - 1].url = this.sliceSerialize(token);
43372+
const node = this.stack[this.stack.length - 1];
43373+
node.url = this.sliceSerialize(token);
4332243374
}
4332343375
/** @type {Handle} */
4332443376

4332543377
function onexitautolinkemail(token) {
4332643378
onexitdata.call(this, token);
43327-
this.stack[this.stack.length - 1].url =
43328-
'mailto:' + this.sliceSerialize(token);
43379+
const node = this.stack[this.stack.length - 1];
43380+
node.url = 'mailto:' + this.sliceSerialize(token);
4332943381
} //
4333043382
// Creaters.
4333143383
//
@@ -43341,7 +43393,6 @@ function compiler(options = {}) {
4334143393
/** @returns {Code} */
4334243394

4334343395
function codeFlow() {
43344-
// @ts-expect-error: we’ve always used `null`.
4334543396
return {
4334643397
type: 'code',
4334743398
lang: null,
@@ -43363,9 +43414,7 @@ function compiler(options = {}) {
4336343414
return {
4336443415
type: 'definition',
4336543416
identifier: '',
43366-
// @ts-expect-error: we’ve always used `null`.
4336743417
label: null,
43368-
// @ts-expect-error: we’ve always used `null`.
4336943418
title: null,
4337043419
url: ''
4337143420
}
@@ -43406,7 +43455,6 @@ function compiler(options = {}) {
4340643455
/** @returns {Image} */
4340743456

4340843457
function image() {
43409-
// @ts-expect-error: we’ve always used `null`.
4341043458
return {
4341143459
type: 'image',
4341243460
title: null,
@@ -43417,7 +43465,6 @@ function compiler(options = {}) {
4341743465
/** @returns {Link} */
4341843466

4341943467
function link() {
43420-
// @ts-expect-error: we’ve always used `null`.
4342143468
return {
4342243469
type: 'link',
4342343470
title: null,
@@ -43434,7 +43481,6 @@ function compiler(options = {}) {
4343443481
return {
4343543482
type: 'list',
4343643483
ordered: token.type === 'listOrdered',
43437-
// @ts-expect-error: we’ve always used `null`.
4343843484
start: null,
4343943485
// @ts-expect-error Patched.
4344043486
spread: token._spread,
@@ -43451,7 +43497,6 @@ function compiler(options = {}) {
4345143497
type: 'listItem',
4345243498
// @ts-expect-error Patched.
4345343499
spread: token._spread,
43454-
// @ts-expect-error: we’ve always used `null`.
4345543500
checked: null,
4345643501
children: []
4345743502
}
@@ -44206,9 +44251,6 @@ function map(line, _, blank) {
4420644251
* @typedef {import('mdast').Association} Association
4420744252
*/
4420844253

44209-
const characterEscape = /\\([!-/:-@[-`{-~])/g;
44210-
const characterReference = /&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
44211-
4421244254
/**
4421344255
* The `label` of an association is the string value: character escapes and
4421444256
* references work, and casing is intact.
@@ -44229,18 +44271,7 @@ function association(node) {
4422944271
return node.label || ''
4423044272
}
4423144273

44232-
return node.identifier
44233-
.replace(characterEscape, '$1')
44234-
.replace(characterReference, decodeIfPossible)
44235-
}
44236-
44237-
/**
44238-
* @param {string} $0
44239-
* @param {string} $1
44240-
* @returns {string}
44241-
*/
44242-
function decodeIfPossible($0, $1) {
44243-
return decodeEntity($1) || $0
44274+
return decodeString(node.identifier)
4424444275
}
4424544276

4424644277
/**
@@ -45896,8 +45927,7 @@ const unsafe = [
4589645927
// Caret is not used in markdown for constructs.
4589745928
// An underscore can start emphasis, strong, or a thematic break.
4589845929
{atBreak: true, character: '_'},
45899-
{before: '[^A-Za-z]', character: '_', inConstruct: 'phrasing'},
45900-
{character: '_', after: '[^A-Za-z]', inConstruct: 'phrasing'},
45930+
{character: '_', inConstruct: 'phrasing'},
4590145931
// A grave accent can start code (fenced or text), or it can break out of
4590245932
// a grave accent code fence.
4590345933
{atBreak: true, character: '`'},
@@ -46992,6 +47022,10 @@ function lintMessageControl() {
4699247022
* @typedef {'warn'|'on'|'off'|'error'} Label
4699347023
* @typedef {[Severity, ...unknown[]]} SeverityTuple
4699447024
*
47025+
* @typedef RuleMeta
47026+
* @property {string} origin name of the lint rule
47027+
* @property {string} [url] link to documentation
47028+
*
4699547029
* @callback Rule
4699647030
* @param {Node} tree
4699747031
* @param {VFile} file
@@ -47002,10 +47036,12 @@ function lintMessageControl() {
4700247036
const primitives = new Set(['string', 'number', 'boolean']);
4700347037

4700447038
/**
47005-
* @param {string} id
47039+
* @param {string|RuleMeta} meta
4700647040
* @param {Rule} rule
4700747041
*/
47008-
function lintRule(id, rule) {
47042+
function lintRule(meta, rule) {
47043+
const id = typeof meta === 'string' ? meta : meta.origin;
47044+
const url = typeof meta === 'string' ? undefined : meta.url;
4700947045
const parts = id.split(':');
4701047046
// Possibly useful if externalised later.
4701147047
/* c8 ignore next */
@@ -47041,7 +47077,7 @@ function lintRule(id, rule) {
4704147077
}
4704247078

4704347079
while (++index < messages.length) {
47044-
Object.assign(messages[index], {ruleId, source, fatal});
47080+
Object.assign(messages[index], {ruleId, source, fatal, url});
4704547081
}
4704647082

4704747083
next();
@@ -47165,7 +47201,10 @@ function coerce$1(name, value) {
4716547201
*/
4716647202

4716747203
const remarkLintFinalNewline = lintRule(
47168-
'remark-lint:final-newline',
47204+
{
47205+
origin: 'remark-lint:final-newline',
47206+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-newline#readme'
47207+
},
4716947208
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4717047209
(_, file) => {
4717147210
const value = String(file);
@@ -47724,7 +47763,10 @@ var plural = pluralize.exports;
4772447763
*/
4772547764

4772647765
const remarkLintListItemBulletIndent = lintRule(
47727-
'remark-lint:list-item-bullet-indent',
47766+
{
47767+
origin: 'remark-lint:list-item-bullet-indent',
47768+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-bullet-indent#readme'
47769+
},
4772847770
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4772947771
(tree, file) => {
4773047772
visit$1(tree, 'list', (list, _, grandparent) => {
@@ -47954,7 +47996,10 @@ function generated(node) {
4795447996
*/
4795547997

4795647998
const remarkLintListItemIndent = lintRule(
47957-
'remark-lint:list-item-indent',
47999+
{
48000+
origin: 'remark-lint:list-item-indent',
48001+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-indent#readme'
48002+
},
4795848003
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4795948004
(tree, file, option = 'tab-size') => {
4796048005
const value = String(file);
@@ -48053,7 +48098,10 @@ var remarkLintListItemIndent$1 = remarkLintListItemIndent;
4805348098
const protocol = /^[a-z][a-z+.-]+:\/?/i;
4805448099

4805548100
const remarkLintNoAutoLinkWithoutProtocol = lintRule(
48056-
'remark-lint:no-auto-link-without-protocol',
48101+
{
48102+
origin: 'remark-lint:no-auto-link-without-protocol',
48103+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-auto-link-without-protocol#readme'
48104+
},
4805748105
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4805848106
(tree, file) => {
4805948107
visit$1(tree, 'link', (node) => {
@@ -48130,7 +48178,10 @@ var remarkLintNoAutoLinkWithoutProtocol$1 = remarkLintNoAutoLinkWithoutProtocol;
4813048178
*/
4813148179

4813248180
const remarkLintNoBlockquoteWithoutMarker = lintRule(
48133-
'remark-lint:no-blockquote-without-marker',
48181+
{
48182+
origin: 'remark-lint:no-blockquote-without-marker',
48183+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-blockquote-without-marker#readme'
48184+
},
4813448185
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4813548186
(tree, file) => {
4813648187
const value = String(file);
@@ -48206,7 +48257,10 @@ var remarkLintNoBlockquoteWithoutMarker$1 = remarkLintNoBlockquoteWithoutMarker;
4820648257
*/
4820748258

4820848259
const remarkLintNoLiteralUrls = lintRule(
48209-
'remark-lint:no-literal-urls',
48260+
{
48261+
origin: 'remark-lint:no-literal-urls',
48262+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-literal-urls#readme'
48263+
},
4821048264
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4821148265
(tree, file) => {
4821248266
visit$1(tree, 'link', (node) => {
@@ -48285,7 +48339,10 @@ var remarkLintNoLiteralUrls$1 = remarkLintNoLiteralUrls;
4828548339
*/
4828648340

4828748341
const remarkLintOrderedListMarkerStyle = lintRule(
48288-
'remark-lint:ordered-list-marker-style',
48342+
{
48343+
origin: 'remark-lint:ordered-list-marker-style',
48344+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-style#readme'
48345+
},
4828948346
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4829048347
(tree, file, option = 'consistent') => {
4829148348
const value = String(file);
@@ -48357,7 +48414,10 @@ var remarkLintOrderedListMarkerStyle$1 = remarkLintOrderedListMarkerStyle;
4835748414
*/
4835848415

4835948416
const remarkLintHardBreakSpaces = lintRule(
48360-
'remark-lint:hard-break-spaces',
48417+
{
48418+
origin: 'remark-lint:hard-break-spaces',
48419+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-hard-break-spaces#readme'
48420+
},
4836148421
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4836248422
(tree, file) => {
4836348423
const value = String(file);
@@ -48406,7 +48466,10 @@ var remarkLintHardBreakSpaces$1 = remarkLintHardBreakSpaces;
4840648466
*/
4840748467

4840848468
const remarkLintNoDuplicateDefinitions = lintRule(
48409-
'remark-lint:no-duplicate-definitions',
48469+
{
48470+
origin: 'remark-lint:no-duplicate-definitions',
48471+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-definitions#readme'
48472+
},
4841048473
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4841148474
(tree, file) => {
4841248475
/** @type {Record<string, string>} */
@@ -48547,7 +48610,10 @@ function consolidate(depth, relative) {
4854748610
*/
4854848611

4854948612
const remarkLintNoHeadingContentIndent = lintRule(
48550-
'remark-lint:no-heading-content-indent',
48613+
{
48614+
origin: 'remark-lint:no-heading-content-indent',
48615+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-content-indent#readme'
48616+
},
4855148617
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4855248618
(tree, file) => {
4855348619
visit$1(tree, 'heading', (node) => {
@@ -48630,7 +48696,10 @@ var remarkLintNoHeadingContentIndent$1 = remarkLintNoHeadingContentIndent;
4863048696
*/
4863148697

4863248698
const remarkLintNoInlinePadding = lintRule(
48633-
'remark-lint:no-inline-padding',
48699+
{
48700+
origin: 'remark-lint:no-inline-padding',
48701+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-inline-padding#readme'
48702+
},
4863448703
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4863548704
(tree, file) => {
4863648705
// Note: `emphasis`, `strong`, `delete` (GFM) can’t have padding anymore
@@ -48687,7 +48756,10 @@ var remarkLintNoInlinePadding$1 = remarkLintNoInlinePadding;
4868748756
*/
4868848757

4868948758
const remarkLintNoShortcutReferenceImage = lintRule(
48690-
'remark-lint:no-shortcut-reference-image',
48759+
{
48760+
origin: 'remark-lint:no-shortcut-reference-image',
48761+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-shortcut-reference-image#readme'
48762+
},
4869148763
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4869248764
(tree, file) => {
4869348765
visit$1(tree, 'imageReference', (node) => {
@@ -48735,7 +48807,10 @@ var remarkLintNoShortcutReferenceImage$1 = remarkLintNoShortcutReferenceImage;
4873548807
*/
4873648808

4873748809
const remarkLintNoShortcutReferenceLink = lintRule(
48738-
'remark-lint:no-shortcut-reference-link',
48810+
{
48811+
origin: 'remark-lint:no-shortcut-reference-link',
48812+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-shortcut-reference-link#readme'
48813+
},
4873948814
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4874048815
(tree, file) => {
4874148816
visit$1(tree, 'linkReference', (node) => {
@@ -48817,7 +48892,10 @@ var remarkLintNoShortcutReferenceLink$1 = remarkLintNoShortcutReferenceLink;
4881748892
*/
4881848893

4881948894
const remarkLintNoUndefinedReferences = lintRule(
48820-
'remark-lint:no-undefined-references',
48895+
{
48896+
origin: 'remark-lint:no-undefined-references',
48897+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-undefined-references#readme'
48898+
},
4882148899
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4882248900
(tree, file, option = {}) => {
4882348901
const contents = String(file);
@@ -49045,7 +49123,10 @@ var remarkLintNoUndefinedReferences$1 = remarkLintNoUndefinedReferences;
4904549123
const own$1 = {}.hasOwnProperty;
4904649124

4904749125
const remarkLintNoUnusedDefinitions = lintRule(
49048-
'remark-lint:no-unused-definitions',
49126+
{
49127+
origin: 'remark-lint:no-unused-definitions',
49128+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-unused-definitions#readme'
49129+
},
4904949130
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4905049131
(tree, file) => {
4905149132
/** @type {Record<string, {node: DefinitionContent, used: boolean}>} */
@@ -49176,7 +49257,10 @@ var remarkPresetLintRecommended$1 = remarkPresetLintRecommended;
4917649257
*/
4917749258

4917849259
const remarkLintBlockquoteIndentation = lintRule(
49179-
'remark-lint:blockquote-indentation',
49260+
{
49261+
origin: 'remark-lint:blockquote-indentation',
49262+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-blockquote-indentation#readme'
49263+
},
4918049264
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4918149265
(tree, file, option = 'consistent') => {
4918249266
visit$1(tree, 'blockquote', (node) => {
@@ -49297,7 +49381,10 @@ function check(node) {
4929749381
*/
4929849382

4929949383
const remarkLintCheckboxCharacterStyle = lintRule(
49300-
'remark-lint:checkbox-character-style',
49384+
{
49385+
origin: 'remark-lint:checkbox-character-style',
49386+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-character-style#readme'
49387+
},
4930149388
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4930249389
(tree, file, option = 'consistent') => {
4930349390
const value = String(file);
@@ -49412,7 +49499,10 @@ var remarkLintCheckboxCharacterStyle$1 = remarkLintCheckboxCharacterStyle;
4941249499
*/
4941349500

4941449501
const remarkLintCheckboxContentIndent = lintRule(
49415-
'remark-lint:checkbox-content-indent',
49502+
{
49503+
origin: 'remark-lint:checkbox-content-indent',
49504+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-content-indent#readme'
49505+
},
4941649506
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4941749507
(tree, file) => {
4941849508
const value = String(file);
@@ -49563,7 +49653,10 @@ var remarkLintCheckboxContentIndent$1 = remarkLintCheckboxContentIndent;
4956349653
*/
4956449654

4956549655
const remarkLintCodeBlockStyle = lintRule(
49566-
'remark-lint:code-block-style',
49656+
{
49657+
origin: 'remark-lint:code-block-style',
49658+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style#readme'
49659+
},
4956749660
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4956849661
(tree, file, option = 'consistent') => {
4956949662
const value = String(file);
@@ -49631,7 +49724,10 @@ var remarkLintCodeBlockStyle$1 = remarkLintCodeBlockStyle;
4963149724
const label = /^\s*\[((?:\\[\s\S]|[^[\]])+)]/;
4963249725

4963349726
const remarkLintDefinitionSpacing = lintRule(
49634-
'remark-lint:definition-spacing',
49727+
{
49728+
origin: 'remark-lint:definition-spacing',
49729+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-definition-spacing#readme'
49730+
},
4963549731
/** @type {import('unified-lint-rule').Rule<Root, void>} */
4963649732
(tree, file) => {
4963749733
const value = String(file);
@@ -49743,7 +49839,10 @@ var remarkLintDefinitionSpacing$1 = remarkLintDefinitionSpacing;
4974349839
const fence = /^ {0,3}([~`])\1{2,}/;
4974449840

4974549841
const remarkLintFencedCodeFlag = lintRule(
49746-
'remark-lint:fenced-code-flag',
49842+
{
49843+
origin: 'remark-lint:fenced-code-flag',
49844+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-flag#readme'
49845+
},
4974749846
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4974849847
(tree, file, option) => {
4974949848
const value = String(file);
@@ -49878,7 +49977,10 @@ var remarkLintFencedCodeFlag$1 = remarkLintFencedCodeFlag;
4987849977
*/
4987949978

4988049979
const remarkLintFencedCodeMarker = lintRule(
49881-
'remark-lint:fenced-code-marker',
49980+
{
49981+
origin: 'remark-lint:fenced-code-marker',
49982+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-marker#readme'
49983+
},
4988249984
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4988349985
(tree, file, option = 'consistent') => {
4988449986
const contents = String(file);
@@ -49949,7 +50051,10 @@ var remarkLintFencedCodeMarker$1 = remarkLintFencedCodeMarker;
4994950051
*/
4995050052

4995150053
const remarkLintFileExtension = lintRule(
49952-
'remark-lint:file-extension',
50054+
{
50055+
origin: 'remark-lint:file-extension',
50056+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-file-extension#readme'
50057+
},
4995350058
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
4995450059
(_, file, option = 'md') => {
4995550060
const ext = file.extname;
@@ -50005,7 +50110,10 @@ var remarkLintFileExtension$1 = remarkLintFileExtension;
5000550110
*/
5000650111

5000750112
const remarkLintFinalDefinition = lintRule(
50008-
'remark-lint:final-definition',
50113+
{
50114+
origin: 'remark-lint:final-definition',
50115+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-definition#readme'
50116+
},
5000950117
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5001050118
(tree, file) => {
5001150119
let last = 0;
@@ -50139,7 +50247,10 @@ var remarkLintFinalDefinition$1 = remarkLintFinalDefinition;
5013950247
const re = /<h([1-6])/;
5014050248

5014150249
const remarkLintFirstHeadingLevel = lintRule(
50142-
'remark-lint:first-heading-level',
50250+
{
50251+
origin: 'remark-lint:first-heading-level',
50252+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-first-heading-level#readme'
50253+
},
5014350254
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5014450255
(tree, file, option = 1) => {
5014550256
visit$1(tree, (node) => {
@@ -50256,7 +50367,10 @@ function infer(node) {
5025650367
*/
5025750368

5025850369
const remarkLintHeadingStyle = lintRule(
50259-
'remark-lint:heading-style',
50370+
{
50371+
origin: 'remark-lint:heading-style',
50372+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-heading-style#readme'
50373+
},
5026050374
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5026150375
(tree, file, option = 'consistent') => {
5026250376
if (
@@ -50387,7 +50501,10 @@ var remarkLintHeadingStyle$1 = remarkLintHeadingStyle;
5038750501
*/
5038850502

5038950503
const remarkLintMaximumLineLength = lintRule(
50390-
'remark-lint:maximum-line-length',
50504+
{
50505+
origin: 'remark-lint:maximum-line-length',
50506+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-maximum-line-length#readme'
50507+
},
5039150508
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5039250509
(tree, file, option = 80) => {
5039350510
const value = String(file);
@@ -50526,7 +50643,10 @@ var remarkLintMaximumLineLength$1 = remarkLintMaximumLineLength;
5052650643
*/
5052750644

5052850645
const remarkLintNoConsecutiveBlankLines = lintRule(
50529-
'remark-lint:no-consecutive-blank-lines',
50646+
{
50647+
origin: 'remark-lint:no-consecutive-blank-lines',
50648+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-consecutive-blank-lines#readme'
50649+
},
5053050650
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5053150651
(tree, file) => {
5053250652
visit$1(tree, (node) => {
@@ -50622,7 +50742,10 @@ var remarkLintNoConsecutiveBlankLines$1 = remarkLintNoConsecutiveBlankLines;
5062250742
*/
5062350743

5062450744
const remarkLintNoFileNameArticles = lintRule(
50625-
'remark-lint:no-file-name-articles',
50745+
{
50746+
origin: 'remark-lint:no-file-name-articles',
50747+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-file-name-articles#readme'
50748+
},
5062650749
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5062750750
(_, file) => {
5062850751
const match = file.stem && file.stem.match(/^(the|teh|an?)\b/i);
@@ -50653,7 +50776,10 @@ var remarkLintNoFileNameArticles$1 = remarkLintNoFileNameArticles;
5065350776
*/
5065450777

5065550778
const remarkLintNoFileNameConsecutiveDashes = lintRule(
50656-
'remark-lint:no-file-name-consecutive-dashes',
50779+
{
50780+
origin: 'remark-lint:no-file-name-consecutive-dashes',
50781+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-file-name-consecutive-dashes#readme'
50782+
},
5065750783
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5065850784
(_, file) => {
5065950785
if (file.stem && /-{2,}/.test(file.stem)) {
@@ -50687,7 +50813,10 @@ var remarkLintNoFileNameConsecutiveDashes$1 = remarkLintNoFileNameConsecutiveDas
5068750813
*/
5068850814

5068950815
const remarkLintNofileNameOuterDashes = lintRule(
50690-
'remark-lint:no-file-name-outer-dashes',
50816+
{
50817+
origin: 'remark-lint:no-file-name-outer-dashes',
50818+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-file-name-outer-dashes#readme'
50819+
},
5069150820
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5069250821
(_, file) => {
5069350822
if (file.stem && /^-|-$/.test(file.stem)) {
@@ -50750,7 +50879,10 @@ var remarkLintNofileNameOuterDashes$1 = remarkLintNofileNameOuterDashes;
5075050879
*/
5075150880

5075250881
const remarkLintNoHeadingIndent = lintRule(
50753-
'remark-lint:no-heading-indent',
50882+
{
50883+
origin: 'remark-lint:no-heading-indent',
50884+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-indent#readme'
50885+
},
5075450886
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5075550887
(tree, file) => {
5075650888
visit$1(tree, 'heading', (node, _, parent) => {
@@ -50809,7 +50941,10 @@ var remarkLintNoHeadingIndent$1 = remarkLintNoHeadingIndent;
5080950941
*/
5081050942

5081150943
const remarkLintNoMultipleToplevelHeadings = lintRule(
50812-
'remark-lint:no-multiple-toplevel-headings',
50944+
{
50945+
origin: 'remark-lint:no-multiple-toplevel-headings',
50946+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-multiple-toplevel-headings#readme'
50947+
},
5081350948
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5081450949
(tree, file, option = 1) => {
5081550950
/** @type {string|undefined} */
@@ -50907,7 +51042,10 @@ const flags = new Set([
5090751042
]);
5090851043

5090951044
const remarkLintNoShellDollars = lintRule(
50910-
'remark-lint:no-shell-dollars',
51045+
{
51046+
origin: 'remark-lint:no-shell-dollars',
51047+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-shell-dollars#readme'
51048+
},
5091151049
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5091251050
(tree, file) => {
5091351051
visit$1(tree, 'code', (node) => {
@@ -51005,7 +51143,10 @@ var remarkLintNoShellDollars$1 = remarkLintNoShellDollars;
5100551143
*/
5100651144

5100751145
const remarkLintNoTableIndentation = lintRule(
51008-
'remark-lint:no-table-indentation',
51146+
{
51147+
origin: 'remark-lint:no-table-indentation',
51148+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-table-indentation#readme'
51149+
},
5100951150
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5101051151
(tree, file) => {
5101151152
const value = String(file);
@@ -51121,7 +51262,10 @@ var remarkLintNoTableIndentation$1 = remarkLintNoTableIndentation;
5112151262
*/
5112251263

5112351264
const remarkLintNoTabs = lintRule(
51124-
'remark-lint:no-tabs',
51265+
{
51266+
origin: 'remark-lint:no-tabs',
51267+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-tabs#readme'
51268+
},
5112551269
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5112651270
(_, file) => {
5112751271
const value = String(file);
@@ -52146,7 +52290,10 @@ function prohibitedStrings (ast, file, strings) {
5214652290
*/
5214752291

5214852292
const remarkLintRuleStyle = lintRule(
52149-
'remark-lint:rule-style',
52293+
{
52294+
origin: 'remark-lint:rule-style',
52295+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-rule-style#readme'
52296+
},
5215052297
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5215152298
(tree, file, option = 'consistent') => {
5215252299
const value = String(file);
@@ -52237,7 +52384,10 @@ var remarkLintRuleStyle$1 = remarkLintRuleStyle;
5223752384
*/
5223852385

5223952386
const remarkLintStrongMarker = lintRule(
52240-
'remark-lint:strong-marker',
52387+
{
52388+
origin: 'remark-lint:strong-marker',
52389+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-strong-marker#readme'
52390+
},
5224152391
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5224252392
(tree, file, option = 'consistent') => {
5224352393
const value = String(file);
@@ -52441,7 +52591,10 @@ var remarkLintStrongMarker$1 = remarkLintStrongMarker;
5244152591
*/
5244252592

5244352593
const remarkLintTableCellPadding = lintRule(
52444-
'remark-lint:table-cell-padding',
52594+
{
52595+
origin: 'remark-lint:table-cell-padding',
52596+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-cell-padding#readme'
52597+
},
5244552598
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5244652599
(tree, file, option = 'consistent') => {
5244752600
if (
@@ -52648,7 +52801,10 @@ const reasonStart = 'Missing initial pipe in table fence';
5264852801
const reasonEnd = 'Missing final pipe in table fence';
5264952802

5265052803
const remarkLintTablePipes = lintRule(
52651-
'remark-lint:table-pipes',
52804+
{
52805+
origin: 'remark-lint:table-pipes',
52806+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-pipes#readme'
52807+
},
5265252808
/** @type {import('unified-lint-rule').Rule<Root, void>} */
5265352809
(tree, file) => {
5265452810
const value = String(file);
@@ -52759,7 +52915,10 @@ var remarkLintTablePipes$1 = remarkLintTablePipes;
5275952915
const markers = new Set(['-', '*', '+']);
5276052916

5276152917
const remarkLintUnorderedListMarkerStyle = lintRule(
52762-
'remark-lint:unordered-list-marker-style',
52918+
{
52919+
origin: 'remark-lint:unordered-list-marker-style',
52920+
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-unordered-list-marker-style#readme'
52921+
},
5276352922
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
5276452923
(tree, file, option = 'consistent') => {
5276552924
const value = String(file);
@@ -52882,7 +53041,13 @@ const plugins = [
5288253041
[remarkLintUnorderedListMarkerStyle$1, "*"],
5288353042
];
5288453043

52885-
const remarkPresetLintNode = { plugins };
53044+
const settings = {
53045+
emphasis: "_",
53046+
listItemIndent: 1,
53047+
tightDefinitions: true,
53048+
};
53049+
53050+
const remarkPresetLintNode = { plugins, settings };
5288653051

5288753052
/**
5288853053
* @typedef {import('micromark-util-types').Extension} Extension

0 commit comments

Comments
 (0)
Please sign in to comment.