---
title: "Dashboard rules | Grafana documentation"
description: "Built-in gcx lint rules for dashboards."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Dashboard rules

The following built-in rules check dashboards:

- [panel-title-description](https://grafana.com/docs/grafana/latest/ai-tools/grafana-cli/gcx/resources/linter-rules/dashboard/panel-title-description/)  
  Checks that every dashboard panel has a title and a description.
- [panel-units](https://grafana.com/docs/grafana/latest/ai-tools/grafana-cli/gcx/resources/linter-rules/dashboard/panel-units/)  
  Checks that every dashboard panel has a valid unit set.
- [target-valid-promql](https://grafana.com/docs/grafana/latest/ai-tools/grafana-cli/gcx/resources/linter-rules/dashboard/target-valid-promql/)  
  Checks that each Prometheus target on a dashboard panel uses a valid PromQL query.
- [uneditable-dashboard](https://grafana.com/docs/grafana/latest/ai-tools/grafana-cli/gcx/resources/linter-rules/dashboard/uneditable-dashboard/)  
  Checks that a dashboard cannot be edited in the Grafana UI, so code stays the source of truth.
