## Lesson — Explicitly exclude test and spec files from rules targeting

**Tags:** linting, globs, testing

Explicitly exclude test and spec files from rules targeting specific file formats like lockfiles. This prevents false positives when test fixtures legitimately contain or reference those formats for verification purposes.
