github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/repolint.json (about) 1 { 2 "axioms": { 3 "linguist": "language", 4 "licensee": "license", 5 "packagers": "packager" 6 }, 7 "rules": { 8 "all": { 9 "apache-license-file:file-contents": [ 10 "error", 11 { 12 "files": ["LICENSE*"], 13 "content": "Apache License.*Version 2.0", 14 "fail-on-non-existent": true 15 } 16 ], 17 "code-of-conduct-file:file-contents": [ 18 "error", 19 { 20 "files": ["CODE_OF_CONDUCT*"], 21 "content": "https://wiki.hyperledger.org/community/hyperledger-project-code-of-conduct", 22 "fail-on-non-existent": true 23 } 24 ], 25 "security-file-matches:file-contents": [ 26 "error", 27 { 28 "files": ["SECURITY.md"], 29 "content": "https://wiki.hyperledger.org/display/SEC/Defect.Response", 30 "fail-on-non-existent": true 31 } 32 ], 33 "readme-file-exists:file-existence": [ 34 "error", 35 { 36 "files": ["README.md", "README"] 37 } 38 ], 39 "readme-references-license:file-contents": [ 40 "error", 41 { 42 "files": ["README.md", "README"], 43 "content": "license", 44 "flags": "i" 45 } 46 ], 47 "maintainers-file-exists:file-existence": [ 48 "error", 49 { 50 "files": ["MAINTAINERS.md", "MAINTAINERS.rst"] 51 } 52 ], 53 "contributing-file-exists:file-existence": [ 54 "error", 55 { 56 "files": ["CONTRIBUTING.md"] 57 } 58 ], 59 "changelog-file-exists:file-existence": [ 60 "error", 61 { 62 "files": ["CHANGELOG.md"] 63 } 64 ], 65 "integrates-with-ci:file-existence": [ 66 "error", 67 { 68 "files": [ 69 "circle.yml", 70 ".circleci/config.yml", 71 "ci/azure-pipelines.yml", 72 ".ci/azure-pipelines.yml", 73 "Jenkinsfile", 74 "Jenkinsfile.ci", 75 "Jenkinsfile.cd", 76 ".github/workflows/*.yml" 77 ] 78 } 79 ], 80 "notice-file-exists:file-existence": [ 81 "warning", 82 { 83 "files": ["NOTICE*"] 84 } 85 ], 86 "source-license-headers-exist:file-starts-with": [ 87 "warning", 88 { 89 "files": ["**/*.js", "!node_modules/**"], 90 "lineCount": 5, 91 "patterns": ["Copyright", "License"], 92 "flags": "i" 93 } 94 ], 95 "test-directory-exists:directory-existence": [ 96 "warning", 97 { 98 "directories": ["**/test*", "**/specs", "**/**_test.go"], 99 "nocase": true 100 } 101 ], 102 "binaries-not-present:file-type-exclusion": [ 103 "error", 104 { 105 "type": ["**/*.exe", "**/*.dll", "!node_modules/**"] 106 } 107 ] 108 }, 109 "language=javascript": { 110 "package-metadata-exists:file-existence": [ 111 "warning", 112 { 113 "files": ["package.json"] 114 } 115 ] 116 }, 117 "language=ruby": { 118 "package-metadata-exists:file-existence": [ 119 "warning", 120 { 121 "files": ["Gemfile"] 122 } 123 ] 124 }, 125 "language=java": { 126 "package-metadata-exists:file-existence": [ 127 "warning", 128 { 129 "files": ["pom.xml", "build.xml", "build.gradle"] 130 } 131 ] 132 }, 133 "license=*": { 134 "license-detectable-by-licensee": [ 135 "warning" 136 ] 137 }, 138 "language=python": { 139 "package-metadata-exists:file-existence": [ 140 "warning", 141 { 142 "files": ["setup.py", "requirements.txt"] 143 } 144 ] 145 } 146 } 147 }