[{"data":1,"prerenderedAt":996,"buildId":997},["ShallowReactive",2],{"docs:\u002Fguide\u002Ffindings":3},{"page":4,"section":17,"document":18,"credits":10,"prev":989,"next":992},{"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":15,"navigation":14,"order":16},"findings","\u002Fguide\u002Ffindings","guide\u002Ffindings.md","Findings format","Reference for glosslint findings: the JSON and tree output, every field, the three codes, and fix kinds.",null,[],"i-lucide-list-checks","article",true,"Reference",10,"guide",{"nodes":19,"toc":981},[20,24,32,64,99,619,625,635,666,672,825,831,842,883,889,929,939,945],[21,22,23],"p",{},"Every finding reports a location, matched text, replacement, and term context.",[25,26,31],"h2",{"id":27,"anchor":28},"json-output",{"label":29,"icon":30},"Section titled \"JSON output\"","#","JSON output",[21,33,34,38,39,42,43,46,47,50,51,54,55,57,58,63],{},[35,36,37],"code",{},"glosslint check --format json"," prints ",[35,40,41],{},"{ findings, summary }",". With ",[35,44,45],{},"--fix",", ",[35,48,49],{},"summary"," also has ",[35,52,53],{},"fixed",", the number of fixes written, and ",[35,56,5],{}," lists what is left. See ",[59,60,62],"a",{"href":61},"\u002Fintegrations\u002Fcli","CLI"," for flags and exit codes.",[65,66,70],"pre",{"language":67,"frame":68,"class":69,"wrap":14},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[35,71,73],{"class":72},"language-sh",[74,75,78,82,86,89,92,96],"span",{"class":76,"style":77},"line","display: inline",[74,79,81],{"style":80},"color:#953800;--shiki-dark:#FFA657","npx",[74,83,85],{"style":84},"color:#0A3069;--shiki-dark:#A5D6FF"," glosslint",[74,87,88],{"style":84}," check",[74,90,91],{"style":84}," docs\u002Fguide\u002Friding.md",[74,93,95],{"style":94},"color:#0550AE;--shiki-dark:#79C0FF"," --format",[74,97,98],{"style":84}," json",[65,100,102],{"language":101,"class":69,"wrap":14},"json",[35,103,105,111,112,111,121,111,126,111,140,111,152,111,164,111,176,111,188,111,200,111,212,111,246,111,258,111,266,111,278,111,290,111,300,111,305,111,312,111,324,111,336,111,346,111,350,111,360,111,365,111,369,111,380,111,390,111,401,111,412,111,423,111,434,111,445,111,476,111,482,111,493,111,504,111,513,111,517,111,523,111,531,111,536,111,541,111,546,111,553,111,565,111,577,111,588,111,599,111,609,111,614],{"class":104},"language-json",[74,106,107],{"class":76,"style":77},[74,108,110],{"style":109},"color:#1F2328;--shiki-dark:#E6EDF3","{","\n",[74,113,114,118],{"class":76,"style":77},[74,115,117],{"style":116},"color:#116329;--shiki-dark:#7EE787","  \"findings\"",[74,119,120],{"style":109},": [",[74,122,123],{"class":76,"style":77},[74,124,125],{"style":109},"    {",[74,127,128,131,134,137],{"class":76,"style":77},[74,129,130],{"style":116},"      \"code\"",[74,132,133],{"style":109},": ",[74,135,136],{"style":84},"\"GLOSSLINT_AVOID\"",[74,138,139],{"style":109},",",[74,141,142,145,147,150],{"class":76,"style":77},[74,143,144],{"style":116},"      \"file\"",[74,146,133],{"style":109},[74,148,149],{"style":84},"\"docs\u002Fguide\u002Friding.md\"",[74,151,139],{"style":109},[74,153,154,157,159,162],{"class":76,"style":77},[74,155,156],{"style":116},"      \"line\"",[74,158,133],{"style":109},[74,160,161],{"style":94},"3",[74,163,139],{"style":109},[74,165,166,169,171,174],{"class":76,"style":77},[74,167,168],{"style":116},"      \"column\"",[74,170,133],{"style":109},[74,172,173],{"style":94},"56",[74,175,139],{"style":109},[74,177,178,181,183,186],{"class":76,"style":77},[74,179,180],{"style":116},"      \"start\"",[74,182,133],{"style":109},[74,184,185],{"style":94},"71",[74,187,139],{"style":109},[74,189,190,193,195,198],{"class":76,"style":77},[74,191,192],{"style":116},"      \"end\"",[74,194,133],{"style":109},[74,196,197],{"style":94},"75",[74,199,139],{"style":109},[74,201,202,205,207,210],{"class":76,"style":77},[74,203,204],{"style":116},"      \"text\"",[74,206,133],{"style":109},[74,208,209],{"style":84},"\"rack\"",[74,211,139],{"style":109},[74,213,214,217,219,222,226,229,231,234,236,239,241,244],{"class":76,"style":77},[74,215,216],{"style":116},"      \"message\"",[74,218,133],{"style":109},[74,220,221],{"style":84},"\"Use ",[74,223,225],{"style":224},"color:#CF222E;--shiki-dark:#FF7B72","\\\"",[74,227,228],{"style":84},"dock",[74,230,225],{"style":224},[74,232,233],{"style":84}," instead of ",[74,235,225],{"style":224},[74,237,238],{"style":84},"rack",[74,240,225],{"style":224},[74,242,243],{"style":84},". Racks are unpowered. Dock: A powered stand where one bike is locked. A station is a group of docks. See https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks\"",[74,245,139],{"style":109},[74,247,248,251,253,256],{"class":76,"style":77},[74,249,250],{"style":116},"      \"why\"",[74,252,133],{"style":109},[74,254,255],{"style":84},"\"Racks are unpowered.\"",[74,257,139],{"style":109},[74,259,260,263],{"class":76,"style":77},[74,261,262],{"style":116},"      \"fix\"",[74,264,265],{"style":109},": {",[74,267,268,271,273,276],{"class":76,"style":77},[74,269,270],{"style":116},"        \"kind\"",[74,272,133],{"style":109},[74,274,275],{"style":84},"\"suggestion\"",[74,277,139],{"style":109},[74,279,280,283,285,288],{"class":76,"style":77},[74,281,282],{"style":116},"        \"replace\"",[74,284,133],{"style":109},[74,286,287],{"style":84},"\"dock\"",[74,289,139],{"style":109},[74,291,292,295,297],{"class":76,"style":77},[74,293,294],{"style":116},"        \"result\"",[74,296,133],{"style":109},[74,298,299],{"style":84},"\"Unlock a bike at any station, then return it to a free dock when you finish.\"",[74,301,302],{"class":76,"style":77},[74,303,304],{"style":109},"      },",[74,306,307,310],{"class":76,"style":77},[74,308,309],{"style":116},"      \"term\"",[74,311,265],{"style":109},[74,313,314,317,319,322],{"class":76,"style":77},[74,315,316],{"style":116},"        \"term\"",[74,318,133],{"style":109},[74,320,321],{"style":84},"\"Dock\"",[74,323,139],{"style":109},[74,325,326,329,331,334],{"class":76,"style":77},[74,327,328],{"style":116},"        \"description\"",[74,330,133],{"style":109},[74,332,333],{"style":84},"\"A powered stand where one bike is locked.\"",[74,335,139],{"style":109},[74,337,338,341,343],{"class":76,"style":77},[74,339,340],{"style":116},"        \"nuance\"",[74,342,133],{"style":109},[74,344,345],{"style":84},"\"A station is a group of docks.\"",[74,347,348],{"class":76,"style":77},[74,349,304],{"style":109},[74,351,352,355,357],{"class":76,"style":77},[74,353,354],{"style":116},"      \"see\"",[74,356,133],{"style":109},[74,358,359],{"style":84},"\"https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks\"",[74,361,362],{"class":76,"style":77},[74,363,364],{"style":109},"    },",[74,366,367],{"class":76,"style":77},[74,368,125],{"style":109},[74,370,371,373,375,378],{"class":76,"style":77},[74,372,130],{"style":116},[74,374,133],{"style":109},[74,376,377],{"style":84},"\"GLOSSLINT_TERM\"",[74,379,139],{"style":109},[74,381,382,384,386,388],{"class":76,"style":77},[74,383,144],{"style":116},[74,385,133],{"style":109},[74,387,149],{"style":84},[74,389,139],{"style":109},[74,391,392,394,396,399],{"class":76,"style":77},[74,393,156],{"style":116},[74,395,133],{"style":109},[74,397,398],{"style":94},"4",[74,400,139],{"style":109},[74,402,403,405,407,410],{"class":76,"style":77},[74,404,168],{"style":116},[74,406,133],{"style":109},[74,408,409],{"style":94},"15",[74,411,139],{"style":109},[74,413,414,416,418,421],{"class":76,"style":77},[74,415,180],{"style":116},[74,417,133],{"style":109},[74,419,420],{"style":94},"107",[74,422,139],{"style":109},[74,424,425,427,429,432],{"class":76,"style":77},[74,426,192],{"style":116},[74,428,133],{"style":109},[74,430,431],{"style":94},"113",[74,433,139],{"style":109},[74,435,436,438,440,443],{"class":76,"style":77},[74,437,204],{"style":116},[74,439,133],{"style":109},[74,441,442],{"style":84},"\"e-bike\"",[74,444,139],{"style":109},[74,446,447,449,451,454,456,459,461,464,466,469,471,474],{"class":76,"style":77},[74,448,216],{"style":116},[74,450,133],{"style":109},[74,452,453],{"style":84},"\"",[74,455,225],{"style":224},[74,457,458],{"style":84},"e-bike",[74,460,225],{"style":224},[74,462,463],{"style":84}," is spelled ",[74,465,225],{"style":224},[74,467,468],{"style":84},"eBike",[74,470,225],{"style":224},[74,472,473],{"style":84},".\"",[74,475,139],{"style":109},[74,477,478,480],{"class":76,"style":77},[74,479,262],{"style":116},[74,481,265],{"style":109},[74,483,484,486,488,491],{"class":76,"style":77},[74,485,270],{"style":116},[74,487,133],{"style":109},[74,489,490],{"style":84},"\"autofix\"",[74,492,139],{"style":109},[74,494,495,497,499,502],{"class":76,"style":77},[74,496,282],{"style":116},[74,498,133],{"style":109},[74,500,501],{"style":84},"\"eBike\"",[74,503,139],{"style":109},[74,505,506,508,510],{"class":76,"style":77},[74,507,294],{"style":116},[74,509,133],{"style":109},[74,511,512],{"style":84},"\"Check out our eBike fleet if the hill feels long.\"",[74,514,515],{"class":76,"style":77},[74,516,304],{"style":109},[74,518,519,521],{"class":76,"style":77},[74,520,309],{"style":116},[74,522,265],{"style":109},[74,524,525,527,529],{"class":76,"style":77},[74,526,316],{"style":116},[74,528,133],{"style":109},[74,530,501],{"style":84},[74,532,533],{"class":76,"style":77},[74,534,535],{"style":109},"      }",[74,537,538],{"class":76,"style":77},[74,539,540],{"style":109},"    }",[74,542,543],{"class":76,"style":77},[74,544,545],{"style":109},"  ],",[74,547,548,551],{"class":76,"style":77},[74,549,550],{"style":116},"  \"summary\"",[74,552,265],{"style":109},[74,554,555,558,560,563],{"class":76,"style":77},[74,556,557],{"style":116},"    \"files\"",[74,559,133],{"style":109},[74,561,562],{"style":94},"1",[74,564,139],{"style":109},[74,566,567,570,572,575],{"class":76,"style":77},[74,568,569],{"style":116},"    \"findings\"",[74,571,133],{"style":109},[74,573,574],{"style":94},"2",[74,576,139],{"style":109},[74,578,579,582,584,586],{"class":76,"style":77},[74,580,581],{"style":116},"    \"GLOSSLINT_TERM\"",[74,583,133],{"style":109},[74,585,562],{"style":94},[74,587,139],{"style":109},[74,589,590,593,595,597],{"class":76,"style":77},[74,591,592],{"style":116},"    \"GLOSSLINT_AVOID\"",[74,594,133],{"style":109},[74,596,562],{"style":94},[74,598,139],{"style":109},[74,600,601,604,606],{"class":76,"style":77},[74,602,603],{"style":116},"    \"GLOSSLINT_CASE\"",[74,605,133],{"style":109},[74,607,608],{"style":94},"0",[74,610,611],{"class":76,"style":77},[74,612,613],{"style":109},"  }",[74,615,616],{"class":76,"style":77},[74,617,618],{"style":109},"}",[25,620,624],{"id":621,"anchor":622},"tree-format",{"label":623,"icon":30},"Section titled \"Tree format\"","Tree format",[21,626,627,628,46,631,634],{},"Without ",[35,629,630],{},"--format json",[35,632,633],{},"glosslint check"," prints each finding as a tree, followed by a summary line:",[65,636,638],{"language":637,"class":69,"wrap":14},"txt",[35,639,641,111,646,111,651,111,656,111,661],{"class":640},"language-txt",[74,642,643],{"class":76,"style":77},[74,644,645],{},"[GLOSSLINT_AVOID] \"rack\" in docs\u002Fguide\u002Friding.md:3:56",[74,647,648],{"class":76,"style":77},[74,649,650],{},"├▶ why: Racks are unpowered.",[74,652,653],{"class":76,"style":77},[74,654,655],{},"├▶ fix: Use \"dock\": \"Unlock a bike at any station, then return it to a free dock when you finish.\"",[74,657,658],{"class":76,"style":77},[74,659,660],{},"├▶ term: Dock, a powered stand where one bike is locked.",[74,662,663],{"class":76,"style":77},[74,664,665],{},"╰▶ see: https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks",[25,667,671],{"id":668,"anchor":669},"fields",{"label":670,"icon":30},"Section titled \"Fields\"","Fields",[673,674,675,688],"table",{},[676,677,678],"thead",{},[679,680,681,685],"tr",{},[682,683,684],"th",{},"Field",[682,686,687],{},"Meaning",[689,690,691,711,726,739,749,768,786,799,812],"tbody",{},[679,692,693,698],{},[694,695,696],"td",{},[35,697,35],{},[694,699,700,46,703,706,707,710],{},[35,701,702],{},"GLOSSLINT_TERM",[35,704,705],{},"GLOSSLINT_AVOID",", or ",[35,708,709],{},"GLOSSLINT_CASE",".",[679,712,713,723],{},[694,714,715,46,718,46,720],{},[35,716,717],{},"file",[35,719,76],{},[35,721,722],{},"column",[694,724,725],{},"1-based start position in the file.",[679,727,728,736],{},[694,729,730,46,733],{},[35,731,732],{},"start",[35,734,735],{},"end",[694,737,738],{},"Character offsets in the file.",[679,740,741,746],{},[694,742,743],{},[35,744,745],{},"text",[694,747,748],{},"Matched text as written.",[679,750,751,756],{},[694,752,753],{},[35,754,755],{},"message",[694,757,758,759,763,764,710],{},"One-line diagnostic printed by ",[59,760,762],{"href":761},"\u002Fintegrations\u002Feslint","ESLint"," and ",[59,765,767],{"href":766},"\u002Fintegrations\u002Foxlint","Oxlint",[679,769,770,775],{},[694,771,772],{},[35,773,774],{},"why",[694,776,777,778,781,782,785],{},"Avoid reason, else ",[35,779,780],{},"Why",", else ",[35,783,784],{},"How",". Omitted when none exist.",[679,787,788,793],{},[694,789,790],{},[35,791,792],{},"fix",[694,794,795,798],{},[35,796,797],{},"{ kind, replace, result }",". Omitted when an in-place fix isn't safe, such as across a line break.",[679,800,801,806],{},[694,802,803],{},[35,804,805],{},"term",[694,807,808,811],{},[35,809,810],{},"{ term, description, nuance }"," summary.",[679,813,814,819],{},[694,815,816],{},[35,817,818],{},"see",[694,820,821,822,710],{},"First URL from ",[35,823,824],{},"Links",[25,826,830],{"id":827,"anchor":828},"codes",{"label":829,"icon":30},"Section titled \"Codes\"","Codes",[21,832,833,834,763,836,838,839,710],{},"In ",[59,835,762],{"href":761},[59,837,767],{"href":766},", the finding code is also the rule's ",[35,840,841],{},"messageId",[673,843,844,854],{},[676,845,846],{},[679,847,848,851],{},[682,849,850],{},"Code",[682,852,853],{},"Reported when",[689,855,856,865,874],{},[679,857,858,862],{},[694,859,860],{},[35,861,702],{},[694,863,864],{},"Wrong word splits or hyphens, an avoid word sharing a term's key, or a mis-split identifier.",[679,866,867,871],{},[694,868,869],{},[35,870,705],{},[694,872,873],{},"Text contains an avoid word.",[679,875,876,880],{},[694,877,878],{},[35,879,709],{},[694,881,882],{},"Wrong capitalization for a term's casing rule or text kind.",[25,884,888],{"id":885,"anchor":886},"fix-kinds",{"label":887,"icon":30},"Section titled \"Fix kinds\"","Fix kinds",[890,891,892,917,923],"ul",{},[893,894,895,898,899,46,901,903,904,908,909,912,913,710],"li",{},[35,896,897],{},"autofix",". Safe spelling or casing fix. ",[59,900,762],{"href":761},[59,902,767],{"href":766},", and ",[59,905,907],{"href":906},"\u002Fintegrations\u002Fx18n","x18n"," downgrade it to a suggestion when a ",[35,910,911],{},"context"," term's kind was guessed from text shape. See ",[59,914,916],{"href":915},"\u002Fguide\u002Fcasing","Casing rules",[893,918,919,922],{},[35,920,921],{},"suggestion",". Replacement for an avoid word that a person needs to confirm.",[893,924,925,928],{},[35,926,927],{},"rename",". New identifier name, never applied automatically because it touches callers.",[21,930,931,933,934,938],{},[35,932,633],{}," never modifies files; it only reports fixes for you or a ",[59,935,937],{"href":936},"\u002Fguide\u002Fagents","coding agent"," to apply.",[25,940,944],{"id":941,"anchor":942},"findings-in-javascript",{"label":943,"icon":30},"Section titled \"Findings in JavaScript\"","Findings in JavaScript",[21,946,947,950,951,954,955,46,957,46,959,903,961,964,965,968,969,972,973,976,977,710],{},[35,948,949],{},"createMatcher(corpus).check(text, kind)"," returns ",[35,952,953],{},"Finding[]",", which drops ",[35,956,717],{},[35,958,76],{},[35,960,722],{},[35,962,963],{},"fix.result"," and attaches the full ",[35,966,967],{},"Term"," object. Pass them to ",[35,970,971],{},"formatFindings"," or ",[35,974,975],{},"toJson"," to format them; see ",[59,978,980],{"href":979},"\u002Fguide\u002Fapi","JavaScript API",[982,984,985,986,987,988],{"id":27,"depth":983,"text":31},2,{"id":621,"depth":983,"text":624},{"id":668,"depth":983,"text":671},{"id":827,"depth":983,"text":830},{"id":885,"depth":983,"text":888},{"id":941,"depth":983,"text":944},{"path":936,"title":990,"description":991},"Coding agents","Wire glosslint into package.json and AGENTS.md so coding agents read your glossary and check their own edits.",{"path":993,"title":994,"description":995},"\u002Fguide\u002Fconfig-errors","Config errors","Reference for glosslint config and glossary errors: the C001 to C012 and G001 to G009 codes, what triggers each, and how to fix it.",1795952942181,"f20d75f8-66fe-45da-ad80-3ee49bbc9209"]