Skip to content

Commit

Permalink
PSUseDeclaredVarsMoreThanAssignments rules updated
Browse files Browse the repository at this point in the history
  • Loading branch information
matebarabas committed Aug 26, 2024
1 parent 6172d9e commit 537e7b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utilities/tools/module-indexes/module-index.tests.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'rawFile', Justification = 'Variable is used in another scope.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'csvHeaders', Justification = 'Variable is used in another scope.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'issues', Justification = 'Variable is used in another scope.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'singularExceptions', Justification = 'Variable is used in another scope.')]

[CmdletBinding()]
param (
Expand Down

0 comments on commit 537e7b2

Please sign in to comment.