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
Most of the rules have options to allow a combination of OOP and FP, but no-nil is firing on all my ES6 constructors. It would be nice to have an allowConstructor and/or allowReturn option for no-nil, similar to allowThis.
The text was updated successfully, but these errors were encountered:
nickserv
changed the title
no-nil should have an option to allow returning nil values, at least in constructors
no-nil option to allow returning nil values in constructors and other functions
Mar 23, 2017
Most of the rules have options to allow a combination of OOP and FP, but
no-nil
is firing on all my ES6 constructors. It would be nice to have anallowConstructor
and/orallowReturn
option forno-nil
, similar toallowThis
.The text was updated successfully, but these errors were encountered: