From 9c7222569b2b83b3432609ce432c311d80f01fd1 Mon Sep 17 00:00:00 2001 From: Luc Date: Sun, 1 May 2022 03:44:43 +0200 Subject: [PATCH] Update abreviations to support next functions --- rules/shared/abbreviations.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/shared/abbreviations.js b/rules/shared/abbreviations.js index 21e252de30..6c188f7c24 100644 --- a/rules/shared/abbreviations.js +++ b/rules/shared/abbreviations.js @@ -240,6 +240,8 @@ module.exports.defaultAllowList = { // Next.js function // https://nextjs.org/learn/basics/fetching-data-for-pages getInitialProps: true, + getServerSideProps: true, + getStaticProps: true, // React PropTypes // https://reactjs.org/docs/typechecking-with-proptypes.html propTypes: true,