Created
May 4, 2022 12:27
-
-
Save invidian/bf8db8741a28a60aa95f9953adf9641b to your computer and use it in GitHub Desktop.
Revisions
-
invidian created this gist
May 4, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ rules: - id: files-must-not-have-trailing-whitespace patterns: - pattern-regex: '[[:blank:]]$' message: Files must not have any trailing whitespace. languages: [generic] severity: ERROR - id: files-must-not-have-trailing-newlines patterns: - pattern-regex: '\n\n\Z' message: Files must not have any trailing newlines. languages: [generic] severity: ERROR - id: all-lines-must-end-with-newline patterns: - pattern-regex: '\S\z' message: All lines must end with newline. languages: [generic] severity: ERROR