feat(rules): add no-old-namespace rule for daw-code pack #68

Closed
opened 2026-05-25 19:59:16 +02:00 by michael · 1 comment
Owner

Goal

Add rule to detect outdated daw.lua.common namespace in Lua files.
All references must use daw.common instead.

Rule

no-old-namespace:
primitive: pattern
pattern: "daw.lua.common"
file_pattern: "*.lua"
severity: error
message: "{file}: outdated namespace daw.lua.common -- use daw.common"

Notes

Also catches outdated header path comments.
Belongs in daw-code pack.

## Goal Add rule to detect outdated daw.lua.common namespace in Lua files. All references must use daw.common instead. ## Rule no-old-namespace: primitive: pattern pattern: "daw.lua.common" file_pattern: "*.lua" severity: error message: "{file}: outdated namespace daw.lua.common -- use daw.common" ## Notes Also catches outdated header path comments. Belongs in daw-code pack.
Author
Owner

Already implemented: no-old-namespace rule exists with broader pattern daw.lua.* covering all old namespaces, not just daw.lua.common. Severity warn (pattern is broad). No changes needed.

Already implemented: no-old-namespace rule exists with broader pattern daw.lua.* covering all old namespaces, not just daw.lua.common. Severity warn (pattern is broad). No changes needed.
michael 2026-05-26 16:05:09 +02:00
michael added this to the Basic Version milestone 2026-05-30 16:04:44 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#68
No description provided.