Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/linters/.textlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -488,15 +488,15 @@
"npm"
],
[
"environemnt(s)?",
"environment(s)?",
"environment$1"
],
[
"flacky test(s)?",
"flaky test$1"
],
[
"pacakge(s)?",
"package(s)?",
"package$1"
],
[
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
persist-credentials: false

- name: Lint code base
uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2
uses: super-linter/super-linter@12562e48d7059cf666c43a4ecb0d3b5a2b31bd9e # v8.4.0
env:
GITHUB_TOKEN: ${{ github.token }}
SUPPRESS_OUTPUT_ON_SUCCESS: true
VALIDATE_BIOME_FORMAT: false
VALIDATE_JSCPD: false
VALIDATE_JSON_PRETTIER: false
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Build/Build-PSModuleManifest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
$tags = $PSData.Keys -contains 'Tags' ? ($PSData.Tags).Count -gt 0 ? $PSData.Tags : $repoLabels : $repoLabels
$tags | ForEach-Object { $manifestTags.Add($_) }
'Windows', 'Linux', 'MacOS' | ForEach-Object { $manifestTags.Add($_) }
# Add tags for compatability mode. https://docs.microsoft.com/en-us/powershell/scripting/developer/module/how-to-write-a-powershell-module-manifest?view=powershell-7.1#compatibility-tags
# Add tags for compatibility mode. https://docs.microsoft.com/en-us/powershell/scripting/developer/module/how-to-write-a-powershell-module-manifest?view=powershell-7.1#compatibility-tags
if ($manifest.CompatiblePSEditions -contains 'Desktop') {
if ($manifestTags -notcontains 'PSEdition_Desktop') {
$manifestTags.Add('PSEdition_Desktop')
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/Build/Build-PSModuleRootModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = {
Add-Content -Path $rootModuleFile -Force -Value @'
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSAvoidAssignmentToAutomaticVariable', 'IsWindows',
Justification = 'IsWindows doesnt exist in PS5.1'
Justification = 'IsWindows does not exist in PS5.1'
)]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSUseDeclaredVarsMoreThanAssignments', 'IsWindows',
Justification = 'IsWindows doesnt exist in PS5.1'
Justification = 'IsWindows does not exist in PS5.1'
)]
'@

Expand Down