digitalbazaar / eslint-config-digitalbazaar

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Setup rule related to indent on string concat #30

Open mattcollier opened 4 years ago

mattcollier commented 4 years ago

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.');
        }
mattcollier commented 4 years ago

Looks like there is an open feature request around this: https://github.com/eslint/eslint/issues/12248