$ errors.fyi/nextjs/no-typos 128 namespaces · 4,025 codes
nextjs · nextjs/no-typos
no-typos

No Typos

A data-fetching function export in a Pages Router page file contains a typo. Next.js recognizes only getStaticProps, getServerSideProps, and getStaticPaths by exact name. A misspelling such as getStatcProps is silently ignored at runtime, causing the page to behave as if static with no data. This lint rule catches those mistakes at development time.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT