{"_id":"@mastra/lint-docs","_rev":"19-ba87ea994347ad4f31797a825064f63e","name":"@mastra/lint-docs","dist-tags":{"alpha":"0.0.0","latest":"2.0.0"},"versions":{"0.0.0":{"name":"@mastra/lint-docs","version":"0.0.0","keywords":["mastra","lint","docs"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@0.0.0","maintainers":[{"name":"smthomas","email":"shane@codekarate.com"},{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"taofeeq-deru","email":"oluderutaofeeq@gmail.com"},{"name":"ehindero","email":"ehindero2016@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"}],"dist":{"shasum":"b1402859995b45c201435d42f539cf41c2026382","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-0.0.0.tgz","fileCount":6,"integrity":"sha512-BrthFEeg49PKiMzJUBrefniE+nF67iCUwBFpLqb49l0scMRZafRp0TH9lSfO4r2oNKyxrsu0D25jZjO5U20Z6w==","signatures":[{"sig":"MEUCIQDNzUFYWRkOIzEsQPhZsfftbkOWmsNj7057RyhplBazewIgaCKrTgugqdDdO6vVuzQJRc12SZ5LiPWDtXbK7AUETLQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9228},"type":"module","engines":{"node":">=22.13.0"},"exports":{"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.ts","import":"./dist/prettier-mdx/index.js","default":"./dist/prettier-mdx/index.js"},"./remark-preset":{"types":"./dist/remark-preset/index.d.ts","import":"./dist/remark-preset/index.js","default":"./dist/remark-preset/index.js"}},"gitHead":"5c91bcceff2879b6d00372282b86bf88efb121d0","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"_npmVersion":"10.9.4","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"22.21.0","dependencies":{"remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.33.0","devDependencies":{"tsdown":"catalog:","vitest":"catalog:","prettier":"^3.8.3","typescript":"catalog:","@vitest/coverage-v8":"catalog:"},"peerDependencies":{"prettier":"^3.8.3"},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_0.0.0_1776931085063_0.2833713440712011","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@mastra/lint-docs","version":"1.0.0","keywords":["mastra","lint","docs"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.0.0","maintainers":[{"name":"smthomas","email":"shane@codekarate.com"},{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"taofeeq-deru","email":"oluderutaofeeq@gmail.com"},{"name":"ehindero","email":"ehindero2016@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"}],"dist":{"shasum":"fcc1fb2e2ca0860f77538b91d6f313dbda0fff79","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.0.0.tgz","fileCount":6,"integrity":"sha512-bNlVar6L93w0VDj2sDHYBCht2jwLzksY86BtI0aT6n/C16DgChsbJBXOzv38+dBwL0r9bcqk2DNhMTrE3A523A==","signatures":[{"sig":"MEUCIAqOO4giICd8UkCaVHEcB3Se3uiVr0fo0AI/bPkql9KyAiEA4mTDVYgEqFkteKf6JL2OhuQnl/zZnOEduOj7bdgKFBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9289},"type":"module","_from":"file:mastra-lint-docs-1.0.0.tgz","engines":{"node":">=22.13.0"},"exports":{"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.ts","import":"./dist/prettier-mdx/index.js","default":"./dist/prettier-mdx/index.js"},"./remark-preset":{"types":"./dist/remark-preset/index.d.ts","import":"./dist/remark-preset/index.js","default":"./dist/remark-preset/index.js"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/f4fbcc9927c95bb483dbef0c88f77489/mastra-lint-docs-1.0.0.tgz","_integrity":"sha512-bNlVar6L93w0VDj2sDHYBCht2jwLzksY86BtI0aT6n/C16DgChsbJBXOzv38+dBwL0r9bcqk2DNhMTrE3A523A==","_npmVersion":"11.12.1","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.15.0","dependencies":{"remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.21.9","vitest":"^4.1.4","prettier":"^3.8.3","typescript":"^6.0.2","@vitest/coverage-v8":"^4.1.4"},"peerDependencies":{"prettier":"^3.8.3"},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.0.0_1776931357768_0.18417806371056789","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@mastra/lint-docs","version":"1.0.1","keywords":["mastra","lint","docs"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.0.1","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"check-frontmatter":"dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"a721a8538d812b49134c0639ae66b1c718a2ddbf","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.0.1.tgz","fileCount":17,"integrity":"sha512-mqZe3YtBkwjlm178REGCz17JuYX84A4WwZMYcopPf01Ir8xyyjSZtfeS9+RZa0nWaAlwIxjPj9dQrU8v4zCvkg==","signatures":[{"sig":"MEQCIGxwJdeuSJAI1mWCX2D8gcyTXQ1irbmGmtnV+FemlleHAiB3aPvrpdSiCA5DOJyNccZWaKb7Idl/8CB8ml4egfovAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23214},"type":"module","_from":"file:mastra-lint-docs-1.0.1.tgz","engines":{"node":">=22.13.0"},"exports":{"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/a3b95e26e6ccdafe7e0631db3cdec759/mastra-lint-docs-1.0.1.tgz","_integrity":"sha512-mqZe3YtBkwjlm178REGCz17JuYX84A4WwZMYcopPf01Ir8xyyjSZtfeS9+RZa0nWaAlwIxjPj9dQrU8v4zCvkg==","_npmVersion":"11.16.0","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.18.0","dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.21.10","vitest":"^4.1.8","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@types/mdast":"^4.0.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"prettier":"^3.8.3"},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.0.1_1782374776609_0.7882188417844385","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@mastra/lint-docs","version":"1.0.2","keywords":["mastra","lint","docs"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.0.2","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"check-frontmatter":"dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"ba07d22dfc8c0c6d7c567d45742dbcbd8edd3dfe","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.0.2.tgz","fileCount":17,"integrity":"sha512-aa5pQBKrUBK9VeZhRALGrrIEnta5Ovv82Cg8lBZz/45pfG6E1Deo8p4EFTBaBgcL99Wa2LZLSCeMb4SvXU3U/Q==","signatures":[{"sig":"MEUCIC/Z52w4iehO1WwdwlST/mLGJsHmS2gMyna9WM9guJxzAiEAjw5kKtaWy71NRksl530JSsn3lXASXTtAIPvn4lhbTt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23569},"type":"module","_from":"file:mastra-lint-docs-1.0.2.tgz","engines":{"node":">=22.13.0"},"exports":{"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/457a911401660e8af46a7ee507f46991/mastra-lint-docs-1.0.2.tgz","_integrity":"sha512-aa5pQBKrUBK9VeZhRALGrrIEnta5Ovv82Cg8lBZz/45pfG6E1Deo8p4EFTBaBgcL99Wa2LZLSCeMb4SvXU3U/Q==","_npmVersion":"11.16.0","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.18.0","dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.21.10","vitest":"^4.1.8","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@types/mdast":"^4.0.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"prettier":"^3.8.3"},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.0.2_1782473288818_0.8870666446192252","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@mastra/lint-docs","version":"1.1.0","keywords":["docs","lint","mastra"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.1.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"oxfmt-mdx":"dist/oxfmt-mdx/cli.mjs","check-frontmatter":"dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"5e9014ca14dee280e1ba20a53c5831e4a0ae42fb","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.1.0.tgz","fileCount":23,"integrity":"sha512-SYVCJfjw+n49TfmvkmNF+rCn7LCpRVHF4skNh6pz5RgxZiKqzO1F5sxfPK6EbjqdrnllqM5PJf1Lzhm83XQslA==","signatures":[{"sig":"MEUCIGWIUTHyERlLuDjEg77VH1IUof2K69fmPP3Vc5HJGAoWAiEA/PDK45C6H9GuAoIgcf14bua8H5Q2NA86Ea/qTTMOFsM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32378},"type":"module","_from":"file:mastra-lint-docs-1.1.0.tgz","engines":{"node":">=22.13.0"},"exports":{"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/0e5e609b6ff106549d8d096eb8461b4f/mastra-lint-docs-1.1.0.tgz","_integrity":"sha512-SYVCJfjw+n49TfmvkmNF+rCn7LCpRVHF4skNh6pz5RgxZiKqzO1F5sxfPK6EbjqdrnllqM5PJf1Lzhm83XQslA==","_npmVersion":"11.16.0","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.18.0","dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@types/mdast":"^4.0.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.61.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.1.0_1785245629454_0.6215978010392305","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@mastra/lint-docs","version":"1.1.1","keywords":["docs","lint","mastra"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.1.1","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"oxfmt-mdx":"dist/oxfmt-mdx/cli.mjs","check-frontmatter":"dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"146ffaf3d309ccd1de96bf28c030e125b8229a7a","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.1.1.tgz","fileCount":23,"integrity":"sha512-47Y2OKf4aBOG7jekl5M5iKxLy1N4trHqV/t/i+Ib1//hZ6DwKWxFzvWVB56wKJ0ChmABKHowuTM3xQAXJvr45w==","signatures":[{"sig":"MEUCIFjmmx0iJw8cE6yj5LNcGEfOH5yI3ofdv2OhCs9OFjZiAiEA3oF/8evg3/rLrXwHswr0qYTz8utdDX8hNRPhWGlG2x8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32542},"type":"module","_from":"file:mastra-lint-docs-1.1.1.tgz","engines":{"node":">=22.13.0"},"exports":{"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/92df6a80e4f1c1abece5fd03f8e1bf31/mastra-lint-docs-1.1.1.tgz","_integrity":"sha512-47Y2OKf4aBOG7jekl5M5iKxLy1N4trHqV/t/i+Ib1//hZ6DwKWxFzvWVB56wKJ0ChmABKHowuTM3xQAXJvr45w==","_npmVersion":"11.16.0","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.18.0","dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@types/mdast":"^4.0.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.1.1_1785248420417_0.9546831122275854","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@mastra/lint-docs","version":"1.1.2","keywords":["docs","lint","mastra"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.1.2","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"oxfmt-mdx":"dist/oxfmt-mdx/cli.mjs","check-frontmatter":"dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"44e72e50df8963baf3276b85936d294ec84cb091","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.1.2.tgz","fileCount":23,"integrity":"sha512-Sr+lNHp8i7iiKIu0Kjzy/DJqrJFIYCqJHilV44F7AGrpPzcJGtuat5hkoczVMJ8+HWrU0EUIMAFzpEuwSUkDgw==","signatures":[{"sig":"MEYCIQChPcGQ4jF8leCt7f6hXImQhic4avflDPbyv/QpQHUNuwIhAL7Kd3k7hp7KZGA+6rbNG1Y4HAPvxFt9WJylGDYbfTcQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34335},"type":"module","_from":"file:mastra-lint-docs-1.1.2.tgz","engines":{"node":">=22.13.0"},"exports":{"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/e7e955db7d563af258432fa55deab907/mastra-lint-docs-1.1.2.tgz","_integrity":"sha512-Sr+lNHp8i7iiKIu0Kjzy/DJqrJFIYCqJHilV44F7AGrpPzcJGtuat5hkoczVMJ8+HWrU0EUIMAFzpEuwSUkDgw==","_npmVersion":"11.19.0","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.20.0","dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@types/mdast":"^4.0.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.1.2_1787911031095_0.028254145046411105","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@mastra/lint-docs","version":"1.1.3","keywords":["docs","lint","mastra"],"author":{"name":"LekoArts"},"license":"Apache-2.0","_id":"@mastra/lint-docs@1.1.3","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"oxfmt-mdx":"dist/oxfmt-mdx/cli.mjs","check-frontmatter":"dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"68724bee4d35406c2ba9e65697edc1456a33f4ce","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.1.3.tgz","fileCount":23,"integrity":"sha512-o04O36xiy3PaQ3XQAs3JUm6qzBbDYWpIRrwkbdQc8KjqJF8Ew/DeCw9SFfnqQ0AyEmdXmp6YDsKPFFcWufeUCg==","signatures":[{"sig":"MEQCICLyUTY7NSxo5WZejB57CiXQXm72IlTcSM6lLs2EmJwqAiANMKN/H0qynmUVn/zZWjkR0G9/9ZoA9bUnuM9ufqVEfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35136},"type":"module","_from":"file:mastra-lint-docs-1.1.3.tgz","engines":{"node":">=22.13.0"},"exports":{"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"_resolved":"/tmp/ce89d23e67209d9c5a7c17f729f9ee86/mastra-lint-docs-1.1.3.tgz","_integrity":"sha512-o04O36xiy3PaQ3XQAs3JUm6qzBbDYWpIRrwkbdQc8KjqJF8Ew/DeCw9SFfnqQ0AyEmdXmp6YDsKPFFcWufeUCg==","_npmVersion":"11.19.0","description":"A collection of linting tools for Mastra's documentation sites","directories":{},"_nodeVersion":"24.20.0","dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@types/mdast":"^4.0.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.1.3_1787912038223_0.4443753270720656","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@mastra/lint-docs","version":"1.2.0","keywords":["docs","lint","mastra"],"author":"LekoArts","license":"Apache-2.0","_id":"@mastra/lint-docs@1.2.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"oxfmt-mdx":"./dist/oxfmt-mdx/cli.mjs","check-frontmatter":"./dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"./dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"8618f5028358194f55a22edcd3918b4f8ee1d14f","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.2.0.tgz","fileCount":24,"integrity":"sha512-tX6FX9ecZng5uPelhshFVMduwgiGWQm5KfoxAETuddzd8GdBWwgSIblYjosTvgXUcKg3UoNZypbv11LSxbbaGA==","signatures":[{"sig":"MEUCICl7ou4V66aJ3wJrN9w+ix+j+9wJZ0UBo1l3f2xvHkWMAiEAmAo8ERc0cJXJC6KIbvBfFsnR8ehtkmo2XzMoSQ3577I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBkpsfNp9xU8XRrLoyTtrBR4LD5RbI8I7vXXi+uAbLlVAiEAuxDmKhOUn2MFJ7fL7u22M3/tmzISjdYo+lklm8zMRc0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49221},"type":"module","engines":{"node":">=22.13.0"},"exports":{"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"description":"A collection of linting tools for Mastra's documentation sites","directories":{},"dependencies":{"vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","@types/mdast":"^4.0.4","vfile-location":"^5.0.3","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","unified-lint-rule":"^3.0.1","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","unified":"^11.0.5","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.2.0_1794265235210_0.22687886487490727","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@mastra/lint-docs","version":"1.3.0","keywords":["docs","lint","mastra"],"author":"LekoArts","license":"Apache-2.0","_id":"@mastra/lint-docs@1.3.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"lint-docs":"./dist/check/cli.mjs","oxfmt-mdx":"./dist/oxfmt-mdx/cli.mjs","check-frontmatter":"./dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"./dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"a6357e96c4fd063f4728b0b5a1b6f5292a50d9ad","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.3.0.tgz","fileCount":31,"integrity":"sha512-L1HzWiIwejWsAiueuimougl1Bc8L5q1XqdxebsJnPQZJ0NsUQA5JGcaTdoy+KGy3h6iWjEGTtHa4F/l8bvorxg==","signatures":[{"sig":"MEUCIQCC14WYgIK7k/P3LsQJjfpyzmkGwfKcc/wW2ONSSGCYjAIgKDEbKdbn2LnUJo2f3CUIgkZUUiYS0mOTD3CbBFOVdkg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCRuD825EeZ5IrvXBFQ3U5aQZrqCD+lIlwMcT9pjlms+wIgbeT/NmR1anWQkAD/I0f4tc78gqLNBMtprgLkCbRlTrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149097},"type":"module","engines":{"node":">=22.13.0"},"exports":{"./check":{"types":"./dist/check/index.d.mts","import":"./dist/check/index.mjs","default":"./dist/check/index.mjs"},"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"description":"A collection of linting tools for Mastra's documentation sites","directories":{},"dependencies":{"jiti":"^2.6.1","yaml":"^2.9.0","vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","@types/mdast":"^4.0.4","vfile-location":"^5.0.3","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","unified-lint-rule":"^3.0.1","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","unified":"^11.0.5","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.3.0_1794422388252_0.22309153940278015","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@mastra/lint-docs","version":"1.4.0","keywords":["docs","lint","mastra"],"author":"LekoArts","license":"Apache-2.0","_id":"@mastra/lint-docs@1.4.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"lint-docs":"./dist/check/cli.mjs","oxfmt-mdx":"./dist/oxfmt-mdx/cli.mjs","check-frontmatter":"./dist/check-frontmatter/cli.mjs","check-duplicate-redirects":"./dist/check-duplicate-redirects/cli.mjs"},"dist":{"shasum":"b318bb3d48150907f15a96cc899153d9cfa2838e","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-1.4.0.tgz","fileCount":31,"integrity":"sha512-Z8YxZ2OghxVzp8n9u7YTrgrePl36Cl45i/XueeEjrNZMvqgwWxOQ2/57ffDZ0Zwx+Sjam4BgdrsV5iMV/nNtxQ==","signatures":[{"sig":"MEUCIG5WpMvNge/gVn10ibOZBf8nj+XdRDXg/qmInJbx3uNxAiEAzep5VGCK/T//7Sq341o31BNkj5G9ZxvYPfcTO0zKGyI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD6rf3fEe5LlNF+lafpfy6xo6oKM/4sv6hDqkOTVUVsgAIgA+keJ+zcpExJcuYRFBxZ9JitH4mhO4jWC+5dK1Pkz/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150365},"type":"module","engines":{"node":">=22.13.0"},"exports":{"./check":{"types":"./dist/check/index.d.mts","import":"./dist/check/index.mjs","default":"./dist/check/index.mjs"},"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"},"./check-frontmatter":{"types":"./dist/check-frontmatter/index.d.mts","import":"./dist/check-frontmatter/index.mjs","default":"./dist/check-frontmatter/index.mjs"},"./check-duplicate-redirects":{"types":"./dist/check-duplicate-redirects/index.d.mts","import":"./dist/check-duplicate-redirects/index.mjs","default":"./dist/check-duplicate-redirects/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"description":"A collection of linting tools for Mastra's documentation sites","directories":{},"dependencies":{"jiti":"^2.6.1","yaml":"^2.9.0","vfile":"^6.0.3","remark":"^15.0.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","@types/mdast":"^4.0.4","vfile-location":"^5.0.3","vfile-reporter":"^8.1.1","unist-util-visit":"^5.1.0","unified-lint-rule":"^3.0.1","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.61.0","tsdown":"^0.21.10","vitest":"^4.1.8","unified":"^11.0.5","prettier":"^3.8.4","typescript":"^6.0.3","@types/node":"^22.19.21","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_1.4.0_1794593110963_0.3175189782230863","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@mastra/lint-docs","version":"2.0.0","keywords":["docs","lint","mastra"],"author":"LekoArts","license":"Apache-2.0","_id":"@mastra/lint-docs@2.0.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"calcsam","email":"calcsam@gmail.com"},{"name":"nikaiyer","email":"nick.aiyer@gmail.com"},{"name":"tylerbarnes","email":"tylerdbarnes@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"bin":{"oxfmt-mdx":"./dist/oxfmt-mdx/cli.mjs","mastra-check":"./dist/check/cli.mjs"},"dist":{"shasum":"d67cd6072347aafcd3be14f9242397d19c9b744c","tarball":"https://registry.npmjs.org/@mastra/lint-docs/-/lint-docs-2.0.0.tgz","fileCount":20,"integrity":"sha512-kd24i4tBvem5HoS6UO8/dVxN/Hfmkw/6VP+fTbAqd4fIuQyF1pTsG058w8D71s4Kl57w50Ip+3L7yLqe6yirZg==","signatures":[{"sig":"MEUCIBJRX+xr5Mu37mI57Hc5tE88VcXLTMxQxRIp8UAFSf3dAiEAloIF8Ry/Jxi589YDQoagzjYDBXRdp0vtOtoEutAgfmI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCiP5Q5Zt3q+fWNDNeXQyOK4JK0GCS+/1wNlY49wkbayQIhAMRZdSwatrMU1/g5dxJefe7vYpCYiz8wdq8JJPQEJ/zK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188829},"type":"module","engines":{"node":">=22.13.0"},"exports":{"./check":{"types":"./dist/check/index.d.mts","import":"./dist/check/index.mjs","default":"./dist/check/index.mjs"},"./oxfmt-mdx":{"types":"./dist/oxfmt-mdx/index.d.mts","import":"./dist/oxfmt-mdx/index.mjs","default":"./dist/oxfmt-mdx/index.mjs"},"./prettier-mdx":{"types":"./dist/prettier-mdx/index.d.mts","import":"./dist/prettier-mdx/index.mjs","default":"./dist/prettier-mdx/index.mjs"},"./remark-preset":{"types":"./dist/remark-preset/index.d.mts","import":"./dist/remark-preset/index.mjs","default":"./dist/remark-preset/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"57388f06-3d66-4df8-b2c2-36885aaf7b66"}},"description":"A collection of linting tools for Mastra's documentation sites","directories":{},"dependencies":{"jiti":"^2.7.0","yaml":"^2.9.1","vfile":"^6.0.3","remark":"^15.0.1","valibot":"^1.5.0","oxc-parser":"^0.158.0","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","tinyglobby":"^0.2.17","@types/mdast":"^4.0.4","@bomb.sh/args":"^0.3.1","vfile-location":"^5.0.4","unist-util-visit":"^5.2.0","unified-lint-rule":"^3.0.1","remark-frontmatter":"^5.0.0","remark-lint-heading-increment":"^4.0.1","remark-preset-lint-consistent":"^6.0.1","remark-preset-lint-recommended":"^7.0.1","remark-lint-no-emphasis-as-heading":"^4.0.1","remark-lint-no-undefined-references":"^5.0.2","remark-lint-ordered-list-marker-value":"^4.0.1","remark-lint-unordered-list-marker-style":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.78.0","tsdown":"^0.23.7","vitest":"^5.1.0","unified":"^11.0.5","prettier":"^3.10.1","typescript":"^7.0.2","@types/node":"^24.19.2","@vitest/coverage-v8":"^5.1.0"},"peerDependencies":{"oxfmt":"^0.59.0","prettier":"^3.8.3"},"peerDependenciesMeta":{"oxfmt":{"optional":true},"prettier":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lint-docs_2.0.0_1794904045398_0.9274392876932427","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-04-23T07:58:05.008Z","modified":"2026-11-17T17:59:33.298Z","0.0.0":"2026-04-23T07:58:05.194Z","1.0.0":"2026-04-23T08:02:37.960Z","1.0.1":"2026-06-25T08:06:16.748Z","1.0.2":"2026-06-26T11:28:08.961Z","1.1.0":"2026-07-28T13:33:49.595Z","1.1.1":"2026-07-28T14:20:20.554Z","1.1.2":"2026-08-28T09:57:11.241Z","1.1.3":"2026-08-28T10:13:58.362Z","1.2.0":"2026-11-09T23:00:35.318Z","1.3.0":"2026-11-11T18:39:48.358Z","1.4.0":"2026-11-13T18:05:11.062Z","2.0.0":"2026-11-17T08:27:25.495Z"},"author":"LekoArts","license":"Apache-2.0","keywords":["docs","lint","mastra"],"description":"A collection of linting tools for Mastra's documentation sites","maintainers":[{"email":"abhiaiyer91+npm@gmail.com","name":"abhiaiyer"},{"email":"shane@codekarate.com","name":"smthomas"},{"email":"tony.kovanen@gmail.com","name":"rase-"},{"email":"calcsam@gmail.com","name":"calcsam"},{"email":"nick.aiyer@gmail.com","name":"nikaiyer"},{"email":"tylerdbarnes@gmail.com","name":"tylerbarnes"},{"email":"ward@coding-tech.com","name":"wardpeet"},{"email":"dustinschau@gmail.com","name":"dschau"}],"readme":"# @mastra/lint-docs\n\nA collection of linting tools for Mastra's documentation sites. This package contains:\n\n- `/check`: The `mastra-check` command, which runs every docs check for a Docusaurus site in one pass\n- `/oxfmt-mdx`: An Oxfmt-powered formatter for MDX JSX expressions and fenced code blocks\n- `/prettier-mdx`: A Prettier plugin to correctly format code blocks in MDX files\n- `/remark-preset`: A preset of remark plugins to lint MDX files for common issues and style consistency, including Mastra-specific rules\n\n## Installation\n\n```bash\nnpm install @mastra/lint-docs\n```\n\n## Usage\n\n### `mastra-check`\n\n`mastra-check` runs every docs-content check for a Docusaurus site in one pass: frontmatter, the remark preset, internal links, sidebars, redirects, MDX formatting, and Vale. Each finding has a stable `mastra/<rule>` ID, and the output is either human-readable or JSON.\n\nRun it from the site root (the directory with `docusaurus.config.*`):\n\n```bash\nmastra-check                              # every check, every page\nmastra-check src/docs/intro.mdx           # only these pages\nmastra-check sidebar                      # one category\nmastra-check sidebar sort                 # one rule (same as mastra-check mastra/sidebar-sort)\nmastra-check --fix                        # apply safe fixes, then report what's left\nmastra-check --json                       # machine-readable report\nmastra-check rules                        # list rules, their selectors, and configured severities\nmastra-check vale download                # install Vale into ./scripts/vale/bin\n```\n\nExit codes: `0` when no errors are reported, `1` when any error is reported, `2` on invalid usage (unknown flag, command, or rule; no docs pages; a site that can't be detected or has invalid config; or a selected rule whose config is missing or that config turns off). Warnings and info findings never fail the command.\n\n#### Commands\n\n| Command                              | Runs                                                                                                                                                                   |\n| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `mastra-check [files...]`            | Every check.                                                                                                                                                           |\n| `mastra-check <category> [files...]` | One category: `frontmatter`, `sidebar`, `structure`, `links`, `prose`, `format`, or `redirects`.                                                                       |\n| `mastra-check <category> <rule>`     | One rule. The rule name is its ID without `mastra/` and without a leading `<category>-`: `sidebar sort`, `frontmatter description-required`, `links no-self-host-url`. |\n| `mastra-check mastra/<rule>`         | One rule, by full ID. Rule families (`mastra/remark-*`, `mastra/vale-*`) are selected by category only: `mastra-check prose`.                                          |\n| `mastra-check rules`                 | Lists every rule with its selector, category, severity (after config), and whether `--fix` applies. Uses default severities outside a site.                            |\n| `mastra-check vale download`         | Installs Vale. See [Vale](#vale).                                                                                                                                      |\n\nFiles must end in `.md` or `.mdx` (only `.mdx` pages in docs sections are checked) and are resolved against the directory you ran the command from. File-level checks only look at those pages; sidebar and redirect checks always run site-wide. Files that aren't docs pages are listed as skipped, and the command exits `2` when none of them is a docs page. Any other argument exits `2` with the valid categories and rule names.\n\n#### Options\n\n| Flag                | Description                                                                                                             |\n| ------------------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `--root <dir>`      | Site root. Defaults to the current directory.                                                                           |\n| `--fix`             | Apply safe fixes (MDX formatting, redirected and self-hosted links, sidebar order), then report the remaining findings. |\n| `--json`            | Print the report as JSON.                                                                                               |\n| `--quiet`, `-q`     | Only print errors and the summary line, without the detection summary or config notices.                                |\n| `-h`, `--help`      | Show help.                                                                                                              |\n| `--version <x.y.z>` | Vale release for `mastra-check vale download` only.                                                                     |\n\nEverything else is configured per site.\n\n#### Configuration\n\nDocs sections (content directory, route base, sidebar file) and the site URL come from `docusaurus.config.{ts,mts,mjs,js,cjs}`, loaded with jiti as Docusaurus does. It reads preset-classic `docs` options and every `@docusaurus/plugin-content-docs` instance, applying Docusaurus defaults (`path: 'docs'`, `routeBasePath: 'docs'`). Without `sidebarPath` the sidebar is autogenerated, so every page counts as linked; `sidebarPath: false` means no sidebar. If the config file throws while loading, or declares no docs sections, the command exits `2`. It never silently checks nothing.\n\nEverything else lives in `customFields.mastraCheck` of the same file. Every key is optional:\n\n```ts\nimport type { MastraCheckConfig } from '@mastra/lint-docs/check'\n\nexport default {\n\t// ...\n\tcustomFields: {\n\t\tmastraCheck: {\n\t\t\t// Pages no check looks at. Globs relative to the site root.\n\t\t\tignore: ['src/content/drafts/**'],\n\t\t\t// Per-rule severity: 'off', 'warn', or 'error'. Keys are rule IDs or trailing-* patterns;\n\t\t\t// an exact ID beats a pattern, and a longer pattern beats a shorter one.\n\t\t\trules: {\n\t\t\t\t'mastra/description-required': 'error',\n\t\t\t\t'mastra/sidebar-new-tag-stale': 'off',\n\t\t\t},\n\t\t\t// Require a `packages` field on every page, except pages matching `ignore`.\n\t\t\t// `true` is the same as `{ ignore: [] }`. Malformed values are always reported.\n\t\t\trequirePackages: { ignore: ['src/content/reference/index.mdx'] },\n\t\t\t// URL that mastra/no-self-host-url rewrites to root-relative links. Default: the config's\n\t\t\t// `url`, plus `baseUrl` when it isn't `/`. `false` turns the rule's URL check off.\n\t\t\tsiteUrl: 'https://docs.example.com',\n\t\t\t// Redirects JSON (an array, or an object with a `redirects` array, such as vercel.json).\n\t\t\t// Unset means no redirects checks, and mastra/redirected-link can't run.\n\t\t\tredirects: 'vercel.json',\n\t\t\t// Vale runs when .vale.ini exists. `false` skips it; `{ bin }` points at a binary.\n\t\t\tvale: true,\n\t\t\t// MDX formatting with oxfmt-mdx. `false` skips it.\n\t\t\tformat: true,\n\t\t\tsidebar: {\n\t\t\t\t// Sidebars mastra/sidebar-sort checks, by sidebar ID, with labels pinned to the top in order.\n\t\t\t\tsorted: { referenceSidebar: { pin: ['Overview', 'Configuration'] } },\n\t\t\t\t// Days before a `new` tag is stale. Default 30.\n\t\t\t\tnewTagDays: 30,\n\t\t\t},\n\t\t} satisfies MastraCheckConfig,\n\t},\n}\n```\n\nDocusaurus accepts any value in `customFields`, so the config is checked by `mastra-check` instead: an unknown key, unknown rule ID, or wrong type exits `2` with the path of the bad value (for example `customFields.mastraCheck.sidebar.newTagDays`). Without `customFields.mastraCheck`, the command runs with defaults and prints a starter block on stderr.\n\nSome rules need config to run: `mastra/sidebar-sort` and `mastra/sidebar-sort-item` need `sidebar.sorted`, and the `redirects` rules and `mastra/redirected-link` need `redirects`. A full run skips them with a notice on stderr naming the key; selecting them on the command line without that key exits `2`. Turning them `off` in `rules` silences the notice.\n\nPartials (any path segment starting with `_`) never need frontmatter, a route, or a sidebar entry.\n\nPage routes and sidebar IDs follow Docusaurus, and they differ for index pages. A page's **route** is its path within the section without `.mdx`; `index`, `README`, and folder-named pages map to their folder (`guide/index.mdx` → `/guide`), a frontmatter `id` replaces the file name of other pages, and a frontmatter `slug` replaces the whole route. Links must use routes. A page's **sidebar ID** is always its path within the section without `.mdx` (`guide/index.mdx` → `guide/index`), with a frontmatter `id` replacing the last segment (including `index`). Sidebar entries must use sidebar IDs.\n\n#### Rules\n\n| Rule                                 | Category    | Severity  | Fixable | Reports                                                                                                                                                   |\n| ------------------------------------ | ----------- | --------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `mastra/frontmatter-missing`         | frontmatter | error     |         | The page has no `---` frontmatter block.                                                                                                                  |\n| `mastra/frontmatter-parse`           | frontmatter | error     |         | The frontmatter is not valid YAML.                                                                                                                        |\n| `mastra/frontmatter-title`           | frontmatter | error     |         | The frontmatter has no non-empty `title`.                                                                                                                 |\n| `mastra/frontmatter-title-backticks` | frontmatter | error     |         | An unquoted `title` ends with a backtick. Wrap it in quotes.                                                                                              |\n| `mastra/description-required`        | frontmatter | warn      |         | The frontmatter has no non-empty `description`.                                                                                                           |\n| `mastra/description-length`          | frontmatter | warn      |         | The `description` is shorter than 50 or longer than 200 characters.                                                                                       |\n| `mastra/frontmatter-packages`        | frontmatter | error     |         | `packages` is empty or lists an invalid package name (or is missing, with `requirePackages`).                                                             |\n| `mastra/frontmatter-packages-max`    | frontmatter | warn      |         | `packages` lists more than 4 packages.                                                                                                                    |\n| `mastra/single-h1`                   | structure   | warn      |         | The page doesn't have exactly one `#` heading.                                                                                                            |\n| `mastra/code-block-lang`             | structure   | warn      |         | A fenced code block has no language.                                                                                                                      |\n| `mastra/lint-comment-invalid`        | structure   | error     |         | A `lint disable`/`enable`/`ignore` comment names an unknown rule ID.                                                                                      |\n| `mastra/sidebar-unlinked-page`       | sidebar     | error     |         | A page isn't linked from its section sidebar (`autogenerated` items cover their directory).                                                               |\n| `mastra/sidebar-duplicate-id`        | sidebar     | error     |         | A doc ID appears more than once in one sidebar.                                                                                                           |\n| `mastra/sidebar-sort`                | sidebar     | error     | yes     | A sidebar listed in `sidebar.sorted` isn't sorted alphabetically. See [Sorted sidebars](#sorted-sidebars).                                                |\n| `mastra/sidebar-sort-item`           | sidebar     | warn      |         | An item in a `sidebar.sorted` sidebar can't be sorted (for example a variable or spread), so its list is left as is.                                      |\n| `mastra/sidebar-new-tag-stale`       | sidebar     | warn      |         | A sidebar item has been tagged `new` for more than `sidebar.newTagDays` days (default 30).                                                                |\n| `mastra/internal-link`               | links       | warn      |         | An internal link points to a route that doesn't exist. Includes a suggestion.                                                                             |\n| `mastra/redirected-link`             | links       | warn      | yes     | An internal link points to a redirect source. The fix rewrites it to the destination.                                                                     |\n| `mastra/no-self-host-url`            | links       | warn      | yes     | A link uses the site URL for a docs route. The fix makes it root-relative.                                                                                |\n| `mastra/bare-url`                    | prose       | warn      |         | A URL appears as plain text instead of a link.                                                                                                            |\n| `mastra/vale-unavailable`            | prose       | error     |         | Vale is not installed or failed to run, so prose was not checked. Run `mastra-check vale download`, or set `vale: false`.                                 |\n| `mastra/remark-*`                    | prose       | error     |         | A remark-lint rule from `@mastra/lint-docs/remark-preset`, for example `mastra/remark-heading-increment`. MDX parse errors are `mastra/remark-mdx-parse`. |\n| `mastra/vale-*`                      | prose       | from Vale |         | A Vale check, for example `Mastra.Headings` → `mastra/vale-mastra-headings`. Vale `error`/`warning`/`suggestion` map to error/warn/info.                  |\n| `mastra/format`                      | format      | error     | yes     | The MDX file isn't formatted with `oxfmt-mdx`.                                                                                                            |\n| `mastra/redirect-invalid`            | redirects   | error     |         | A redirect has a missing or non-string `source` or `destination`, or the file isn't a redirects array.                                                    |\n| `mastra/redirect-duplicate`          | redirects   | error     |         | Two redirects have the same source.                                                                                                                       |\n| `mastra/redirect-chain`              | redirects   | error     |         | A redirect points to the source of another redirect, or to itself (a loop).                                                                               |\n| `mastra/redirect-destination`        | redirects   | error     |         | An internal redirect destination isn't a page.                                                                                                            |\n\nSeverities are defaults; `rules` in config changes them. The rule IDs and the JSON report match the `pnpm check` command of the Mastra docs, so tools written against one work with the other.\n\n#### Sorted sidebars\n\nEach sidebar ID in `sidebar.sorted` turns on `mastra/sidebar-sort` for that sidebar, in every sidebars file. Each items array, including nested categories, must list:\n\n1. Items whose label is in that sidebar's `pin` list, in list order.\n2. Pages (doc IDs, `doc`, `ref`, and `link` items), then pages whose label starts with `.` (such as methods).\n3. Categories, including shorthand `{ Label: [...] }` objects.\n4. `html` and `autogenerated` items, in their original order.\n\nLabels compare case-insensitively, ignoring a leading `.`. A page without a `label` uses its frontmatter `sidebar_label`, then `title`, then its ID. A configured sidebar ID that no sidebars file defines is reported as skipped.\n\nThe rule reads the sidebars file's source, so it only sorts static items. An items array with a variable, spread, or computed label reports `mastra/sidebar-sort-item` and is left unsorted. `--fix` moves items between their existing slots, keeping separators and formatting; an array with comments between items is reported but not fixed.\n\n```sh\nmastra-check sidebar sort --fix\n```\n\n#### Stale `new` tags\n\nA sidebar item tagged `new` (`customProps.badge: 'new'`, or `'new'` in `customProps.tags`) is stale `sidebar.newTagDays` days (default 30) after the tag line was committed, per `git blame`. Uncommitted lines are never stale; without git history the rule is skipped.\n\n#### Suppressing findings\n\nUse MDX comments with one or more rule IDs (or none, for every rule):\n\n```mdx\n{/* lint disable mastra/bare-url */}\nText with https://example.com that is intentionally not a link.\n{/* lint enable mastra/bare-url */}\n\n{/* lint ignore mastra/internal-link */}\nThis paragraph's links are not checked; `ignore` covers the next block only.\n```\n\nA `lint disable` before any body content covers the whole page, including frontmatter findings. Comments inside code fences and inline code are ignored. Comment detection is line-based rather than a full Markdown parse, so put each comment on its own line with blank lines around it and outside lists and blockquotes. To turn a rule off for a whole site, set it to `'off'` in `rules`.\n\n#### JSON report\n\nWith `--json`, stdout carries only the report; notices go to stderr. `console.log`, `console.info`, and `console.debug` calls made while the site's `docusaurus.config.*` and sidebars load are sent to stderr. Output written another way (for example `process.stdout.write`) is not redirected.\n\n```json\n{\n\t\"version\": 1,\n\t\"summary\": {\n\t\t\"ok\": false,\n\t\t\"status\": \"failed\",\n\t\t\"errors\": 1,\n\t\t\"warnings\": 0,\n\t\t\"info\": 0,\n\t\t\"fixable\": 0,\n\t\t\"fixed\": 0,\n\t\t\"filesChecked\": 46,\n\t\t\"checks\": [\"frontmatter\", \"mdx\", \"sidebar\", \"format\"],\n\t\t\"skipped\": [],\n\t\t\"durationMs\": 512\n\t},\n\t\"findings\": [\n\t\t{\n\t\t\t\"ruleId\": \"mastra/sidebar-unlinked-page\",\n\t\t\t\"severity\": \"error\",\n\t\t\t\"category\": \"sidebar\",\n\t\t\t\"message\": \"Page `guides/setup` is not linked in sidebars.js\",\n\t\t\t\"file\": \"docs/guides/setup.mdx\",\n\t\t\t\"fixable\": false\n\t\t}\n\t]\n}\n```\n\n`status` is `failed` when there are errors, `partial` when there are none but a check was skipped, and `passed` otherwise. `summary.skipped` says why: usually a page isn't valid MDX during a run that doesn't report `mastra/remark-mdx-parse` (such as `mastra-check links`), so its links weren't checked. `ok` is `true` when there are no errors. File paths are relative to the site root; site-wide findings may have no `file` or `line`.\n\nThe same runner is available programmatically. The second argument of `detectSite` overrides `customFields.mastraCheck` keys:\n\n```ts\nimport { detectSite, formatHuman, runChecks } from '@mastra/lint-docs/check'\n\nconst site = await detectSite('.', { vale: false })\nconst report = await runChecks({ site, rules: ['mastra/internal-link'] })\nconsole.log(formatHuman(report))\n```\n\n#### What it doesn't do\n\n- It doesn't check source code: formatting of non-MDX files and repository quality checks (duplication, type debt, dead code) belong to the site's own tooling.\n- Its own settings come only from `docusaurus.config.*`; there is no `mastra-check` dotfile. Vale still reads the site's `.vale.ini`, and the format check uses the site's Oxfmt config.\n- It always uses `@mastra/lint-docs/remark-preset`, not the site's `.remarkrc`.\n\n### Vale\n\n`mastra-check vale download` installs Vale (3.27.0 by default, or the release given with `--version`) into `<root>/scripts/vale/bin`, where `mastra-check` looks first, before `vale` on `PATH`. It skips the download when that version is already there, and replaces any other version. Supports macOS, Linux, and Windows on x64 and arm64.\n\n```bash\nmastra-check vale download                    # into ./scripts/vale/bin\nmastra-check vale download --root site        # into site/scripts/vale/bin\nmastra-check vale download --version 3.28.0   # pin another Vale release\n```\n\nAdd `scripts/vale/bin/` to `.gitignore`. When `.vale.ini` exists but Vale is missing or fails to run, the run fails with `mastra/vale-unavailable`; set `vale: false` in config to skip Vale on purpose.\n\n### Migrating from 1.x\n\n`lint-docs check`, `lint-docs vale-download`, `check-frontmatter`, and `check-duplicate-redirects` are replaced by `mastra-check`, and site settings moved from flags into `customFields.mastraCheck`. The `@mastra/lint-docs/check-frontmatter` and `@mastra/lint-docs/check-duplicate-redirects` exports are removed.\n\n| 1.x                                                                                                       | 2.x                                                                                                                                                                                                                                               |\n| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `lint-docs check`                                                                                         | `mastra-check`                                                                                                                                                                                                                                    |\n| `lint-docs check --only sidebar` / `--rule mastra/sidebar-sort`                                           | `mastra-check sidebar` / `mastra-check sidebar sort`                                                                                                                                                                                              |\n| `lint-docs vale-download`                                                                                 | `mastra-check vale download`                                                                                                                                                                                                                      |\n| `check-frontmatter <dir> --skip <path>`                                                                   | `mastra-check frontmatter` with `ignore: [...]` (skips every check for those files) or `requirePackages: { ignore: [...] }` (only exempts them from `packages`) and `rules: { 'mastra/description-required': 'error' }` (needs a Docusaurus site) |\n| `check-duplicate-redirects <file>`                                                                        | `mastra-check redirects` with `redirects: '<file>'` (needs a Docusaurus site)                                                                                                                                                                     |\n| `--disable <id>`                                                                                          | `rules: { '<id>': 'off' }`                                                                                                                                                                                                                        |\n| auto-detected `vercel.json` / `vercel.redirects.json`                                                     | `redirects: 'vercel.json'`                                                                                                                                                                                                                        |\n| `--redirects <file>` / `--no-redirects`                                                                   | `redirects: '<file>'` / leave it unset                                                                                                                                                                                                            |\n| `--ignore`, `--require-packages`, `--site-url`, `--no-site-url`, `--no-vale`, `--vale-bin`, `--no-format` | `ignore`, `requirePackages`, `siteUrl`, `siteUrl: false`, `vale: false`, `vale: { bin }`, `format: false`                                                                                                                                         |\n| `--sort-sidebar X --sort-sidebar-pin P`                                                                   | `sidebar: { sorted: { X: { pin: ['P'] } } }` (pins are now per sidebar)                                                                                                                                                                           |\n| `--new-tag-days <n>`                                                                                      | `sidebar: { newTagDays: n }`                                                                                                                                                                                                                      |\n| `--format json`                                                                                           | `--json`                                                                                                                                                                                                                                          |\n| `--section <dir>=<route>[:<sidebar>]`                                                                     | Removed; sections always come from the Docusaurus config                                                                                                                                                                                          |\n\n### Oxfmt MDX\n\nOxfmt does not expose a custom MDX plugin API, so this package provides an `oxfmt-mdx` CLI that applies the repository's Oxfmt options to JSX expressions and fenced code blocks before serializing the MDX.\n\n```bash\noxfmt-mdx --write ./src/content\noxfmt-mdx --check ./src/content\n```\n\nThe CLI searches parent directories for `.oxfmtrc.json`. You can also use the formatter programmatically:\n\n```ts\nimport { formatMdx } from '@mastra/lint-docs/oxfmt-mdx'\n\nconst formatted = await formatMdx(source, {\n\tsemi: false,\n\tsingleQuote: true,\n})\n```\n\nSet `formatCodeBlocks: false` to disable fenced code-block formatting, or add `oxfmt: false` to an individual code fence's metadata.\n\n### Prettier MDX\n\nThe original Prettier plugin remains available for projects that still use Prettier:\n\n```json\n{\n\t\"plugins\": [\"@mastra/lint-docs/prettier-mdx\"],\n\t\"overrides\": [\n\t\t{\n\t\t\t\"files\": [\"*.mdx\"],\n\t\t\t\"options\": {\n\t\t\t\t\"parser\": \"mdx-custom\"\n\t\t\t}\n\t\t}\n\t]\n}\n```\n\n### remark preset\n\n```js\nimport remarkPresetMastra from '@mastra/lint-docs/remark-preset'\n\nconst config = {\n\tplugins: [remarkPresetMastra],\n}\n\nexport default config\n```\n\n#### Mastra rules\n\nThe preset also includes these rules. They report as warnings with a `mastra/<rule>` ID (the message `source` is `mastra` and the `ruleId` is the rule name):\n\n| Rule ID                       | Checks                                                                                                                       |\n| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| `mastra/single-h1`            | The page has exactly one depth-1 heading.                                                                                    |\n| `mastra/code-block-lang`      | Fenced code blocks declare a language. Indented code blocks are allowed.                                                     |\n| `mastra/bare-url`             | Text doesn't contain bare `http(s)://` URLs outside links, inline code, and code blocks. Works with or without `remark-gfm`. |\n| `mastra/description-required` | The frontmatter has a non-empty `description`.                                                                               |\n| `mastra/description-length`   | The frontmatter `description` is between 50 and 200 characters.                                                              |\n\n`mastra/single-h1`, `mastra/description-required`, and `mastra/description-length` skip partials: files where any path segment relative to the working directory starts with `_` (`_partial.mdx`, `_shared/intro.mdx`).\n\nIf you run `remark` with `--frail`, any warning fails the run, including these. Fix the findings, or turn off or reconfigure a rule as shown below.\n\nThe rules are also named exports, so you can change their severity or options after the preset. Pass `false` to turn a rule off:\n\n```js\nimport remarkPresetMastra, {\n\tbareUrl,\n\tdescriptionLength,\n} from '@mastra/lint-docs/remark-preset'\n\nconst config = {\n\tplugins: [\n\t\tremarkPresetMastra,\n\t\t[descriptionLength, ['warn', { min: 40, max: 160 }]],\n\t\t[bareUrl, false],\n\t],\n}\n\nexport default config\n```\n","readmeFilename":""}