Skip to content

🩹 [Patch]: Update linter configurations and license year #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 16, 2025
Merged

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Feb 16, 2025

Description

This pull request includes several updates to the configuration files and PowerShell scripts to enhance code quality and maintainability. The most important changes include updates to the JSCPD and PSScriptAnalyzer configurations, adjustments to the module requirements in various scripts, and suppression of specific warnings.

Configuration Updates:

Module Requirement Adjustments:

  • scripts/helpers/Build-PSModule.ps1, scripts/helpers/Build/Build-PSModuleBase.ps1, scripts/helpers/Build/Build-PSModuleManifest.ps1, scripts/helpers/Build/Get-PSModuleAliasesToExport.ps1, scripts/helpers/Build/Get-PSModuleCmdletsToExport.ps1, scripts/helpers/Build/Get-PSModuleFunctionsToExport.ps1, scripts/helpers/Build/Get-PSModuleVariablesToExport.ps1, scripts/helpers/Build/Import-PSModule.ps1, scripts/helpers/Build/Resolve-PSModuleDependency.ps1, scripts/helpers/Build/Update-PSModuleManifestAliasesToExport.ps1, scripts/main.ps1: Re-added the #Requires -Modules directive for required modules and added suppression for PSAvoidUsingWriteHost warnings. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

License Update:

  • LICENSE: Updated the copyright year from 2024 to 2025. (F75789b6L1)

Linter Workflow Adjustment:

Script Output Adjustments:

  • tests/tools/1-build.ps1, tests/tools/2-build.ps1: Changed the output from Write-Host to a direct string output. [1] [2]

Type of change

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

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug MariusStorhaug self-assigned this Feb 16, 2025
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner February 16, 2025 11:00
@MariusStorhaug MariusStorhaug merged commit 8819705 into main Feb 16, 2025
10 checks passed
@MariusStorhaug MariusStorhaug deleted the fix branch February 16, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant