---
title: "redundant-build-tag"
description: "Remove redundant legacy build tags."
image: "https://strider.gempir.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://strider.gempir.com/llms.txt
> Use this file to discover all available pages before exploring further.

# redundant-build-tag

<!-- Code generated by docs/scripts/generate-check-docs.go; DO NOT EDIT. -->

**Default severity:** `warning`

Remove redundant legacy build tags.

## Bad

```go
//go:build linux || darwin
// +build linux darwin
```

## Good

```go
//go:build linux || darwin
```

Source: https://strider.gempir.com/lints/redundant-build-tag/index.mdx
