Permalink
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.29 KB
{
"require" : "default",
"rules" : [
{
"name": "contact-properties",
"object": "contact",
"enabled": true,
"description": "contact object should have name, url and email",
"truthy": [ "name", "url", "email" ]
},
{
"name": "license-url",
"object": "license",
"enabled": true,
"description": "license object should include url",
"truthy": "url"
},
{
"name": "server-not-example.com",
"object": "server",
"enabled": true,
"description": "server url should not point at example.com",
"notContain": { "properties": [ "url" ], "value": "example.com" }
},
{
"name": "tag-description",
"object": "tag",
"enabled": true,
"description": "tag object should have a description",
"truthy": "description"
},
{
"name": "short-summary",
"object": "operation",
"enabled": true,
"description": "summary should be short (description can be long)",
"maxLength": {
"property": "summary",
"value": 20
}
}
]
}