md-footer-template: "nothing was judged" should name the includes.byRule fix with its key
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- devtools
Direzione di ricerca
Il messaggio è prodotto dal percorso nothingJudged in src/laws/documentation/md-footer-template.ts. Leggi lì per primo, poi trova lawConfigKey in modular-laws-registry.ts per vedere come la chiave includes.byRule è derivata dal titolo della law. Fatto quando il messaggio su un progetto i cui includes non selezionano alcun file .md contiene l'hint includes.byRule con la chiave derivata, e un test copre quel caso. Altre laws che riportano 'includes select none of them' sono follow-up opzionali.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version: after 8.0.0
Law: MD Footer Template (MANDATORY) — src/laws/documentation/md-footer-template.ts (nothingJudged)
What happens
When a project turns the opt-in law on while its includes.global names only source (for example src/**/*.ts), the law selects no Markdown file and reports:
8 Markdown file(s) exist, but the configured includes / ignores select none of them — nothing was judged
The cause is named, but not the fix. The run becomes partial, and the reader has to find out that the law takes its files through includes.byRule, under the key the registry sets for it (the slug of its title).
Suggested direction
Add the fix to the message, with the exact key:
… select none of them — nothing was judged. Give this law the Markdown files with includes.byRule: { "md-footer-template-mandatory": ["**/*.md"] }
Derive the key from the law's title the way the registry does (modular-laws-registry.ts, the lawConfigKey slug), not as a hard-coded string, so it stays right if the title changes. Red/green: the message on a project whose includes select no .md contains the includes.byRule hint with that key. The same pattern may apply to other laws that report "includes select none of them".
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 2h 36m
- PR unite (30g)
- 168
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Rule-Of-Code/RoC
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Rule-Of-Code/RoC#548 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Rule-Of-Code/RoC#547 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Rule-Of-Code/RoC#506 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
Rule-Of-Code/RoC#563 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
Rule-Of-Code/RoC#562 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Rule-Of-Code/RoC
Issue simili
-
bug done
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
neavo/LinguaGacha#1124 ·
I maintainer di solito rispondono entro 1 giorno
-
[fullsend] E2E: backstage-microsoft-auth — catalogQuery missing error handler for network errorsForse già presa @fullsend-ai-coder l’ha presa oggi. Apertae2e-failure ready-to-code
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 78/100
redhat-developer/rhdh-plugin-export-overlays#4821 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
brylie/mission-island#225 ·
I maintainer di solito rispondono entro 1 giorno
-
status/need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
google-gemini/gemini-cli#30412 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno