forked from todogroup/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
repolint.json
32 lines (32 loc) · 1.21 KB
/
repolint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"axioms": {
"licensee":"license"
},
"rules": {
"all": {
"readme-file-exists:file-existence": ["error", {"files": ["README*"], "nocase": true}],
"ossmeta-file-exists:file-existence": ["error", {"files": ["OSSMETADATA*"], "nocase": true}],
"code-of-conduct-file-exists:file-existence": ["error", {"files": [
"CODEOFCONDUCT*", "CODE-OF-CONDUCT*", "CODE_OF_CONDUCT*",
".github/CODEOFCONDUCT*", ".github/CODE-OF-CONDUCT*", ".github/CODE_OF_CONDUCT*"
]}],
"code-of-conduct-file-contains-email:file-contents": [
"error",
{
"files": [
"CODEOFCONDUCT*", "CODE-OF-CONDUCT*", "CODE_OF_CONDUCT*",
".github/CODEOFCONDUCT*", ".github/CODE-OF-CONDUCT*", ".github/CODE_OF_CONDUCT*"
],
"content": ".+@.+\\..+",
"flags": "i",
"human-readable-content": "email address"
}
],
"readme-references-license:file-contents": ["error", {"files": ["README*"], "content": "license", "flags": "i"}],
"license-file-exists:file-existence": ["error", {"files": ["LICENSE*", "COPYING*"], "nocase": true}]
},
"license=*": {
"license-detectable-by-licensee": ["error"]
}
}
}