trackfw 2.5.4 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/validator/index.js +6 -5
package/package.json
CHANGED
package/src/validator/index.js
CHANGED
|
@@ -818,11 +818,12 @@ async function validateUnfiltered() {
|
|
|
818
818
|
applyRule('filename_uniqueness', validateFilenameUniqueness(), violations, warnings)
|
|
819
819
|
applyRule('blocked_by_draft_adr', validateREQsNotBlockedByDraftADRs(), violations, warnings)
|
|
820
820
|
|
|
821
|
-
// Regras
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
821
|
+
// Regras configuráveis via applyRule (popula _itemMeta automaticamente)
|
|
822
|
+
applyRule('req_has_adr', validateREQsHaveADR(), violations, warnings)
|
|
823
|
+
applyRule('blocked_has_req', validateBlockedHasREQ(), violations, warnings)
|
|
824
|
+
applyRule('req_has_roadmap', validateREQsHaveRoadmap(), violations, warnings)
|
|
825
|
+
|
|
826
|
+
// Regra direta (sem configuração de severidade): violation sempre
|
|
826
827
|
for (const msg of validateFrontmatterPresence()) { _setMeta(msg, 'frontmatter_presence'); violations.push(msg) }
|
|
827
828
|
|
|
828
829
|
// warnings diretos do WIP limit (não configuráveis)
|