forked from github/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/prototypicalpro/repolinter/master/rulesets/schema.json", | ||
"version": 2, | ||
"axioms": {}, | ||
"rules": { | ||
"license-file-is-MIT": { | ||
"level": "warning", | ||
"rule": { | ||
"type": "file-contents", | ||
"options": { | ||
"globsAll": ["LICENSE*", "COPYING*"], | ||
"nocase": true, | ||
"fail-on-non-existant": true, | ||
"content": "MIT License" | ||
} | ||
}, | ||
"fix": { | ||
"type": "file-create", | ||
"options": { | ||
"file": "LICENSE", | ||
"replace": true, | ||
"text": { "url": "https://opensource.org/licenses/MIT" } | ||
} | ||
}, | ||
"policyInfo": "MIT License is required for code or legal approval for an alternative", | ||
"policyUrl": "https://github.com/github/open-source/blob/main/policies/release.md" | ||
}, | ||
"readme-file-exists": { | ||
"level": "warning", | ||
"rule": { | ||
"type": "file-existence", | ||
"options": { | ||
"globsAny": ["README*"], | ||
"nocase": true | ||
} | ||
}, | ||
"fix": { | ||
"type": "file-create", | ||
"options": { | ||
"file": "README.md", | ||
"text": { "url": "https://raw.githubusercontent.com/newrelic/open-source-tools/master/nerdpacks/oss-template/README.md" } | ||
} | ||
}, | ||
"policyInfo": "GitHub requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further", | ||
"policyUrl": "https://github.com/github/open-source/blob/main/policies/release.md" | ||
}, | ||
"codeowners-file-exists": { | ||
"level": "warning", | ||
"rule": { | ||
"type": "file-existence", | ||
"options": { | ||
"globsAny": ["CODEOWNERS*", "*/CODEOWNERS*"], | ||
"nocase": true | ||
} | ||
}, | ||
"fix": { | ||
"type": "file-create", | ||
"options": { | ||
"file": "CODEOWNERS", | ||
"text": { "url": "https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners" } | ||
} | ||
}, | ||
"policyInfo": "GitHub requires a CODEOWNERS file in all projects. This enables GitHub to contact the maintainers in the event it is necessary.", | ||
"policyUrl": "https://github.com/github/open-source/blob/main/policies/release.md" | ||
}, | ||
}, | ||
"formatOptions": { | ||
"disclaimer": "🤖*This issue was automatically generated by [repolinter-action](https://github.com/newrelic/repolinter-action), developed by the Open Source and Developer Advocacy team at New Relic.*" | ||
} | ||
} |