# Empty tracks (/docs/rules/no-empty-tracks)

Reports tracks without clips.



{/* Generated by scripts/generate-docs.ts. Do not edit. */}

| Property         | Value             |
| :--------------- | :---------------- |
| Id               | `no-empty-tracks` |
| Category         | Static            |
| Default severity | info              |
| Scope            | `track`           |

## Options [#options]

| Option          | Type      | Default | Description                                                                              |
| :-------------- | :-------- | :------ | :--------------------------------------------------------------------------------------- |
| `ignoreTopmost` | `boolean` | `true`  | Ignore empty tracks above the last used video track and below the last used audio track. |

## Customize it [#customize-it]

Turn the rule on or off in the panel's Rules settings. To change its options, severity or wording, open it with its cogwheel in the rule editor and save: your copy replaces the built-in rule until you revert it. You can also copy the file below into your rules folder as `no-empty-tracks.rule.json` and edit it. See [Change a built-in rule](/docs/editor/saving#change-a-built-in-rule).

## Rule file [#rule-file]

```json title="no-empty-tracks.rule.json"
{
  "formatVersion": 1,
  "id": "no-empty-tracks",
  "name": {
    "en_US": "Empty tracks",
    "de_DE": "Leere Spuren",
    "es_ES": "Pistas vacías",
    "fr_FR": "Pistes vides",
    "it_IT": "Tracce vuote",
    "ja_JP": "空のトラック",
    "ko_KR": "빈 트랙",
    "pt_BR": "Trilhas vazias",
    "ru_RU": "Пустые дорожки",
    "zh_CN": "空轨道"
  },
  "description": {
    "en_US": "Reports tracks without clips.",
    "de_DE": "Meldet Spuren ohne Clips.",
    "es_ES": "Detecta pistas sin clips.",
    "fr_FR": "Signale les pistes sans élément.",
    "it_IT": "Segnala le tracce senza clip.",
    "ja_JP": "クリップのないトラックを報告します。",
    "ko_KR": "클립이 없는 트랙을 보고합니다.",
    "pt_BR": "Relata trilhas sem clipes.",
    "ru_RU": "Сообщает о дорожках без клипов.",
    "zh_CN": "报告不包含剪辑的轨道。"
  },
  "category": "static",
  "scope": "track",
  "severity": "info",
  "options": {
    "ignoreTopmost": {
      "type": "boolean",
      "default": true,
      "description": "Ignore empty tracks above the last used video track and below the last used audio track."
    }
  },
  "checks": [
    {
      "condition": {
        "all": [
          {
            "field": "sequence.clipCount",
            "operator": "greaterThan",
            "value": 0
          },
          {
            "field": "track.clipCount",
            "operator": "equals",
            "value": 0
          },
          {
            "any": [
              {
                "field": "options.ignoreTopmost",
                "operator": "equals",
                "value": false
              },
              {
                "field": "track.beyondLastUsed",
                "operator": "equals",
                "value": false
              }
            ]
          }
        ]
      },
      "message": {
        "en_US": "Track {track.ref} (\"{track.name}\") is empty.",
        "de_DE": "Spur {track.ref} („{track.name}“) ist leer.",
        "es_ES": "Pista {track.ref} (\"{track.name}\") está vacía.",
        "fr_FR": "Piste {track.ref} (« {track.name} ») est vide.",
        "it_IT": "Traccia {track.ref} (\"{track.name}\") è vuota.",
        "ja_JP": "トラック {track.ref}（「{track.name}」）は空です。",
        "ko_KR": "트랙 {track.ref}(\"{track.name}\")이(가) 비어 있습니다.",
        "pt_BR": "Trilha {track.ref} (\"{track.name}\") está vazia.",
        "ru_RU": "Дорожка {track.ref} («{track.name}») не содержит клипов.",
        "zh_CN": "轨道 {track.ref}（“{track.name}”） 为空。"
      }
    }
  ],
  "data": {
    "trackName": "track.name"
  }
}
```
