Ignored packages: Benefits of empty object over false?
mk-pmb opened this issue · comments
Hi, thanks for maintaining the spec!
Is there a special reason why an empty (but truthy) object was chosen as replacement for ignored packages?
I'd consider false
not only more straightforward as it's used in the config, but also more convenient:
- Can easily be tested as false-y – advantage over empty objects
- Doesn't break property access – advantage over
null
andundefined