-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with templates & simplify Windows CI
- Loading branch information
Showing
5 changed files
with
86 additions
and
99 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
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 |
---|---|---|
@@ -1,29 +1,64 @@ | ||
FileContents: [] | ||
# - id: Readme | ||
# hint: 'Each project should have a README.md file, explaining how to use or contribute to the project.' | ||
# regex: '^README\.md$' | ||
# violateIfNoMatchesFound: true | ||
# matchingExamples: ['README.md'] | ||
# nonMatchingExamples: ['README.markdown', 'Readme.md', 'ReadMe.md'] | ||
# TODO: replace below sample checks with your custom checks and remove empty array specifier `[]` from above | ||
# - id: ReadmeTopLevelTitle | ||
# hint: 'The README.md file should only contain a single top level title.' | ||
# regex: '(^|\n)#[^#](.*\n)*\n#[^#]' | ||
# includeFilters: ['^README\.md$'] | ||
# matchingExamples: | ||
# - | | ||
# # Title | ||
# ## Subtitle | ||
# Lorem ipsum | ||
# | ||
# # Other Title | ||
# ## Other Subtitle | ||
# nonMatchingExamples: | ||
# - | | ||
# # Title | ||
# ## Subtitle | ||
# Lorem ipsum #1 and # 2. | ||
# | ||
# ## Other Subtitle | ||
# ### Other Subsubtitle | ||
# | ||
# - id: ReadmeTypoLicense | ||
# hint: 'ReadmeTypoLicense: Misspelled word `license`.' | ||
# regex: '([\s#]L|l)isence([\s\.,:;])' | ||
# matchingExamples: [' lisence:', "## Lisence\n"] | ||
# nonMatchingExamples: [' license:', "## License\n"] | ||
# includeFilters: ['^README\.md$'] | ||
# autoCorrectReplacement: '$1icense$2' | ||
# autoCorrectExamples: | ||
# - { before: ' lisence:', after: ' license:' } | ||
# - { before: "## Lisence\n", after: "## License\n" } | ||
|
||
FilePaths: [] | ||
# - id: 'ReadmePath' | ||
# hint: 'The README file should be named exactly `README.md`.' | ||
# regex: '^(.*/)?([Rr][Ee][Aa][Dd][Mm][Ee]\.markdown|readme\.md|Readme\.md|ReadMe\.md)$' | ||
# matchingExamples: ['README.markdown', 'readme.md', 'ReadMe.md'] | ||
# nonMatchingExamples: ['README.md', 'CHANGELOG.md', 'CONTRIBUTING.md', 'api/help.md'] | ||
# autoCorrectReplacement: '$1README.md' | ||
# autoCorrectExamples: | ||
# - { before: 'api/readme.md', after: 'api/README.md' } | ||
# - { before: 'ReadMe.md', after: 'README.md' } | ||
# - { before: 'README.markdown', after: 'README.md' } | ||
# TODO: replace below sample checks with your custom checks and remove empty array specifier `[]` from above | ||
# - id: Readme | ||
# hint: 'Each project should have a README.md file, explaining how to use or contribute to the project.' | ||
# regex: '^README\.md$' | ||
# violateIfNoMatchesFound: true | ||
# matchingExamples: ['README.md'] | ||
# nonMatchingExamples: ['README.markdown', 'Readme.md', 'ReadMe.md'] | ||
# | ||
# - id: ReadmePath | ||
# hint: 'The README file should be named exactly `README.md`.' | ||
# regex: '^(.*/)?([Rr][Ee][Aa][Dd][Mm][Ee]\.markdown|readme\.md|Readme\.md|ReadMe\.md)$' | ||
# matchingExamples: ['README.markdown', 'readme.md', 'ReadMe.md'] | ||
# nonMatchingExamples: ['README.md', 'CHANGELOG.md', 'CONTRIBUTING.md', 'api/help.md'] | ||
# autoCorrectReplacement: '$1README.md' | ||
# autoCorrectExamples: | ||
# - { before: 'api/readme.md', after: 'api/README.md' } | ||
# - { before: 'ReadMe.md', after: 'README.md' } | ||
# - { before: 'README.markdown', after: 'README.md' } | ||
|
||
CustomScripts: [] | ||
# - id: LintConfig | ||
# hint: 'Lint the AnyLint config file to conform to YAML best practices.' | ||
# command: |- | ||
# if which yamllint > /dev/null; then | ||
# yamllint anylint.yml | ||
# else | ||
# echo '{ "warning": { "YamlLint: Not installed, see instructions at https://yamllint.readthedocs.io/en/stable/quickstart.html#installing-yamllint": [{}] } }' | ||
# fi | ||
# TODO: replace below sample check with your custom checks and remove empty array specifier `[]` from above | ||
# - id: LintConfig | ||
# hint: 'Lint the AnyLint config file to conform to YAML best practices.' | ||
# command: |- | ||
# if which yamllint > /dev/null; then | ||
# yamllint anylint.yml | ||
# else | ||
# echo '{ "warning": { "YamlLint: Not installed, see instructions at https://yamllint.readthedocs.io/en/stable/quickstart.html#installing-yamllint": [{}] } }' | ||
# fi |
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