Skip to content

Commit

Permalink
Update abbreviations to support next functions (#1804)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed May 1, 2022
1 parent c1cb41a commit 4b96057
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules/shared/abbreviations.js
Expand Up @@ -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,
Expand Down

0 comments on commit 4b96057

Please sign in to comment.