[{"data":1,"prerenderedAt":429},["ShallowReactive",2],{"navigation_docs":3,"diagnostic-content-VUE0037":48},[4,8,12,16,20,24,28,32,36,40,44],{"title":5,"path":6,"stem":7},"CLI","\u002Fcli","1.cli",{"title":9,"path":10,"stem":11},"Nuxt","\u002Fnuxt","2.nuxt",{"title":13,"path":14,"stem":15},"Vue","\u002Fvue","3.vue",{"title":17,"path":18,"stem":19},"Vite","\u002Fvite","4.vite",{"title":21,"path":22,"stem":23},"Nitro","\u002Fnitro","5.nitro",{"title":25,"path":26,"stem":27},"TypeScript","\u002Ftypescript","6.typescript",{"title":29,"path":30,"stem":31},"shadcn","\u002Fshadcn","7.shadcn",{"title":33,"path":34,"stem":35},"Package","\u002Fpackage","8.package",{"title":37,"path":38,"stem":39},"Extending Doctor","\u002Fextending","9.extending",{"title":41,"path":42,"stem":43},"MCP","\u002Fmcp","9.mcp",{"title":45,"path":46,"stem":47},"Pinia","\u002Fpinia","9.pinia",{"id":49,"title":50,"body":51,"category":57,"code":421,"description":422,"docsUrl":58,"extension":423,"fix":81,"framework":99,"meta":424,"navigation":200,"pack":60,"path":425,"ruleId":61,"rulePath":62,"seo":426,"severity":63,"source":64,"sourceUrl":65,"stem":427,"why":74,"__hash__":428},"diagnostics\u002Fdiagnostics\u002FVUE0037.md","VUE0037: Remove props the component never reads",{"type":52,"value":53,"toc":411},"minimark",[54,66,71,75,79,82,86,91,94,242,245,336,340,343,379,383,395,399,407],[55,56],"rule-metadata",{"category":57,"docsUrl":58,"fix":59,"pack":60,"ruleId":61,"rulePath":62,"severity":63,"source":64,"sourceUrl":65},"props","https:\u002F\u002Feslint.vuejs.org\u002Frules\u002Fno-unused-properties.html","no","vite-doctor\u002Fvue","vue\u002Fprops\u002Fno-unused-props","\u002Fvue\u002Frules\u002Fprops\u002Fno-unused-props","warn","src\u002Frule-packs\u002Fvue\u002Frules\u002Fvue\u002Fno-unused-props.ts","https:\u002F\u002Fgithub.com\u002Fonmax\u002Fvite-doctor\u002Fblob\u002Fmain\u002Fsrc\u002Frule-packs\u002Fvue\u002Frules\u002Fvue\u002Fno-unused-props.ts",[67,68,70],"h2",{"id":69},"why-it-happens","Why it happens",[72,73,74],"p",{},"A declared prop the component never reads is dead contract. Callers can pass it and nothing changes, and readers assume it does something. It is usually left behind when a refactor moved or dropped its use.",[67,76,78],{"id":77},"fix","Fix",[72,80,81],{},"Remove the prop from the props declaration and from the parents that pass it, or restore the read the component lost. Once a prop is no longer declared, a value parents still pass falls through to the root element as an attribute; if the declaration exists to stop that, keep it and suppress the diagnostic with that reason.",[67,83,85],{"id":84},"example","Example",[87,88,90],"h3",{"id":89},"remove-a-prop-left-behind-by-a-refactor","Remove a prop left behind by a refactor",[72,92,93],{},"Before",[95,96,101],"pre",{"className":97,"code":98,"language":99,"meta":100,"style":100},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst props = defineProps\u003C{ title: string; legacySize?: string }>()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Ch1>{{ props.title }}\u003C\u002Fh1>\n\u003C\u002Ftemplate>\n","vue","",[102,103,104,139,185,195,202,212,233],"code",{"__ignoreMap":100},[105,106,109,113,117,121,124,127,130,134,136],"span",{"class":107,"line":108},"line",1,[105,110,112],{"class":111},"sMK4o","\u003C",[105,114,116],{"class":115},"swJcz","script",[105,118,120],{"class":119},"spNyl"," setup",[105,122,123],{"class":119}," lang",[105,125,126],{"class":111},"=",[105,128,129],{"class":111},"\"",[105,131,133],{"class":132},"sfazB","ts",[105,135,129],{"class":111},[105,137,138],{"class":111},">\n",[105,140,142,145,149,151,155,158,161,164,168,171,174,177,179,182],{"class":107,"line":141},2,[105,143,144],{"class":119},"const",[105,146,148],{"class":147},"sTEyZ"," props ",[105,150,126],{"class":111},[105,152,154],{"class":153},"s2Zo4"," defineProps",[105,156,157],{"class":111},"\u003C{",[105,159,160],{"class":115}," title",[105,162,163],{"class":111},":",[105,165,167],{"class":166},"sBMFI"," string",[105,169,170],{"class":111},";",[105,172,173],{"class":115}," legacySize",[105,175,176],{"class":111},"?:",[105,178,167],{"class":166},[105,180,181],{"class":111}," }>",[105,183,184],{"class":147},"()\n",[105,186,188,191,193],{"class":107,"line":187},3,[105,189,190],{"class":111},"\u003C\u002F",[105,192,116],{"class":115},[105,194,138],{"class":111},[105,196,198],{"class":107,"line":197},4,[105,199,201],{"emptyLinePlaceholder":200},true,"\n",[105,203,205,207,210],{"class":107,"line":204},5,[105,206,112],{"class":111},[105,208,209],{"class":115},"template",[105,211,138],{"class":111},[105,213,215,218,221,224,227,229,231],{"class":107,"line":214},6,[105,216,217],{"class":111},"  \u003C",[105,219,220],{"class":115},"h1",[105,222,223],{"class":111},">",[105,225,226],{"class":147},"{{ props.title }}",[105,228,190],{"class":111},[105,230,220],{"class":115},[105,232,138],{"class":111},[105,234,236,238,240],{"class":107,"line":235},7,[105,237,190],{"class":111},[105,239,209],{"class":115},[105,241,138],{"class":111},[72,243,244],{},"After",[95,246,248],{"className":97,"code":247,"language":99,"meta":100,"style":100},"\u003Cscript setup lang=\"ts\">\nconst props = defineProps\u003C{ title: string }>()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Ch1>{{ props.title }}\u003C\u002Fh1>\n\u003C\u002Ftemplate>\n",[102,249,250,270,292,300,304,312,328],{"__ignoreMap":100},[105,251,252,254,256,258,260,262,264,266,268],{"class":107,"line":108},[105,253,112],{"class":111},[105,255,116],{"class":115},[105,257,120],{"class":119},[105,259,123],{"class":119},[105,261,126],{"class":111},[105,263,129],{"class":111},[105,265,133],{"class":132},[105,267,129],{"class":111},[105,269,138],{"class":111},[105,271,272,274,276,278,280,282,284,286,288,290],{"class":107,"line":141},[105,273,144],{"class":119},[105,275,148],{"class":147},[105,277,126],{"class":111},[105,279,154],{"class":153},[105,281,157],{"class":111},[105,283,160],{"class":115},[105,285,163],{"class":111},[105,287,167],{"class":166},[105,289,181],{"class":111},[105,291,184],{"class":147},[105,293,294,296,298],{"class":107,"line":187},[105,295,190],{"class":111},[105,297,116],{"class":115},[105,299,138],{"class":111},[105,301,302],{"class":107,"line":197},[105,303,201],{"emptyLinePlaceholder":200},[105,305,306,308,310],{"class":107,"line":204},[105,307,112],{"class":111},[105,309,209],{"class":115},[105,311,138],{"class":111},[105,313,314,316,318,320,322,324,326],{"class":107,"line":214},[105,315,217],{"class":111},[105,317,220],{"class":115},[105,319,223],{"class":111},[105,321,226],{"class":147},[105,323,190],{"class":111},[105,325,220],{"class":115},[105,327,138],{"class":111},[105,329,330,332,334],{"class":107,"line":235},[105,331,190],{"class":111},[105,333,209],{"class":115},[105,335,138],{"class":111},[67,337,339],{"id":338},"verify-the-fix","Verify the fix",[72,341,342],{},"Run only this rule after editing so the report stays focused on the diagnostic you are closing:",[95,344,348],{"className":345,"code":346,"language":347,"meta":100,"style":100},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm vite-doctor . --framework vue --extends auto,vue\u002Fstrict --rules vue\u002Fprops\u002Fno-unused-props\n","bash",[102,349,350],{"__ignoreMap":100},[105,351,352,355,358,361,364,367,370,373,376],{"class":107,"line":108},[105,353,354],{"class":166},"pnpm",[105,356,357],{"class":132}," vite-doctor",[105,359,360],{"class":132}," .",[105,362,363],{"class":132}," --framework",[105,365,366],{"class":132}," vue",[105,368,369],{"class":132}," --extends",[105,371,372],{"class":132}," auto,vue\u002Fstrict",[105,374,375],{"class":132}," --rules",[105,377,378],{"class":132}," vue\u002Fprops\u002Fno-unused-props\n",[67,380,382],{"id":381},"useful-links","Useful links",[384,385,386],"ul",{},[387,388,389],"li",{},[390,391,394],"a",{"href":58,"rel":392},[393],"nofollow","Upstream docs",[67,396,398],{"id":397},"related-rule","Related rule",[384,400,401],{},[387,402,403],{},[390,404,405],{"href":62},[102,406,61],{},[408,409,410],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":100,"searchDepth":141,"depth":141,"links":412},[413,414,415,418,419,420],{"id":69,"depth":141,"text":70},{"id":77,"depth":141,"text":78},{"id":84,"depth":141,"text":85,"children":416},[417],{"id":89,"depth":187,"text":90},{"id":338,"depth":141,"text":339},{"id":381,"depth":141,"text":382},{"id":397,"depth":141,"text":398},"VUE0037","Reports props a component declares but never reads in its script, inline template, or style v-bind(), using eslint-plugin-vue no-unused-properties limited to props. Files that pass the whole props object to code eslint cannot follow, such as useVModel(props) or reactiveOmit(props, 'class'), and files with src or non-HTML templates are skipped. It also keeps an unread prop that stops a fallthrough attribute: when inheritAttrs is on and the template has one root, a prop named like a global attribute or an attribute of that root element, such as title or alt, or typed as an object, array or function, would otherwise land on the root. Components in components\u002Fcontent\u002F and Prose components are skipped, since Markdown passes them every attribute an author writes. Single-file only: it does not check whether callers pass a prop. Strict Preset only.","md",{},"\u002Fdiagnostics\u002Fvue0037",{"title":50,"description":422},"diagnostics\u002FVUE0037","0BWalsHvfIY80Svj02-3JTprR2xqmAylNRv8aCSNqtU",1795268810915]