Skip to content

Commit

Permalink
🩹 [Patch]: Disable JSCPD linting (#28)
Browse files Browse the repository at this point in the history
## Description

- Disable JSCPD linting

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
  • Loading branch information
MariusStorhaug authored Jun 3, 2024
1 parent c7f34d1 commit 6209c7d
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 24 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ jobs:
uses: super-linter/super-linter@latest
env:
GITHUB_TOKEN: ${{ github.token }}
VALIDATE_JSCPD: false
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
RUN_LOCAL: true
VALIDATE_ALL_CODEBASE: false
VALIDATE_JSCPD: false

PublishModule:
name: Publish module
Expand Down
6 changes: 3 additions & 3 deletions tests/src/finally.ps1
Original file line number Diff line number Diff line change
@@ -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 '------------------------------'
6 changes: 3 additions & 3 deletions tests/src/init/initializer.ps1
Original file line number Diff line number Diff line change
@@ -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 '-------------------------------'
2 changes: 1 addition & 1 deletion tests/src/modules/OtherPSModule.psm1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Get-OtherPSModule {
function Get-OtherPSModule {
<#
.SYNOPSIS
Performs tests on a module.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/private/Get-InternalPSModule.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Get-InternalPSModule {
function Get-InternalPSModule {
<#
.SYNOPSIS
Performs tests on a module.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/private/Set-InternalPSModule.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Set-InternalPSModule {
function Set-InternalPSModule {
<#
.SYNOPSIS
Performs tests on a module.
Expand Down
6 changes: 3 additions & 3 deletions tests/src/scripts/loader.ps1
Original file line number Diff line number Diff line change
@@ -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 '-------------------------'
6 changes: 3 additions & 3 deletions tests/srcWithManifest/finally.ps1
Original file line number Diff line number Diff line change
@@ -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 '------------------------------'
6 changes: 3 additions & 3 deletions tests/srcWithManifest/init/initializer.ps1
Original file line number Diff line number Diff line change
@@ -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 '-------------------------------'
2 changes: 1 addition & 1 deletion tests/srcWithManifest/modules/OtherPSModule.psm1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Get-OtherPSModule {
function Get-OtherPSModule {
<#
.SYNOPSIS
Performs tests on a module.
Expand Down
2 changes: 1 addition & 1 deletion tests/srcWithManifest/private/Get-InternalPSModule.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Get-InternalPSModule {
function Get-InternalPSModule {
<#
.SYNOPSIS
Performs tests on a module.
Expand Down
2 changes: 1 addition & 1 deletion tests/srcWithManifest/private/Set-InternalPSModule.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Set-InternalPSModule {
function Set-InternalPSModule {
<#
.SYNOPSIS
Performs tests on a module.
Expand Down
6 changes: 3 additions & 3 deletions tests/srcWithManifest/scripts/loader.ps1
Original file line number Diff line number Diff line change
@@ -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 '-------------------------'

0 comments on commit 6209c7d

Please sign in to comment.