/ repolinter.json
repolinter.json
1 { 2 "$schema": "https://raw.githubusercontent.com/todogroup/repolinter/master/rulesets/schema.json", 3 "version": 2, 4 "axioms": {}, 5 "rules": { 6 "license-file-exists": { 7 "level": "error", 8 "rule": { 9 "type": "file-existence", 10 "options": { "globsAny": ["LICENSE", "LICENSE.*", "license", "license.*"] } 11 }, 12 "policyInfo": "A LICENSE file is required." 13 }, 14 "readme-file-exists": { 15 "level": "error", 16 "rule": { 17 "type": "file-existence", 18 "options": { "globsAny": ["README.md", "README.MD"] } 19 }, 20 "policyInfo": "A README.md at repo root is required." 21 }, 22 "codeowners-file-exists": { 23 "level": "error", 24 "rule": { 25 "type": "file-existence", 26 "options": { "globsAny": [".github/CODEOWNERS", "CODEOWNERS"] } 27 }, 28 "policyInfo": "CODEOWNERS is required to enable review ownership." 29 }, 30 "cogni-repospec-exists": { 31 "level": "error", 32 "rule": { 33 "type": "file-existence", 34 "options": { "globsAny": [".cogni/repo-spec.yaml"] } 35 }, 36 "policyInfo": "Cogni governance contract must exist." 37 }, 38 "workflows-folder-present": { 39 "level": "warning", 40 "rule": { 41 "type": "file-existence", 42 "options": { "globsAny": [".github/workflows/**"] } 43 }, 44 "policyInfo": "At least one GitHub Actions workflow should exist." 45 } 46 } 47 } 48