We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@ts-expect-error
1 parent e7cfbf1 commit 27d8b6eCopy full SHA for 27d8b6e
lib/rules/forbid-foreign-prop-types.js
@@ -109,7 +109,6 @@ module.exports = {
109
&& !ast.isAssignmentLHS(node)
110
&& !isAllowedAssignment(node)
111
)) || (
112
- // @ts-expect-error The JSXText type is not present in the estree type definitions
113
(node.property.type === 'Literal' || node.property.type === 'JSXText')
114
&& 'value' in node.property
115
&& node.property.value === 'propTypes'
0 commit comments