mirror of
				https://github.com/theoludwig/programming-challenges.git
				synced 2025-09-11 23:11:21 +02:00 
			
		
		
		
	style: fix editorconfig linting
This commit is contained in:
		| @@ -27,7 +27,8 @@ bool character_is_alphanumeric(char character) { | ||||
|   char ascii_Z = 'Z'; | ||||
|   char ascii_0 = '0'; | ||||
|   char ascii_9 = '9'; | ||||
|   return (character >= ascii_a && character <= ascii_z) || | ||||
|          (character >= ascii_A && character <= ascii_Z) || | ||||
|          (character >= ascii_0 && character <= ascii_9); | ||||
|   bool is_lowercase_letter = character >= ascii_a && character <= ascii_z; | ||||
|   bool is_uppercase_letter = character >= ascii_A && character <= ascii_Z; | ||||
|   bool is_digit = character >= ascii_0 && character <= ascii_9; | ||||
|   return is_lowercase_letter || is_uppercase_letter || is_digit; | ||||
| } | ||||
|   | ||||
| @@ -4,7 +4,7 @@ import { Challenge } from './Challenge' | ||||
| import { Solution } from './Solution' | ||||
|  | ||||
| const solutionsRegex = new RegExp( | ||||
|   /challenges\/[\s\S]*\/solutions\/(c|cpp|cs|dart|java|javascript|python|rust|typescript)\/[\s\S]*\/(solution|Solution).(c|cpp|cs|dart|java|js|py|rs|ts)/ | ||||
|   /challenges\/[\s\S]*\/solutions\/(c|cpp|cs|dart|java|javascript|python|rust|typescript)\/[\s\S]*\/(.*).(c|cpp|cs|dart|java|js|py|rs|ts)/ | ||||
| ) | ||||
|  | ||||
| const dockerRegex = new RegExp( | ||||
| @@ -12,7 +12,7 @@ const dockerRegex = new RegExp( | ||||
| ) | ||||
|  | ||||
| const inputOutputRegex = new RegExp( | ||||
|   /challenges\/[\s\S]*\/test\/[0-9]\/(input.txt|output.txt)/ | ||||
|   /challenges\/[\s\S]*\/test\/(.*)\/(input.txt|output.txt)/ | ||||
| ) | ||||
|  | ||||
| export interface GitAffectedOptions { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user