feature/fix_linter_fuckup #4

Merged
Vulpovile merged 31 commits from feature/fix_linter_fuckup into master 2025-01-12 00:11:02 +00:00
4 changed files with 31 additions and 20 deletions
Showing only changes of commit bd3e5d86f1 - Show all commits

2
Jenkinsfile vendored
View File

@@ -8,7 +8,7 @@ pipeline {
// Check for spaces or mixed indentation // Check for spaces or mixed indentation
sh ''' sh '''
# Define file extensions to check # Define file extensions to check
FILE_EXTENSIONS="css,json,js,java,htm,html,cpp,c,h,p,py,go,cs" FILE_EXTENSIONS="css|json|js|java|htm|html|cpp|c|h|p|py|go|cs"
echo "Checking for spaces in indentation..." echo "Checking for spaces in indentation..."
grep -nrP '^[ ]+' --include="*.{$FILE_EXTENSIONS}" . || echo "No lines with spaces found." grep -nrP '^[ ]+' --include="*.{$FILE_EXTENSIONS}" . || echo "No lines with spaces found."