diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 5c9f300..52daecd 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -27,3 +27,4 @@ jobs: uses: super-linter/super-linter@latest env: GITHUB_TOKEN: ${{ github.token }} + VALIDATE_JSCPD: false diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 26fdde8..bdc6047 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -529,6 +529,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} RUN_LOCAL: true VALIDATE_ALL_CODEBASE: false + VALIDATE_JSCPD: false PublishModule: name: Publish module diff --git a/tests/src/finally.ps1 b/tests/src/finally.ps1 index e51c226..d8fc207 100644 --- a/tests/src/finally.ps1 +++ b/tests/src/finally.ps1 @@ -1,3 +1,3 @@ -Write-Verbose '------------------------------' -Verbose -Write-Verbose '--- THIS IS A LAST LOADER ---' -Verbose -Write-Verbose '------------------------------' -Verbose +Write-Verbose '------------------------------' +Write-Verbose '--- THIS IS A LAST LOADER ---' +Write-Verbose '------------------------------' diff --git a/tests/src/init/initializer.ps1 b/tests/src/init/initializer.ps1 index f4121d2..28396fb 100644 --- a/tests/src/init/initializer.ps1 +++ b/tests/src/init/initializer.ps1 @@ -1,3 +1,3 @@ -Write-Verbose '-------------------------------' -Verbose -Write-Verbose '--- THIS IS AN INITIALIZER ---' -Verbose -Write-Verbose '-------------------------------' -Verbose +Write-Verbose '-------------------------------' +Write-Verbose '--- THIS IS AN INITIALIZER ---' +Write-Verbose '-------------------------------' diff --git a/tests/src/modules/OtherPSModule.psm1 b/tests/src/modules/OtherPSModule.psm1 index 9e4353b..5d6af8e 100644 --- a/tests/src/modules/OtherPSModule.psm1 +++ b/tests/src/modules/OtherPSModule.psm1 @@ -1,4 +1,4 @@ -Function Get-OtherPSModule { +function Get-OtherPSModule { <# .SYNOPSIS Performs tests on a module. diff --git a/tests/src/private/Get-InternalPSModule.ps1 b/tests/src/private/Get-InternalPSModule.ps1 index 3366e44..89f053c 100644 --- a/tests/src/private/Get-InternalPSModule.ps1 +++ b/tests/src/private/Get-InternalPSModule.ps1 @@ -1,4 +1,4 @@ -Function Get-InternalPSModule { +function Get-InternalPSModule { <# .SYNOPSIS Performs tests on a module. diff --git a/tests/src/private/Set-InternalPSModule.ps1 b/tests/src/private/Set-InternalPSModule.ps1 index 11c2fa1..cf870ba 100644 --- a/tests/src/private/Set-InternalPSModule.ps1 +++ b/tests/src/private/Set-InternalPSModule.ps1 @@ -1,4 +1,4 @@ -Function Set-InternalPSModule { +function Set-InternalPSModule { <# .SYNOPSIS Performs tests on a module. diff --git a/tests/src/scripts/loader.ps1 b/tests/src/scripts/loader.ps1 index 29ad42f..973735a 100644 --- a/tests/src/scripts/loader.ps1 +++ b/tests/src/scripts/loader.ps1 @@ -1,3 +1,3 @@ -Write-Verbose '-------------------------' -Verbose -Write-Verbose '--- THIS IS A LOADER ---' -Verbose -Write-Verbose '-------------------------' -Verbose +Write-Verbose '-------------------------' +Write-Verbose '--- THIS IS A LOADER ---' +Write-Verbose '-------------------------' diff --git a/tests/srcWithManifest/finally.ps1 b/tests/srcWithManifest/finally.ps1 index e51c226..d8fc207 100644 --- a/tests/srcWithManifest/finally.ps1 +++ b/tests/srcWithManifest/finally.ps1 @@ -1,3 +1,3 @@ -Write-Verbose '------------------------------' -Verbose -Write-Verbose '--- THIS IS A LAST LOADER ---' -Verbose -Write-Verbose '------------------------------' -Verbose +Write-Verbose '------------------------------' +Write-Verbose '--- THIS IS A LAST LOADER ---' +Write-Verbose '------------------------------' diff --git a/tests/srcWithManifest/init/initializer.ps1 b/tests/srcWithManifest/init/initializer.ps1 index f4121d2..28396fb 100644 --- a/tests/srcWithManifest/init/initializer.ps1 +++ b/tests/srcWithManifest/init/initializer.ps1 @@ -1,3 +1,3 @@ -Write-Verbose '-------------------------------' -Verbose -Write-Verbose '--- THIS IS AN INITIALIZER ---' -Verbose -Write-Verbose '-------------------------------' -Verbose +Write-Verbose '-------------------------------' +Write-Verbose '--- THIS IS AN INITIALIZER ---' +Write-Verbose '-------------------------------' diff --git a/tests/srcWithManifest/modules/OtherPSModule.psm1 b/tests/srcWithManifest/modules/OtherPSModule.psm1 index 9e4353b..5d6af8e 100644 --- a/tests/srcWithManifest/modules/OtherPSModule.psm1 +++ b/tests/srcWithManifest/modules/OtherPSModule.psm1 @@ -1,4 +1,4 @@ -Function Get-OtherPSModule { +function Get-OtherPSModule { <# .SYNOPSIS Performs tests on a module. diff --git a/tests/srcWithManifest/private/Get-InternalPSModule.ps1 b/tests/srcWithManifest/private/Get-InternalPSModule.ps1 index 3366e44..89f053c 100644 --- a/tests/srcWithManifest/private/Get-InternalPSModule.ps1 +++ b/tests/srcWithManifest/private/Get-InternalPSModule.ps1 @@ -1,4 +1,4 @@ -Function Get-InternalPSModule { +function Get-InternalPSModule { <# .SYNOPSIS Performs tests on a module. diff --git a/tests/srcWithManifest/private/Set-InternalPSModule.ps1 b/tests/srcWithManifest/private/Set-InternalPSModule.ps1 index 11c2fa1..cf870ba 100644 --- a/tests/srcWithManifest/private/Set-InternalPSModule.ps1 +++ b/tests/srcWithManifest/private/Set-InternalPSModule.ps1 @@ -1,4 +1,4 @@ -Function Set-InternalPSModule { +function Set-InternalPSModule { <# .SYNOPSIS Performs tests on a module. diff --git a/tests/srcWithManifest/scripts/loader.ps1 b/tests/srcWithManifest/scripts/loader.ps1 index 29ad42f..973735a 100644 --- a/tests/srcWithManifest/scripts/loader.ps1 +++ b/tests/srcWithManifest/scripts/loader.ps1 @@ -1,3 +1,3 @@ -Write-Verbose '-------------------------' -Verbose -Write-Verbose '--- THIS IS A LOADER ---' -Verbose -Write-Verbose '-------------------------' -Verbose +Write-Verbose '-------------------------' +Write-Verbose '--- THIS IS A LOADER ---' +Write-Verbose '-------------------------'