Unexpected error during import . . . plugin does not exist error on drush config import
I was able to solve this with an update hook.  By deleting the config and then reimporting it this way, it doesn't trigger the unexpected error.  You need to run "drush updb" first, before "drush cim" for this to work.

use Drupal\Core\Config\FileStorage;

/**
 * Reimport filter.format.full_html and filter.format.basic_html.
 *
 * This is to remove the dependency on the examplefilter filter
 * which is being deleted.
 */
function mymodule_update_8003() {

  $config_ids = [
    'filter.format.full_html',
    'filter.format.basic_html',
  ];

  foreach ($config_ids as $config_id) {
    Drupal::configFactory()
      -&gt;getEditable($config_id)
      -&gt;delete();

    $config_path = config_get_config_directory('sync');
    $source = new FileStorage($config_path);
    $config_storage = \Drupal::service('config.storage');
    $config_storage-&gt;write($config_id, $source-&gt;read($config_id));
  }
}