-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add YAML support for configurations
- Loading branch information
1 parent
3dd930e
commit 10fd1c3
Showing
12 changed files
with
285 additions
and
19 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
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,46 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/prototypicalpro/repolinter/master/rulesets/schema.json", | ||
"version": 2, | ||
"the-axioms": { | ||
"linguist":"language", | ||
"licensee":"license", | ||
"packagers":"packager" | ||
}, | ||
"the-rules": { | ||
"code-of-conduct-file-up-to-date": { | ||
"level": "error", | ||
"rule": { | ||
"type": "file-hash", | ||
"options": { | ||
"globsAny": [ | ||
"{docs/,.github/,}CODEOFCONDUCT*", | ||
"{docs/,.github/,}CODE-OF-CONDUCT*", | ||
"{docs/,.github/,}CODE_OF_CONDUCT*" | ||
], | ||
"nocase": true, | ||
"hash": "c0b76cd474db37b060a909aba86a85f60381bbdd46ce1575dde2f6e86e319c63" | ||
} | ||
}, | ||
"fix": { | ||
"type": "file-create", | ||
"options": { | ||
"file": "CODE_OF_CONDUCT.md", | ||
"replace": true, | ||
"text": { "url": "https://raw.githubusercontent.com/aperture-science-incorporated/.github/master/CODE_OF_CONDUCT.md" } | ||
} | ||
} | ||
}, | ||
"community-header-present": { | ||
"level": "error", | ||
"rule": { | ||
"type": "file-starts-with", | ||
"options": { | ||
"globsAll": ["README*"], | ||
"nocase": true, | ||
"lineCount": 1, | ||
"patterns": ["\\[\\s*\\!\\[[a-z0-9\\s]+\\]\\(\\s*[\\/\\.a-z0-9\\-\\_\\~:]+\\s*\\)\\s*]\\(\\s*https:\\/\\/opensource\\.newrelic\\.com\\/oss-category\\/#([\\/\\.a-z0-9\\-\\_\\~]+)\\s*\\)"], | ||
"human-readable-pattern": "Open source category header (see https://opensource.newrelic.com/oss-category)", | ||
"flags": "i", | ||
"succeed-on-non-existent": false | ||
} | ||
} |
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,41 @@ | ||
--- | ||
asdasd | ||
"$schema": https://raw.githubusercontent.com/prototypicalpro/repolinter/master/rulesets/schema.json | ||
version: 2 | ||
axioms: | ||
linguist: language | ||
licensee: license | ||
packagers: packager | ||
the-rules: | ||
code-of-conduct-file-up-to-date: | ||
level: error | ||
rule: | ||
type: file-hash | ||
options: | ||
globsAny: | ||
- "{docs/,.github/,}CODEOFCONDUCT*" | ||
- "{docs/,.github/,}CODE-OF-CONDUCT*" | ||
- "{docs/,.github/,}CODE_OF_CONDUCT*" | ||
nocase: true | ||
hash: c0b76cd474db37b060a909aba86a85f60381bbdd46ce1575dde2f6e86e319c63 | ||
fix: | ||
type: file-create | ||
options: | ||
file: CODE_OF_CONDUCT.md | ||
replace: true | ||
text: | ||
url: https://raw.githubusercontent.com/aperture-science-incorporated/.github/master/CODE_OF_CONDUCT.md | ||
community-header-present: | ||
level: error | ||
rule: | ||
type: file-starts-with | ||
options: | ||
globsAll: | ||
- README* | ||
nocase: true | ||
lineCount: 1 | ||
patterns: | ||
- "\\[\\s*\\!\\[[a-z0-9\\s]+\\]\\(\\s*[\\/\\.a-z0-9\\-\\_\\~:]+\\s*\\)\\s*]\\(\\s*https:\\/\\/opensource\\.newrelic\\.com\\/oss-category\\/#([\\/\\.a-z0-9\\-\\_\\~]+)\\s*\\)" | ||
human-readable-pattern: Open source category header (see https://opensource.newrelic.com/oss-category) | ||
flags: i | ||
succeed-on-non-existent: false |
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,40 @@ | ||
--- | ||
"$schema": https://raw.githubusercontent.com/prototypicalpro/repolinter/master/rulesets/schema.json | ||
version: 2 | ||
axioms: | ||
linguist: language | ||
licensee: license | ||
packagers: packager | ||
the-rules: | ||
code-of-conduct-file-up-to-date: | ||
level: error | ||
rule: | ||
type: file-hash | ||
options: | ||
globsAny: | ||
- "{docs/,.github/,}CODEOFCONDUCT*" | ||
- "{docs/,.github/,}CODE-OF-CONDUCT*" | ||
- "{docs/,.github/,}CODE_OF_CONDUCT*" | ||
nocase: true | ||
hash: c0b76cd474db37b060a909aba86a85f60381bbdd46ce1575dde2f6e86e319c63 | ||
fix: | ||
type: file-create | ||
options: | ||
file: CODE_OF_CONDUCT.md | ||
replace: true | ||
text: | ||
url: https://raw.githubusercontent.com/aperture-science-incorporated/.github/master/CODE_OF_CONDUCT.md | ||
community-header-present: | ||
level: error | ||
rule: | ||
type: file-starts-with | ||
options: | ||
globsAll: | ||
- README* | ||
nocase: true | ||
lineCount: 1 | ||
patterns: | ||
- "\\[\\s*\\!\\[[a-z0-9\\s]+\\]\\(\\s*[\\/\\.a-z0-9\\-\\_\\~:]+\\s*\\)\\s*]\\(\\s*https:\\/\\/opensource\\.newrelic\\.com\\/oss-category\\/#([\\/\\.a-z0-9\\-\\_\\~]+)\\s*\\)" | ||
human-readable-pattern: Open source category header (see https://opensource.newrelic.com/oss-category) | ||
flags: i | ||
succeed-on-non-existent: false |
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,40 @@ | ||
--- | ||
"$schema": https://raw.githubusercontent.com/prototypicalpro/repolinter/master/rulesets/schema.json | ||
version: 2 | ||
axioms: | ||
linguist: language | ||
licensee: license | ||
packagers: packager | ||
rules: | ||
code-of-conduct-file-up-to-date: | ||
level: error | ||
rule: | ||
type: file-hash | ||
options: | ||
globsAny: | ||
- "{docs/,.github/,}CODEOFCONDUCT*" | ||
- "{docs/,.github/,}CODE-OF-CONDUCT*" | ||
- "{docs/,.github/,}CODE_OF_CONDUCT*" | ||
nocase: true | ||
hash: c0b76cd474db37b060a909aba86a85f60381bbdd46ce1575dde2f6e86e319c63 | ||
fix: | ||
type: file-create | ||
options: | ||
file: CODE_OF_CONDUCT.md | ||
replace: true | ||
text: | ||
url: https://raw.githubusercontent.com/aperture-science-incorporated/.github/master/CODE_OF_CONDUCT.md | ||
community-header-present: | ||
level: error | ||
rule: | ||
type: file-starts-with | ||
options: | ||
globsAll: | ||
- README* | ||
nocase: true | ||
lineCount: 1 | ||
patterns: | ||
- "\\[\\s*\\!\\[[a-z0-9\\s]+\\]\\(\\s*[\\/\\.a-z0-9\\-\\_\\~:]+\\s*\\)\\s*]\\(\\s*https:\\/\\/opensource\\.newrelic\\.com\\/oss-category\\/#([\\/\\.a-z0-9\\-\\_\\~]+)\\s*\\)" | ||
human-readable-pattern: Open source category header (see https://opensource.newrelic.com/oss-category) | ||
flags: i | ||
succeed-on-non-existent: false |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.