github.com/hyperledger/aries-framework-go@v0.3.2/.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|HYP)\/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 "integrates-with-ci:file-existence": [ 60 "error", 61 { 62 "files": [ 63 "circle.yml", 64 ".circleci/config.yml", 65 "ci/azure-pipelines.yml", 66 ".ci/azure-pipelines.yml", 67 "Jenkinsfile", 68 "Jenkinsfile.ci", 69 "Jenkinsfile.cd", 70 ".github/workflows/*.yml" 71 ] 72 } 73 ], 74 "changelog-file-exists:file-existence": [ 75 "error", 76 { 77 "files": ["CHANGELOG.md"] 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 "error", 88 { 89 "files": [ 90 "**/*.js", 91 "**/*.ts", 92 "**/*.go", 93 "**/*.java", 94 "!**/node_modules/**", 95 "!**/vendor/**", 96 "!**/*.pb.go", 97 "!**/*.gen.go", 98 "!**/mocks/*.go", 99 "!**/third_party/**" 100 ], 101 "lineCount": 8, 102 "patterns": ["Copyright", "License"], 103 "flags": "i" 104 } 105 ], 106 "test-directory-exists:directory-existence": [ 107 "warning", 108 { 109 "directories": ["**/test*", "**/specs", "**/**_test.go"], 110 "nocase": true 111 } 112 ], 113 "binaries-not-present:file-type-exclusion": [ 114 "error", 115 { 116 "type": ["**/*.exe", "**/*.dll", "!**/node_modules/**"] 117 } 118 ] 119 }, 120 "language=javascript": { 121 "package-metadata-exists:file-existence": [ 122 "warning", 123 { 124 "files": ["package.json"] 125 } 126 ] 127 }, 128 "language=go": { 129 "package-metadata-exists:file-existence": [ 130 "warning", 131 { 132 "files": ["go.mod"] 133 } 134 ] 135 }, 136 "language=ruby": { 137 "package-metadata-exists:file-existence": [ 138 "warning", 139 { 140 "files": ["Gemfile"] 141 } 142 ] 143 }, 144 "language=java": { 145 "package-metadata-exists:file-existence": [ 146 "warning", 147 { 148 "files": ["pom.xml", "build.xml", "build.gradle"] 149 } 150 ] 151 }, 152 "license=*": { 153 "license-detectable-by-licensee": [ 154 "warning" 155 ] 156 }, 157 "language=python": { 158 "package-metadata-exists:file-existence": [ 159 "warning", 160 { 161 "files": ["setup.py", "requirements.txt"] 162 } 163 ] 164 } 165 } 166 }