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
ericcornelissen
changed the title
Remove YieldExpression from no-top-level-variables configuration
Update set of optionally allowed expression types in no-top-level-variables configuration
Oct 22, 2024
Relates to #1107
Summary
The
YieldExpression
value for theallowed
option of theno-top-level-variables
is useless becauseyield
is not allowed at the top level - hence it should be removed.However, it can't just be removed because that's a breaking change because it would reject any existing configuration that does explicitly allow it.
Change description
To close this issue the
ImportExpression
,SequenceExpression
,ThisExpression
, andYieldExpression
should be removed from theallowedOption.enum
list.The text was updated successfully, but these errors were encountered: