code: function disabledRules(directives) {
    return directives.reduce((disabled, _ref) => {
      let name = _ref.name;
      let args = _ref.args;
  
      if (name === 'bplint-disable') {
        for (const ruleName of args) {
          disabled[ruleName] = true;
        }
      } else if (name === 'bplint-enable') {
        for (const ruleName of args) {
          if (disabled[ruleName]) {
            disabled[ruleName] = false;
          }
        }
      }
  
      return disabled;
    }, {});
  }
docs: Given an array of directives, returns the names of rules disabled by bplint-disable directives and not subsequently re-enabled by bplint-enable.