[{"data":1,"prerenderedAt":422},["ShallowReactive",2],{"navigation_docs":3,"rule-content-\u002Fvue\u002Frules\u002Fprops\u002Fno-unused-props":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,"description":412,"diagnosticCodes":413,"docsUrl":59,"extension":414,"fix":60,"framework":169,"meta":415,"navigation":416,"pack":61,"path":418,"recommendedReplacement":129,"ruleId":62,"seo":419,"severity":63,"source":64,"sourceUrl":65,"stem":420,"why":122,"__hash__":421},"rules\u002Fvue\u002Frules\u002Fprops\u002Fno-unused-props.md","Remove props the component never reads",{"type":52,"value":53,"toc":403},"minimark",[54,66,71,115,119,123,127,130,134,153,157,162,165,305,308,399],[55,56],"rule-metadata",{"category":57,"diagnosticCodes":58,"docsUrl":59,"fix":60,"pack":61,"ruleId":62,"severity":63,"source":64,"sourceUrl":65},"props","VUE0037","https:\u002F\u002Feslint.vuejs.org\u002Frules\u002Fno-unused-properties.html","no","vite-doctor\u002Fvue","vue\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},"run-this-rule","Run this rule",[72,73,78],"pre",{"className":74,"code":75,"language":76,"meta":77,"style":77},"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","",[79,80,81],"code",{"__ignoreMap":77},[82,83,86,90,94,97,100,103,106,109,112],"span",{"class":84,"line":85},"line",1,[82,87,89],{"class":88},"sBMFI","pnpm",[82,91,93],{"class":92},"sfazB"," vite-doctor",[82,95,96],{"class":92}," .",[82,98,99],{"class":92}," --framework",[82,101,102],{"class":92}," vue",[82,104,105],{"class":92}," --extends",[82,107,108],{"class":92}," auto,vue\u002Fstrict",[82,110,111],{"class":92}," --rules",[82,113,114],{"class":92}," vue\u002Fprops\u002Fno-unused-props\n",[67,116,118],{"id":117},"why-it-matters","Why it matters",[120,121,122],"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,124,126],{"id":125},"recommended-fix","Recommended fix",[120,128,129],{},"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,131,133],{"id":132},"useful-links","Useful links",[135,136,137,146],"ul",{},[138,139,140],"li",{},[141,142,145],"a",{"href":59,"rel":143},[144],"nofollow","Rule reference",[138,147,148],{},[141,149,152],{"href":150,"rel":151},"https:\u002F\u002Fvuejs.org\u002Fguide\u002Fcomponents\u002Fattrs.html",[144],"Vue fallthrough attributes",[67,154,156],{"id":155},"example","Example",[158,159,161],"h3",{"id":160},"remove-a-prop-left-behind-by-a-refactor","Remove a prop left behind by a refactor",[120,163,164],{},"Before",[72,166,170],{"className":167,"code":168,"language":169,"meta":77,"style":77},"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",[79,171,172,203,248,258,265,275,296],{"__ignoreMap":77},[82,173,174,178,182,186,189,192,195,198,200],{"class":84,"line":85},[82,175,177],{"class":176},"sMK4o","\u003C",[82,179,181],{"class":180},"swJcz","script",[82,183,185],{"class":184},"spNyl"," setup",[82,187,188],{"class":184}," lang",[82,190,191],{"class":176},"=",[82,193,194],{"class":176},"\"",[82,196,197],{"class":92},"ts",[82,199,194],{"class":176},[82,201,202],{"class":176},">\n",[82,204,206,209,213,215,219,222,225,228,231,234,237,240,242,245],{"class":84,"line":205},2,[82,207,208],{"class":184},"const",[82,210,212],{"class":211},"sTEyZ"," props ",[82,214,191],{"class":176},[82,216,218],{"class":217},"s2Zo4"," defineProps",[82,220,221],{"class":176},"\u003C{",[82,223,224],{"class":180}," title",[82,226,227],{"class":176},":",[82,229,230],{"class":88}," string",[82,232,233],{"class":176},";",[82,235,236],{"class":180}," legacySize",[82,238,239],{"class":176},"?:",[82,241,230],{"class":88},[82,243,244],{"class":176}," }>",[82,246,247],{"class":211},"()\n",[82,249,251,254,256],{"class":84,"line":250},3,[82,252,253],{"class":176},"\u003C\u002F",[82,255,181],{"class":180},[82,257,202],{"class":176},[82,259,261],{"class":84,"line":260},4,[82,262,264],{"emptyLinePlaceholder":263},true,"\n",[82,266,268,270,273],{"class":84,"line":267},5,[82,269,177],{"class":176},[82,271,272],{"class":180},"template",[82,274,202],{"class":176},[82,276,278,281,284,287,290,292,294],{"class":84,"line":277},6,[82,279,280],{"class":176},"  \u003C",[82,282,283],{"class":180},"h1",[82,285,286],{"class":176},">",[82,288,289],{"class":211},"{{ props.title }}",[82,291,253],{"class":176},[82,293,283],{"class":180},[82,295,202],{"class":176},[82,297,299,301,303],{"class":84,"line":298},7,[82,300,253],{"class":176},[82,302,272],{"class":180},[82,304,202],{"class":176},[120,306,307],{},"After",[72,309,311],{"className":167,"code":310,"language":169,"meta":77,"style":77},"\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",[79,312,313,333,355,363,367,375,391],{"__ignoreMap":77},[82,314,315,317,319,321,323,325,327,329,331],{"class":84,"line":85},[82,316,177],{"class":176},[82,318,181],{"class":180},[82,320,185],{"class":184},[82,322,188],{"class":184},[82,324,191],{"class":176},[82,326,194],{"class":176},[82,328,197],{"class":92},[82,330,194],{"class":176},[82,332,202],{"class":176},[82,334,335,337,339,341,343,345,347,349,351,353],{"class":84,"line":205},[82,336,208],{"class":184},[82,338,212],{"class":211},[82,340,191],{"class":176},[82,342,218],{"class":217},[82,344,221],{"class":176},[82,346,224],{"class":180},[82,348,227],{"class":176},[82,350,230],{"class":88},[82,352,244],{"class":176},[82,354,247],{"class":211},[82,356,357,359,361],{"class":84,"line":250},[82,358,253],{"class":176},[82,360,181],{"class":180},[82,362,202],{"class":176},[82,364,365],{"class":84,"line":260},[82,366,264],{"emptyLinePlaceholder":263},[82,368,369,371,373],{"class":84,"line":267},[82,370,177],{"class":176},[82,372,272],{"class":180},[82,374,202],{"class":176},[82,376,377,379,381,383,385,387,389],{"class":84,"line":277},[82,378,280],{"class":176},[82,380,283],{"class":180},[82,382,286],{"class":176},[82,384,289],{"class":211},[82,386,253],{"class":176},[82,388,283],{"class":180},[82,390,202],{"class":176},[82,392,393,395,397],{"class":84,"line":298},[82,394,253],{"class":176},[82,396,272],{"class":180},[82,398,202],{"class":176},[400,401,402],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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);}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 .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}",{"title":77,"searchDepth":205,"depth":205,"links":404},[405,406,407,408,409],{"id":69,"depth":205,"text":70},{"id":117,"depth":205,"text":118},{"id":125,"depth":205,"text":126},{"id":132,"depth":205,"text":133},{"id":155,"depth":205,"text":156,"children":410},[411],{"id":160,"depth":250,"text":161},"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.",[58],"md",{},{"title":417},"Unused props","\u002Fvue\u002Frules\u002Fprops\u002Fno-unused-props",{"title":50,"description":412},"vue\u002Frules\u002Fprops\u002Fno-unused-props","1NzfOh9omw8ImQbNUrz7VaT_ukyS0SErDYZ9ZyXDatg",1795268788497]