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.