code: function removeBindingImport (binding) {
    const path = binding.path
    if (path.parentPath.isImportDeclaration() &&
        // Remove the entire Import if this is the only imported binding.
        path.parentPath.node.specifiers.length === 1) {
      path.parentPath.remove()
    } else {
      path.remove()
    }
  }
docs: Remove a binding and its import or require() call from the file.