This should be a linting error, but is not with current linting rules.
if(!currentCapabilityExpirationDate ||
currentCapabilityExpirationDate > parentExpirationDate) {
throw new Error('The `expires` property in a delegated ' +
'capability must be equivalent or more restrictive than its ' +
'parent.');
}
This should be a linting error, but is not with current linting rules.