addFilterEvent = event => {
  if (
    event.type !== 'keypress'
    || (event.type === 'keypress' && event.keyCode === 13)
  ) {
    currentConfig.filters.push({
      glob: ''
    });
    updateConfigDOM();
  }
}
Handle add filter event
@param {event} event