sonarqube - Is there a way to get Sonar to verify that a file exists? -


something consistent problem in projects i've been working on lack of readme (of form). i'd have sonar verify either readme file exists in project root or docs/ folder exists has @ least 1 file in it.

i haven't seen these options sonar rule.

i more willing write extension (i have before other custom rules), seems have have same check called every file in project instead of once on project root.

is there existing rule check file/folder? if not, there way write extension check file/folder once?

as noted david, puppet plugin provides rule readme.md, appear have number of files want check. imo, excellent candidate custom coding, recommend implementing rule template, rather straight rule. way write rule once , configure variations in gui.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -