[{"data":1,"prerenderedAt":1459,"buildId":1460},["ShallowReactive",2],{"docs:\u002Freference\u002Fconfig-errors":3},{"page":4,"section":16,"document":17,"credits":10,"prev":1453,"next":1457},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"config-errors","\u002Freference\u002Fconfig-errors","reference\u002Fconfig-errors.md","Config errors","Reference for glosslint config errors: GlosslintConfigError fields, exit code 2, all error codes, and fixes for GLOSSLINT_C001 to GLOSSLINT_C011.",null,[],"i-lucide-shield-alert","article",true,2,"reference",{"nodes":18,"toc":1435},[19,38,46,58,85,95,101,117,151,168,206,212,425,437,443,449,461,531,542,547,567,638,643,663,722,741,746,763,821,826,839,883,888,903,963,968,985,1043,1048,1065,1150,1160,1165,1188,1238,1243,1252,1333,1338,1368],[20,21,22,23,28,29,33,34,37],"p",{},"glosslint validates your ",[24,25,27],"a",{"href":26},"\u002Fguide\u002Fcorpus","corpus"," as soon as the config loads, so typos and wrong field types fail immediately with a stable code, a reason, and a fix. Read this reference when ",[30,31,32],"code",{},"defineCorpus",", ",[30,35,36],{},"fromGlossaryTable",", or the CLI rejects your config file or command line.",[39,40,45],"h2",{"id":41,"anchor":42},"error-output-and-exit-code",{"label":43,"icon":44},"Section titled \"Error output and exit code\"","#","Error output and exit code",[20,47,48,49,53,54,57],{},"A wrong config fails at load time with a code, the reason, and the fix. The ",[24,50,52],{"href":51},"\u002Fintegrations\u002Fcli","CLI"," prints the error to stderr in tree format and exits ",[30,55,56],{},"2",":",[59,60,63],"pre",{"language":61,"class":62},"txt","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[30,64,66,74,75,74,80],{"class":65},"language-txt",[67,68,71],"span",{"class":69,"style":70},"line","display: inline",[67,72,73],{},"[GLOSSLINT_C001] Unknown field \"avoids\" in term \"Dock\".","\n",[67,76,77],{"class":69,"style":70},[67,78,79],{},"├▶ fix: Rename it to \"avoid\".",[67,81,82],{"class":69,"style":70},[67,83,84],{},"╰▶ config: bad.config.ts",[20,86,87,88,90,91,94],{},"Exit code ",[30,89,56],{}," distinguishes configuration and command-line errors from lint findings or failing term tests, which exit ",[30,92,93],{},"1",".",[39,96,100],{"id":97,"anchor":98},"glosslintconfigerror",{"label":99,"icon":44},"Section titled \"GlosslintConfigError\"","GlosslintConfigError",[20,102,103,104,106,107,109,110,112,113,116],{},"In code, ",[30,105,32],{}," and ",[30,108,36],{}," throw a ",[30,111,100],{},", a subclass of ",[30,114,115],{},"Error",", with four fields:",[118,119,120,133,139,145],"ul",{},[121,122,123,125,126,129,130,94],"li",{},[30,124,30],{},": the stable error code, such as ",[30,127,128],{},"\"GLOSSLINT_C001\""," or ",[30,131,132],{},"\"GLOSSLINT_DUPLICATE_TERM\"",[121,134,135,138],{},[30,136,137],{},"why",": why the config or glossary table is wrong.",[121,140,141,144],{},[30,142,143],{},"fix",": what to change.",[121,146,147,150],{},[30,148,149],{},"term",": the term name when the problem sits inside a single term, omitted otherwise.",[20,152,153,154,157,158,160,161,164,165,167],{},"The error's ",[30,155,156],{},"message"," is ",[30,159,137],{},", with ",[30,162,163],{}," (term \"\u003Cterm>\")"," appended when ",[30,166,149],{}," is set.",[20,169,170,173,174,177,178,181,182,185,186,189,190,33,193,196,197,200,201,205],{},[30,171,172],{},"CONFIG_ERRORS",", exported from ",[30,175,176],{},"glosslint",", maps corpus validation names to their codes: ",[30,179,180],{},"GLOSSLINT_C001"," through ",[30,183,184],{},"GLOSSLINT_C008",", plus ",[30,187,188],{},"GLOSSLINT_C011",". The CLI reports ",[30,191,192],{},"GLOSSLINT_C009",[30,194,195],{},"GLOSSLINT_C010",", and ",[30,198,199],{},"GLOSSLINT_USAGE"," when loading a config or parsing arguments. See ",[24,202,204],{"href":203},"\u002Freference\u002Fapi","JavaScript API"," for the class and constant definitions.",[39,207,211],{"id":208,"anchor":209},"all-error-codes",{"label":210,"icon":44},"Section titled \"All error codes\"","All error codes",[213,214,215,228],"table",{},[216,217,218],"thead",{},[219,220,221,225],"tr",{},[222,223,224],"th",{},"Code",[222,226,227],{},"Meaning",[229,230,231,241,254,276,289,299,318,331,344,357,366,388,400,412],"tbody",{},[219,232,233,238],{},[234,235,236],"td",{},[30,237,180],{},[234,239,240],{},"Unknown field. The fix names the closest field when there is one.",[219,242,243,248],{},[234,244,245],{},[30,246,247],{},"GLOSSLINT_C002",[234,249,250,251,253],{},"A term has no ",[30,252,149],{},", or it holds no letters or digits.",[219,255,256,261],{},[234,257,258],{},[30,259,260],{},"GLOSSLINT_C003",[234,262,263,266,267,33,270,129,273,94],{},[30,264,265],{},"case"," is not ",[30,268,269],{},"exact",[30,271,272],{},"spelling",[30,274,275],{},"context",[219,277,278,283],{},[234,279,280],{},[30,281,282],{},"GLOSSLINT_C004",[234,284,285,286,94],{},"An avoid word is the term itself. To require one casing, use ",[30,287,288],{},"case: \"exact\"",[219,290,291,296],{},[234,292,293],{},[30,294,295],{},"GLOSSLINT_C005",[234,297,298],{},"Two of your terms have the same key.",[219,300,301,306],{},[234,302,303],{},[30,304,305],{},"GLOSSLINT_C006",[234,307,308,311,312,129,315,94],{},[30,309,310],{},"skip"," holds something other than ",[30,313,314],{},"lower",[30,316,317],{},"upper",[219,319,320,325],{},[234,321,322],{},[30,323,324],{},"GLOSSLINT_C007",[234,326,327,328,94],{},"A field has the wrong type, such as ",[30,329,330],{},"abbr: \"DP\"",[219,332,333,337],{},[234,334,335],{},[30,336,184],{},[234,338,339,340,343],{},"An ",[30,341,342],{},"extends"," entry is not a corpus, or the config's default export is not one.",[219,345,346,350],{},[234,347,348],{},[30,349,192],{},[234,351,352,353,356],{},"The CLI found no config, or ",[30,354,355],{},"--config"," names a file that does not exist.",[219,358,359,363],{},[234,360,361],{},[30,362,195],{},[234,364,365],{},"The config threw while loading, such as on a syntax error.",[219,367,368,372],{},[234,369,370],{},[30,371,188],{},[234,373,374,377,378,33,381,129,384,387],{},[30,375,376],{},"casing"," names a kind other than ",[30,379,380],{},"label",[30,382,383],{},"header",[30,385,386],{},"sentence",", or an unknown style.",[219,389,390,395],{},[234,391,392],{},[30,393,394],{},"GLOSSLINT_NO_GLOSSARY_TABLE",[234,396,397,399],{},[30,398,36],{}," found no table with a term column.",[219,401,402,407],{},[234,403,404],{},[30,405,406],{},"GLOSSLINT_DUPLICATE_TERM",[234,408,409,411],{},[30,410,36],{}," read the same term twice.",[219,413,414,418],{},[234,415,416],{},[30,417,199],{},[234,419,420,421,424],{},"The command line is wrong, such as an unknown ",[30,422,423],{},"--format"," or a path that does not exist.",[20,426,427,428,106,430,432,433,94],{},"For table header rules and duplicate-row handling on ",[30,429,394],{},[30,431,406],{},", see ",[24,434,436],{"href":435},"\u002Fguide\u002Fglossary-table","Glossary tables",[39,438,442],{"id":439,"anchor":440},"corpus-and-config-codes",{"label":441,"icon":44},"Section titled \"Corpus and config codes\"","Corpus and config codes",[444,445,180],"h3",{"id":446,"anchor":447},"glosslint_c001",{"label":448,"icon":44},"Section titled \"GLOSSLINT_C001\"",[20,450,451,453,454,456,457,460],{},[30,452,32],{}," throws ",[30,455,180],{}," when the corpus input, a term, an avoid entry, a link, or ",[30,458,459],{},"examples"," has an unrecognized property name. The fix suggests the closest valid field when one is nearby, or lists every valid field.",[59,462,464],{"language":463,"class":62},"ts",[30,465,467,74,473,74,503,74,505,74,510],{"class":466},"language-ts",[67,468,469],{"class":69,"style":70},[67,470,472],{"style":471},"color:#6E7781;--shiki-dark:#8B949E","\u002F\u002F Triggers GLOSSLINT_C001: Unknown field \"avoids\" in term \"Dock\".",[67,474,475,479,482,485,489,491,494,497,500],{"class":69,"style":70},[67,476,478],{"style":477},"color:#1F2328;--shiki-dark:#E6EDF3","{ ",[67,480,149],{"style":481},"color:#953800;--shiki-dark:#FFA657",[67,483,484],{"style":477},": ",[67,486,488],{"style":487},"color:#0A3069;--shiki-dark:#A5D6FF","\"Dock\"",[67,490,33],{"style":477},[67,492,493],{"style":481},"avoids",[67,495,496],{"style":477},": [",[67,498,499],{"style":487},"\"rack\"",[67,501,502],{"style":477},"] }",[67,504],{"class":69,"style":70},[67,506,507],{"class":69,"style":70},[67,508,509],{"style":471},"\u002F\u002F Fix: rename to a valid term field",[67,511,512,514,516,518,520,522,525,527,529],{"class":69,"style":70},[67,513,478],{"style":477},[67,515,149],{"style":481},[67,517,484],{"style":477},[67,519,488],{"style":487},[67,521,33],{"style":477},[67,523,524],{"style":481},"avoid",[67,526,496],{"style":477},[67,528,499],{"style":487},[67,530,502],{"style":477},[20,532,533,534,106,537,541],{},"See ",[24,535,536],{"href":26},"The corpus",[24,538,540],{"href":539},"\u002Fguide\u002Fterms","Defining terms"," for all accepted field names.",[444,543,247],{"id":544,"anchor":545},"glosslint_c002",{"label":546,"icon":44},"Section titled \"GLOSSLINT_C002\"",[20,548,549,453,551,553,554,557,558,560,561,563,564,566],{},[30,550,32],{},[30,552,247],{}," when an entry in ",[30,555,556],{},"terms"," omits ",[30,559,149],{},", sets ",[30,562,149],{}," to a non-string, or sets ",[30,565,149],{}," to punctuation with no letters or digits.",[59,568,569],{"language":463,"class":62},[30,570,571,74,576,74,591,74,593,74,598,74,611,74,613,74,618],{"class":466},[67,572,573],{"class":69,"style":70},[67,574,575],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C002: Entry 1 of \"terms\" has no \"term\".",[67,577,578,580,583,585,588],{"class":69,"style":70},[67,579,478],{"style":477},[67,581,582],{"style":481},"description",[67,584,484],{"style":477},[67,586,587],{"style":487},"\"A powered stand where one bike is locked.\"",[67,589,590],{"style":477}," }",[67,592],{"class":69,"style":70},[67,594,595],{"class":69,"style":70},[67,596,597],{"style":471},"\u002F\u002F Also triggers GLOSSLINT_C002: The term \"--\" has no letters or digits.",[67,599,600,602,604,606,609],{"class":69,"style":70},[67,601,478],{"style":477},[67,603,149],{"style":481},[67,605,484],{"style":477},[67,607,608],{"style":487},"\"--\"",[67,610,590],{"style":477},[67,612],{"class":69,"style":70},[67,614,615],{"class":69,"style":70},[67,616,617],{"style":471},"\u002F\u002F Fix: provide a term containing letters or digits",[67,619,620,622,624,626,628,630,632,634,636],{"class":69,"style":70},[67,621,478],{"style":477},[67,623,149],{"style":481},[67,625,484],{"style":477},[67,627,488],{"style":487},[67,629,33],{"style":477},[67,631,582],{"style":481},[67,633,484],{"style":477},[67,635,587],{"style":487},[67,637,590],{"style":477},[444,639,260],{"id":640,"anchor":641},"glosslint_c003",{"label":642,"icon":44},"Section titled \"GLOSSLINT_C003\"",[20,644,645,453,647,649,650,652,653,33,656,659,660,94],{},[30,646,32],{},[30,648,260],{}," when a term sets ",[30,651,265],{}," to anything other than ",[30,654,655],{},"\"exact\"",[30,657,658],{},"\"spelling\"",", or ",[30,661,662],{},"\"context\"",[59,664,665],{"language":463,"class":62},[30,666,667,74,672,74,695,74,697,74,702],{"class":466},[67,668,669],{"class":69,"style":70},[67,670,671],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C003: \"case\" is \"title\".",[67,673,674,676,678,680,683,685,688,690,693],{"class":69,"style":70},[67,675,478],{"style":477},[67,677,149],{"style":481},[67,679,484],{"style":477},[67,681,682],{"style":487},"\"Day Pass\"",[67,684,33],{"style":477},[67,686,265],{"style":687},"color:#CF222E;--shiki-dark:#FF7B72",[67,689,484],{"style":477},[67,691,692],{"style":487},"\"title\"",[67,694,590],{"style":477},[67,696],{"class":69,"style":70},[67,698,699],{"class":69,"style":70},[67,700,701],{"style":471},"\u002F\u002F Fix: use \"exact\", \"spelling\", or \"context\"",[67,703,704,706,708,710,712,714,716,718,720],{"class":69,"style":70},[67,705,478],{"style":477},[67,707,149],{"style":481},[67,709,484],{"style":477},[67,711,682],{"style":487},[67,713,33],{"style":477},[67,715,265],{"style":687},[67,717,484],{"style":477},[67,719,662],{"style":487},[67,721,590],{"style":477},[20,723,724,725,129,727,730,731,733,734,736,737,94],{},"To set a specific style such as ",[30,726,692],{},[30,728,729],{},"\"upper\""," per text kind, use ",[30,732,376],{}," instead of ",[30,735,265],{},". See ",[24,738,740],{"href":739},"\u002Fguide\u002Fcasing","Casing rules",[444,742,282],{"id":743,"anchor":744},"glosslint_c004",{"label":745,"icon":44},"Section titled \"GLOSSLINT_C004\"",[20,747,748,453,750,553,752,754,755,758,759,762],{},[30,749,32],{},[30,751,282],{},[30,753,524],{}," matches the term's own text after trimming, collapsing whitespace, and lowercasing. A different spelling with the same key, such as ",[30,756,757],{},"\"check-out\""," for ",[30,760,761],{},"Checkout",", does not throw this error.",[59,764,765],{"language":463,"class":62},[30,766,767,74,772,74,794,74,796,74,801],{"class":466},[67,768,769],{"class":69,"style":70},[67,770,771],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C004: \"ebike\" is both the term and one of its avoid words.",[67,773,774,776,778,780,783,785,787,789,792],{"class":69,"style":70},[67,775,478],{"style":477},[67,777,149],{"style":481},[67,779,484],{"style":477},[67,781,782],{"style":487},"\"eBike\"",[67,784,33],{"style":477},[67,786,524],{"style":481},[67,788,496],{"style":477},[67,790,791],{"style":487},"\"ebike\"",[67,793,502],{"style":477},[67,795],{"class":69,"style":70},[67,797,798],{"class":69,"style":70},[67,799,800],{"style":471},"\u002F\u002F Fix: remove it from avoid and set case: \"exact\" to enforce capitals",[67,802,803,805,807,809,811,813,815,817,819],{"class":69,"style":70},[67,804,478],{"style":477},[67,806,149],{"style":481},[67,808,484],{"style":477},[67,810,782],{"style":487},[67,812,33],{"style":477},[67,814,265],{"style":687},[67,816,484],{"style":477},[67,818,655],{"style":487},[67,820,590],{"style":477},[444,822,295],{"id":823,"anchor":824},"glosslint_c005",{"label":825,"icon":44},"Section titled \"GLOSSLINT_C005\"",[20,827,828,453,830,832,833,835,836,838],{},[30,829,32],{},[30,831,295],{}," when two entries in the same corpus's ",[30,834,556],{}," array share a key, which joins the term's words in lowercase with letters and digits only. Replacing a term from ",[30,837,342],{}," with the same key is allowed and does not throw this error.",[59,840,841],{"language":463,"class":62},[30,842,843,74,848,74,866,74,868,74,873],{"class":466},[67,844,845],{"class":69,"style":70},[67,846,847],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C005: \"Day Pass\" and \"day-pass\" are the same words, so they are one term.",[67,849,850,852,855,857,860,863],{"class":69,"style":70},[67,851,556],{"style":481},[67,853,854],{"style":477},": [{ term: ",[67,856,682],{"style":487},[67,858,859],{"style":477}," }, { term: ",[67,861,862],{"style":487},"\"day-pass\"",[67,864,865],{"style":477}," }]",[67,867],{"class":69,"style":70},[67,869,870],{"class":69,"style":70},[67,871,872],{"style":471},"\u002F\u002F Fix: keep one term entry",[67,874,875,877,879,881],{"class":69,"style":70},[67,876,556],{"style":481},[67,878,854],{"style":477},[67,880,682],{"style":487},[67,882,865],{"style":477},[444,884,305],{"id":885,"anchor":886},"glosslint_c006",{"label":887,"icon":44},"Section titled \"GLOSSLINT_C006\"",[20,889,890,453,892,894,895,897,898,129,901,94],{},[30,891,32],{},[30,893,305],{}," when ",[30,896,310],{}," is not an array or contains a value other than ",[30,899,900],{},"\"lower\"",[30,902,729],{},[59,904,905],{"language":463,"class":62},[30,906,907,74,912,74,932,74,934,74,939],{"class":466},[67,908,909],{"class":69,"style":70},[67,910,911],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C006: \"skip\" has \"title\".",[67,913,914,916,918,920,922,924,926,928,930],{"class":69,"style":70},[67,915,478],{"style":477},[67,917,149],{"style":481},[67,919,484],{"style":477},[67,921,782],{"style":487},[67,923,33],{"style":477},[67,925,310],{"style":481},[67,927,496],{"style":477},[67,929,692],{"style":487},[67,931,502],{"style":477},[67,933],{"class":69,"style":70},[67,935,936],{"class":69,"style":70},[67,937,938],{"style":471},"\u002F\u002F Fix: pass a list of \"lower\" and\u002For \"upper\"",[67,940,941,943,945,947,949,951,953,955,957,959,961],{"class":69,"style":70},[67,942,478],{"style":477},[67,944,149],{"style":481},[67,946,484],{"style":477},[67,948,782],{"style":487},[67,950,33],{"style":477},[67,952,310],{"style":481},[67,954,496],{"style":477},[67,956,900],{"style":487},[67,958,33],{"style":477},[67,960,729],{"style":487},[67,962,502],{"style":477},[444,964,324],{"id":965,"anchor":966},"glosslint_c007",{"label":967,"icon":44},"Section titled \"GLOSSLINT_C007\"",[20,969,970,453,972,974,975,978,979,129,982,94],{},[30,971,32],{},[30,973,324],{}," when a corpus or term field has the wrong type, such as a string where an array of non-empty strings is required, a non-boolean ",[30,976,977],{},"wholeLabel",", or a link missing ",[30,980,981],{},"title",[30,983,984],{},"url",[59,986,987],{"language":463,"class":62},[30,988,989,74,994,74,1016,74,1018,74,1023],{"class":466},[67,990,991],{"class":69,"style":70},[67,992,993],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C007: \"abbr\" must be a list of non-empty strings.",[67,995,996,998,1000,1002,1004,1006,1009,1011,1014],{"class":69,"style":70},[67,997,478],{"style":477},[67,999,149],{"style":481},[67,1001,484],{"style":477},[67,1003,682],{"style":487},[67,1005,33],{"style":477},[67,1007,1008],{"style":481},"abbr",[67,1010,484],{"style":477},[67,1012,1013],{"style":487},"\"DP\"",[67,1015,590],{"style":477},[67,1017],{"class":69,"style":70},[67,1019,1020],{"class":69,"style":70},[67,1021,1022],{"style":471},"\u002F\u002F Fix: wrap it in an array of non-empty strings",[67,1024,1025,1027,1029,1031,1033,1035,1037,1039,1041],{"class":69,"style":70},[67,1026,478],{"style":477},[67,1028,149],{"style":481},[67,1030,484],{"style":477},[67,1032,682],{"style":487},[67,1034,33],{"style":477},[67,1036,1008],{"style":481},[67,1038,496],{"style":477},[67,1040,1013],{"style":487},[67,1042,502],{"style":477},[444,1044,184],{"id":1045,"anchor":1046},"glosslint_c008",{"label":1047,"icon":44},"Section titled \"GLOSSLINT_C008\"",[20,1049,1050,453,1052,553,1054,1056,1057,33,1059,1061,1062,1064],{},[30,1051,32],{},[30,1053,184],{},[30,1055,342],{}," is not a corpus created by ",[30,1058,32],{},[30,1060,36],{},", or a preset. The CLI also reports ",[30,1063,184],{}," when a config file's default export is not a corpus.",[59,1066,1067],{"language":463,"class":62},[30,1068,1069,74,1074,74,1089,74,1102,74,1110,74,1112,74,1117,74,1127,74,1144],{"class":466},[67,1070,1071],{"class":69,"style":70},[67,1072,1073],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C008: Entry 1 of \"extends\" is not a corpus.",[67,1075,1076,1079,1082,1086],{"class":69,"style":70},[67,1077,1078],{"style":687},"export",[67,1080,1081],{"style":687}," default",[67,1083,1085],{"style":1084},"color:#8250DF;--shiki-dark:#D2A8FF"," defineCorpus",[67,1087,1088],{"style":481},"({",[67,1090,1091,1094,1096,1099],{"class":69,"style":70},[67,1092,1093],{"style":477},"  extends: [{ terms: [{ term: ",[67,1095,488],{"style":487},[67,1097,1098],{"style":477}," }] }]",[67,1100,1101],{"style":481},",",[67,1103,1104,1107],{"class":69,"style":70},[67,1105,1106],{"style":481},"})",[67,1108,1109],{"style":477},";",[67,1111],{"class":69,"style":70},[67,1113,1114],{"class":69,"style":70},[67,1115,1116],{"style":471},"\u002F\u002F Fix: pass a preset, fromGlossaryTable(...), or defineCorpus(...)",[67,1118,1119,1121,1123,1125],{"class":69,"style":70},[67,1120,1078],{"style":687},[67,1122,1081],{"style":687},[67,1124,1085],{"style":1084},[67,1126,1088],{"style":481},[67,1128,1129,1132,1134,1137,1139,1142],{"class":69,"style":70},[67,1130,1131],{"style":477},"  extends: [",[67,1133,32],{"style":1084},[67,1135,1136],{"style":477},"({ terms: [{ term: ",[67,1138,488],{"style":487},[67,1140,1141],{"style":477}," }] })]",[67,1143,1101],{"style":481},[67,1145,1146,1148],{"class":69,"style":70},[67,1147,1106],{"style":481},[67,1149,1109],{"style":477},[20,1151,1152,1153,1156,1157,94],{},"If the CLI reports ",[30,1154,1155],{},"\u003Cfile> does not export a corpus as its default export.",", end the file with ",[30,1158,1159],{},"export default defineCorpus({ ... })",[444,1161,192],{"id":1162,"anchor":1163},"glosslint_c009",{"label":1164,"icon":44},"Section titled \"GLOSSLINT_C009\"",[20,1166,1167,1168,1170,1171,33,1174,33,1177,659,1180,1183,1184,1187],{},"The CLI reports ",[30,1169,192],{}," when the current folder has no ",[30,1172,1173],{},"glosslint.config.ts",[30,1175,1176],{},".mts",[30,1178,1179],{},".js",[30,1181,1182],{},".mjs",", or when ",[30,1185,1186],{},"--config \u003Cpath>"," points to a file that does not exist.",[59,1189,1192],{"language":1190,"frame":1191,"class":62},"sh","terminal",[30,1193,1195,74,1200,74,1218,74,1220,74,1225],{"class":1194},"language-sh",[67,1196,1197],{"class":69,"style":70},[67,1198,1199],{"style":471},"# Triggers GLOSSLINT_C009: The config \"missing.config.ts\" does not exist.",[67,1201,1202,1205,1208,1211,1215],{"class":69,"style":70},[67,1203,1204],{"style":481},"npx",[67,1206,1207],{"style":487}," glosslint",[67,1209,1210],{"style":487}," check",[67,1212,1214],{"style":1213},"color:#0550AE;--shiki-dark:#79C0FF"," --config",[67,1216,1217],{"style":487}," missing.config.ts",[67,1219],{"class":69,"style":70},[67,1221,1222],{"class":69,"style":70},[67,1223,1224],{"style":471},"# Fix: pass an existing config path, or run from the folder with glosslint.config.ts",[67,1226,1227,1229,1231,1233,1235],{"class":69,"style":70},[67,1228,1204],{"style":481},[67,1230,1207],{"style":487},[67,1232,1210],{"style":487},[67,1234,1214],{"style":1213},[67,1236,1237],{"style":487}," glosslint.config.ts",[444,1239,195],{"id":1240,"anchor":1241},"glosslint_c010",{"label":1242,"icon":44},"Section titled \"GLOSSLINT_C010\"",[20,1244,1167,1245,1247,1248,1251],{},[30,1246,195],{}," when Node's ",[30,1249,1250],{},"import()"," throws while loading the config file, such as on a syntax error or a broken import path.",[59,1253,1254],{"language":463,"class":62},[30,1255,1256,74,1261,74,1277,74,1295,74,1297,74,1302,74,1316],{"class":466},[67,1257,1258],{"class":69,"style":70},[67,1259,1260],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C010: Could not load glosslint.config.ts: ...",[67,1262,1263,1266,1269,1272,1275],{"class":69,"style":70},[67,1264,1265],{"style":687},"import",[67,1267,1268],{"style":477}," missing ",[67,1270,1271],{"style":687},"from",[67,1273,1274],{"style":487}," \".\u002Fdoes-not-exist.ts\"",[67,1276,1109],{"style":477},[67,1278,1279,1281,1283,1285,1288,1291,1293],{"class":69,"style":70},[67,1280,1078],{"style":687},[67,1282,1081],{"style":687},[67,1284,1085],{"style":1084},[67,1286,1287],{"style":481},"({ ",[67,1289,1290],{"style":477},"extends: [missing] ",[67,1292,1106],{"style":481},[67,1294,1109],{"style":477},[67,1296],{"class":69,"style":70},[67,1298,1299],{"class":69,"style":70},[67,1300,1301],{"style":471},"\u002F\u002F Fix: correct the import or syntax error in glosslint.config.ts",[67,1303,1304,1306,1309,1311,1314],{"class":69,"style":70},[67,1305,1265],{"style":687},[67,1307,1308],{"style":477}," tech ",[67,1310,1271],{"style":687},[67,1312,1313],{"style":487}," \"glosslint\u002Fpresets\u002Ftech\"",[67,1315,1109],{"style":477},[67,1317,1318,1320,1322,1324,1326,1329,1331],{"class":69,"style":70},[67,1319,1078],{"style":687},[67,1321,1081],{"style":687},[67,1323,1085],{"style":1084},[67,1325,1287],{"style":481},[67,1327,1328],{"style":477},"extends: [tech] ",[67,1330,1106],{"style":481},[67,1332,1109],{"style":477},[444,1334,188],{"id":1335,"anchor":1336},"glosslint_c011",{"label":1337,"icon":44},"Section titled \"GLOSSLINT_C011\"",[20,1339,1340,453,1342,894,1344,1346,1347,33,1350,659,1353,1356,1357,33,1359,33,1361,33,1363,659,1365,94],{},[30,1341,32],{},[30,1343,188],{},[30,1345,376],{}," on the corpus or a term is not an object, names a kind other than ",[30,1348,1349],{},"\"label\"",[30,1351,1352],{},"\"header\"",[30,1354,1355],{},"\"sentence\"",", or uses a style other than ",[30,1358,692],{},[30,1360,1355],{},[30,1362,900],{},[30,1364,729],{},[30,1366,1367],{},"\"as-written\"",[59,1369,1370],{"language":463,"class":62},[30,1371,1372,74,1377,74,1404,74,1406,74,1411],{"class":466},[67,1373,1374],{"class":69,"style":70},[67,1375,1376],{"style":471},"\u002F\u002F Triggers GLOSSLINT_C011: \"casing.header\" of term \"Day Pass\" is \"caps\".",[67,1378,1379,1381,1383,1385,1387,1389,1391,1394,1396,1398,1401],{"class":69,"style":70},[67,1380,478],{"style":477},[67,1382,149],{"style":481},[67,1384,484],{"style":477},[67,1386,682],{"style":487},[67,1388,33],{"style":477},[67,1390,376],{"style":481},[67,1392,1393],{"style":477},": { ",[67,1395,383],{"style":481},[67,1397,484],{"style":477},[67,1399,1400],{"style":487},"\"caps\"",[67,1402,1403],{"style":477}," } }",[67,1405],{"class":69,"style":70},[67,1407,1408],{"class":69,"style":70},[67,1409,1410],{"style":471},"\u002F\u002F Fix: use a valid kind and case style",[67,1412,1413,1415,1417,1419,1421,1423,1425,1427,1429,1431,1433],{"class":69,"style":70},[67,1414,478],{"style":477},[67,1416,149],{"style":481},[67,1418,484],{"style":477},[67,1420,682],{"style":487},[67,1422,33],{"style":477},[67,1424,376],{"style":481},[67,1426,1393],{"style":477},[67,1428,383],{"style":481},[67,1430,484],{"style":477},[67,1432,729],{"style":487},[67,1434,1403],{"style":477},[1436,1437,1438,1439],{"id":41,"depth":15,"text":45},{"id":97,"depth":15,"text":100},{"id":208,"depth":15,"text":211},{"id":439,"depth":15,"text":442,"children":1440},[1441,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452],{"id":446,"depth":1442,"text":180},3,{"id":544,"depth":1442,"text":247},{"id":640,"depth":1442,"text":260},{"id":743,"depth":1442,"text":282},{"id":823,"depth":1442,"text":295},{"id":885,"depth":1442,"text":305},{"id":965,"depth":1442,"text":324},{"id":1045,"depth":1442,"text":184},{"id":1162,"depth":1442,"text":192},{"id":1240,"depth":1442,"text":195},{"id":1335,"depth":1442,"text":188},{"path":1454,"title":1455,"description":1456},"\u002Freference\u002Ffindings","Findings format","Reference for glosslint findings: JSON and tree output formats, every field, the three finding codes, fix.kind rules, and matcher output.",{"path":203,"title":204,"description":1458},"Reference for glosslint's JavaScript API: every package entry point, exported function signature, preset export, CLI binary, and TypeScript type.",1795627930603,"94d466e2-147b-430f-b5f0-25c6a986e462"]