[{"data":1,"prerenderedAt":672,"buildId":673},["ShallowReactive",2],{"docs:\u002Fguide\u002Fcase-police":3},{"page":4,"section":16,"document":17,"credits":10,"prev":666,"next":668},{"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},"case-police","\u002Fguide\u002Fcase-police","guide\u002Fcase-police.md","Coming from case-police","How glosslint's tech preset matches case-police 2.2.1 across 488 entries, where the 7 joined spellings differ, and how to migrate.",null,[],"i-lucide-arrow-right-left","article",true,9,"guide",{"nodes":18,"toc":655},[19,36,44,64,147,153,181,190,193,296,325,331,337,433,439],[20,21,22,26,27,31,32,35],"p",{},[23,24,5],"a",{"href":25},"https:\u002F\u002Fgithub.com\u002Fantfu\u002Fcase-police",", by Anthony Fu, is a CLI that checks and fixes the casing of technology names such as ",[28,29,30],"code",{},"GitHub"," and ",[28,33,34],{},"macOS",". glosslint builds its tech preset directly from case-police's dictionaries so you can keep the same casing rules and add your own product glossary in one place.",[37,38,43],"h2",{"id":39,"anchor":40},"dictionary-coverage",{"label":41,"icon":42},"Section titled \"Dictionary coverage\"","#","Dictionary coverage",[20,45,46,49,50,56,57,63],{},[28,47,48],{},"glosslint\u002Fpresets\u002Ftech"," is generated from all five dictionaries of case-police 2.2.1 under the MIT License. The third-party license notice is in ",[23,51,53],{"href":52},"https:\u002F\u002Fgithub.com\u002Fonmax\u002Fglosslint\u002Fblob\u002Fmain\u002FNOTICE",[28,54,55],{},"NOTICE",". ",[23,58,60],{"href":59},"https:\u002F\u002Fgithub.com\u002Fonmax\u002Fglosslint\u002Fblob\u002Fmain\u002Fscripts\u002Ftech.ts",[28,61,62],{},"scripts\u002Ftech.ts"," reads every JSON dictionary and writes 477 distinct keys plus 7 allowed spellings.",[65,66,67,80],"table",{},[68,69,70],"thead",{},[71,72,73,77],"tr",{},[74,75,76],"th",{},"Dictionary",[74,78,79],{},"Entries",[81,82,83,94,104,114,124,134],"tbody",{},[71,84,85,91],{},[86,87,88],"td",{},[28,89,90],{},"softwares",[86,92,93],{},"309",[71,95,96,101],{},[86,97,98],{},[28,99,100],{},"abbreviates",[86,102,103],{},"118",[71,105,106,111],{},[86,107,108],{},[28,109,110],{},"brands",[86,112,113],{},"30",[71,115,116,121],{},[86,117,118],{},[28,119,120],{},"general",[86,122,123],{},"18",[71,125,126,131],{},[86,127,128],{},[28,129,130],{},"products",[86,132,133],{},"13",[71,135,136,142],{},[86,137,138],{},[139,140,141],"strong",{},"Total",[86,143,144],{},[139,145,146],{},"488",[37,148,152],{"id":149,"anchor":150},"casing-parity-and-the-7-differences",{"label":151,"icon":42},"Section titled \"Casing parity and the 7 differences\"","Casing parity and the 7 differences",[20,154,155,156,31,159,162,163,166,167,56,169,173,174,31,177,180],{},"glosslint matches case-police's casing rule: a word written all lowercase or all uppercase passes, so ",[28,157,158],{},"github",[28,160,161],{},"GITHUB"," pass while ",[28,164,165],{},"Github"," becomes ",[28,168,30],{},[23,170,171],{"href":59},[28,172,62],{}," sets ",[28,175,176],{},"case: \"exact\"",[28,178,179],{},"skip: [\"lower\", \"upper\"]"," on every term in the tech preset for that reason.",[20,182,183,189],{},[23,184,186],{"href":185},"https:\u002F\u002Fgithub.com\u002Fonmax\u002Fglosslint\u002Fblob\u002Fmain\u002Ftest\u002Ftech-parity.test.ts",[28,187,188],{},"test\u002Ftech-parity.test.ts"," checks parity against case-police 2.2.1 directly. It places each of the 488 entries inside a sentence in four forms: Capitalised, lower, UPPER and the canonical spelling, making 1,952 cases. Both tools fix every sentence and the test compares the results.",[20,191,192],{},"Of the 1,952 cases, 1,945 produce the same output. The only 7 differences come from joined spellings that case-police lists beside a spaced form with the same key:",[65,194,195,210],{},[68,196,197],{},[71,198,199,204],{},[74,200,201,202],{},"Term in ",[28,203,48],{},[74,205,206,207],{},"Joined spelling in ",[28,208,209],{},"allow",[81,211,212,224,236,248,260,272,284],{},[71,213,214,219],{},[86,215,216],{},[28,217,218],{},"Ant Design",[86,220,221],{},[28,222,223],{},"AntDesign",[71,225,226,231],{},[86,227,228],{},[28,229,230],{},"Ant Design Vue",[86,232,233],{},[28,234,235],{},"AntDesignVue",[71,237,238,243],{},[86,239,240],{},[28,241,242],{},"Composition API",[86,244,245],{},[28,246,247],{},"CompositionAPI",[71,249,250,255],{},[86,251,252],{},[28,253,254],{},"Graph RAG",[86,256,257],{},[28,258,259],{},"GraphRAG",[71,261,262,267],{},[86,263,264],{},[28,265,266],{},"Naive UI",[86,268,269],{},[28,270,271],{},"NaiveUI",[71,273,274,279],{},[86,275,276],{},[28,277,278],{},"Tailwind CSS",[86,280,281],{},[28,282,283],{},"TailwindCSS",[71,285,286,291],{},[86,287,288],{},[28,289,290],{},"Windi CSS",[86,292,293],{},[28,294,295],{},"WindiCSS",[20,297,298,299,301,302,304,305,307,308,310,311,314,315,317,318,321,322,324],{},"A glosslint corpus holds one term per key, so the preset keeps the spaced form, such as ",[28,300,278],{},", as the term and puts the joined spelling, ",[28,303,283],{},", in ",[28,306,209],{},". Because ",[28,309,209],{}," matches in any case, glosslint leaves ",[28,312,313],{},"Antdesign"," as written where case-police rewrites it to ",[28,316,223],{},". The spaced form still gets checked, so ",[28,319,320],{},"Ant design"," still rewrites to ",[28,323,218],{},".",[37,326,330],{"id":327,"anchor":328},"what-glosslint-adds",{"label":329,"icon":42},"Section titled \"What glosslint adds\"","What glosslint adds",[20,332,333,334,336],{},"Extending ",[28,335,48],{}," puts technology names into the same corpus as the rest of your product vocabulary:",[338,339,340,367,385,406,412],"ul",{},[341,342,343,346,347,350,351,31,354,357,358,362,363,324],"li",{},[139,344,345],{},"Your own product terms."," Define terms like ",[28,348,349],{},"Dock",", ",[28,352,353],{},"eBike",[28,355,356],{},"Day Pass"," alongside the tech preset, or load them from a ",[23,359,361],{"href":360},"\u002Fguide\u002Fglossary-table","Glossary table"," and combine them with other ",[23,364,366],{"href":365},"\u002Fguide\u002Fpresets","Built-in presets",[341,368,369,372,373,376,377,380,381,384],{},[139,370,371],{},"Avoid words with reasons."," Flag discouraged terms such as ",[28,374,375],{},"rack"," or ",[28,378,379],{},"hub"," with a ",[28,382,383],{},"why"," message explaining what to use instead.",[341,386,387,390,391,394,395,397,398,401,402,324],{},[139,388,389],{},"Context casing."," Apply different styles in labels, table headers and sentences with ",[28,392,393],{},"case: \"context\"",", such as ",[28,396,356],{}," in a button and ",[28,399,400],{},"day pass"," in a sentence. See ",[23,403,405],{"href":404},"\u002Fguide\u002Fcasing","Casing",[341,407,408,411],{},[139,409,410],{},"Meaning on every finding."," Every finding prints the term's description, nuance and documentation link so writers and coding agents learn the vocabulary as they work.",[341,413,414,417,418,422,423,427,428,432],{},[139,415,416],{},"Code, translations and docs."," Run the same corpus through ",[23,419,421],{"href":420},"\u002Fintegrations\u002Feslint","ESLint"," for JavaScript, TypeScript, Vue templates and YAML locales, ",[23,424,426],{"href":425},"\u002Fintegrations\u002Fx18n","x18n"," for translations, and ",[23,429,431],{"href":430},"\u002Fintegrations\u002Fcli","the CLI"," for Markdown docs.",[37,434,438],{"id":435,"anchor":436},"moving-over",{"label":437,"icon":42},"Section titled \"Moving over\"","Moving over",[440,441,442,518,608],"steps",{},[443,444,446,453,460],"step",{"index":445},"1",[447,448,452],"h3",{"id":449,"anchor":450},"install-glosslint",{"label":451,"icon":42},"Section titled \"Install glosslint\"","Install glosslint",[20,454,455,456,459],{},"Install ",[28,457,458],{},"glosslint"," as a dev dependency. glosslint needs Node 22.18 or later.",[461,462,470,501],"tabs",{"uid":463,"count":464,"labels":465,"code":468,"magic":469},"ct-1jjxj1i-1","2",[466,467],"pnpm","npm","true","auto",[471,472,473],"tabs-item",{"label":466,"index":445},[474,475,479],"pre",{"language":476,"frame":477,"class":478},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[28,480,482],{"class":481},"language-sh",[483,484,487,490,494,498],"span",{"class":485,"style":486},"line","display: inline",[483,488,466],{"style":489},"color:#953800;--shiki-dark:#FFA657",[483,491,493],{"style":492},"color:#0A3069;--shiki-dark:#A5D6FF"," add",[483,495,497],{"style":496},"color:#0550AE;--shiki-dark:#79C0FF"," -D",[483,499,500],{"style":492}," glosslint",[471,502,503],{"label":467,"index":464},[474,504,505],{"language":476,"frame":477,"class":478},[28,506,507],{"class":481},[483,508,509,511,514,516],{"class":485,"style":486},[483,510,467],{"style":489},[483,512,513],{"style":492}," install",[483,515,497],{"style":496},[483,517,500],{"style":492},[443,519,520,526,536],{"index":464},[447,521,525],{"id":522,"anchor":523},"extend-the-tech-preset",{"label":524,"icon":42},"Section titled \"Extend the tech preset\"","Extend the tech preset",[20,527,528,529,532,533,535],{},"Create ",[28,530,531],{},"glosslint.config.ts"," at the root of your repository and extend ",[28,534,48],{},":",[474,537,539],{"language":538,"filename":531,"class":478},"ts",[28,540,542,561,562,561,576,561,578,561,593,561,601],{"class":541},"language-ts",[483,543,544,548,552,555,558],{"class":485,"style":486},[483,545,547],{"style":546},"color:#CF222E;--shiki-dark:#FF7B72","import",[483,549,551],{"style":550},"color:#1F2328;--shiki-dark:#E6EDF3"," { defineCorpus } ",[483,553,554],{"style":546},"from",[483,556,557],{"style":492}," \"glosslint\"",[483,559,560],{"style":550},";","\n",[483,563,564,566,569,571,574],{"class":485,"style":486},[483,565,547],{"style":546},[483,567,568],{"style":550}," tech ",[483,570,554],{"style":546},[483,572,573],{"style":492}," \"glosslint\u002Fpresets\u002Ftech\"",[483,575,560],{"style":550},[483,577],{"class":485,"style":486},[483,579,580,583,586,590],{"class":485,"style":486},[483,581,582],{"style":546},"export",[483,584,585],{"style":546}," default",[483,587,589],{"style":588},"color:#8250DF;--shiki-dark:#D2A8FF"," defineCorpus",[483,591,592],{"style":489},"({",[483,594,595,598],{"class":485,"style":486},[483,596,597],{"style":550},"  extends: [tech]",[483,599,600],{"style":489},",",[483,602,603,606],{"class":485,"style":486},[483,604,605],{"style":489},"})",[483,607,560],{"style":550},[443,609,611,617,620,634,646],{"index":610},"3",[447,612,616],{"id":613,"anchor":614},"check-markdown-and-fix-code",{"label":615,"icon":42},"Section titled \"Check Markdown and fix code\"","Check Markdown and fix code",[20,618,619],{},"Run the CLI to check Markdown and text files:",[474,621,622],{"language":476,"frame":477,"class":478},[28,623,624],{"class":481},[483,625,626,629,631],{"class":485,"style":486},[483,627,628],{"style":489},"npx",[483,630,500],{"style":492},[483,632,633],{"style":492}," check",[635,636,639],"github-callout",{"type":637,"title":638},"note","Note",[20,640,641,642,645],{},"The glosslint CLI only reports findings and has no ",[28,643,644],{},"--fix"," flag.",[20,647,648,649,651,652,324],{},"To autofix casing in JavaScript, TypeScript, Vue templates and YAML locale files, wire your corpus into ",[23,650,421],{"href":420}," and run ",[28,653,654],{},"eslint --fix",[656,658,659,660],{"id":39,"depth":657,"text":43},2,{"id":149,"depth":657,"text":152},{"id":327,"depth":657,"text":330},{"id":435,"depth":657,"text":438,"children":661},[662,664,665],{"id":449,"depth":663,"text":452},3,{"id":522,"depth":663,"text":525},{"id":613,"depth":663,"text":616},{"path":365,"title":366,"description":667},"Use the tech and inclusive presets in glosslint to check 477 technology names and 37 inclusive terms, then override or turn off entries.",{"path":669,"title":670,"description":671},"\u002Fguide\u002Fagents","Coding agents","Export your glossary for coding agents, follow the five-step editing workflow by fix.kind, and install the glosslint agent skill.",1795627930355,"94d466e2-147b-430f-b5f0-25c6a986e462"]