Skip to main content
Version: 0.56.6

CUR-007: alwaysApply with Redundant globs - Cursor

Summary​

  • Rule ID: CUR-007
  • Severity: MEDIUM
  • Category: Cursor
  • Normative Level: SHOULD
  • Auto-Fix: Yes (safe)
  • Verified On: 2026-04-22

Applicability​

  • Tool: cursor
  • Version Range: unspecified
  • Spec Revision: unspecified

Evidence Sources​

Test Coverage Metadata​

  • Unit tests: true
  • Fixture tests: true
  • E2E tests: false

Examples​

The following examples demonstrate what triggers this rule and how to fix it.

Invalid​

---
description: TypeScript rules
alwaysApply: true
globs: "**/*.ts"
---
# Rules

Use strict mode.

Valid​

---
description: Global rules
alwaysApply: true
---
# Rules

Always apply these rules.