Skip to content

Commit

Permalink
chore: add PropTypes (#4176)
Browse files Browse the repository at this point in the history
* chore: add PropTypes

closes #4135

* Revert "chore: add PropTypes"

This reverts commit 3217ec6.

* chore: temporarily disable "react/prop-types"

closes #4135

Co-authored-by: Aditya Pandey <aditya@autospace.co>
  • Loading branch information
virtuoushub and callingmedic911 committed Jan 18, 2022
1 parent f9f9691 commit b45c013
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/forms/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/**
* FIXME:
* Until an upstream dependency issue in "eslint-plugin-react" is resolved,
* disabling eslint rule "react/prop-types" is the recommended approach
* to resolve false positives in eslint.
*
* see:
* - https://github.com/yannickcr/eslint-plugin-react/issues/3140
* - https://github.com/redwoodjs/redwood/pull/3762
*/
/* eslint-disable react/prop-types */
/**
* @module @redwoodjs/forms
*
Expand Down

0 comments on commit b45c013

Please sign in to comment.