repolinter
Version:
Lint open source repositories
30 lines (29 loc) • 816 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/todogroup/repolinter/master/rules/file-contents-config.json",
"type": "object",
"properties": {
"nocase": {
"type": "boolean",
"default": false
},
"globsAll": {
"type": "array",
"items": { "type": "string" }
},
"content": { "type": "string" },
"flags": { "type": "string" },
"human-readable-content": { "type": "string" },
"fail-on-non-existent": {
"type": "boolean",
"default": false
},
"display-result-context": {"type": "boolean", "default": false},
"context-char-length": {
"type": "number",
"default": 50
}
},
"required": ["content"],
"oneOf": [{ "required": ["globsAll"] }, { "required": ["files"] }]
}