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