You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an edge case in the no-restricted-disable rule when the require-description is enable
The no-restricted-disable doesn't catch the disable line when there is a break line in the description
When the description is single line, it work as expected
// eslint-disable-next-line eslint-comments/no-restricted-disable -- Catch the error
// eslint-disable-next-line react-hooks/exhaustive-deps -- Needs to be called only on mounted component
Description with multiline
/* eslint-disable-next-line react-hooks/exhaustive-deps --
This is not reported by the no-restricted-disable rule */
The text was updated successfully, but these errors were encountered:
Hi
There is an edge case in the
no-restricted-disable
rule when therequire-description
is enableThe
no-restricted-disable
doesn't catch the disable line when there is a break line in the descriptionWhen the description is single line, it work as expected
Description with multiline
The text was updated successfully, but these errors were encountered: