mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 04:32:16 -05:00
Use canonical PSScriptAnalyzer setting file extension
The PSScriptAnalyzer expects a text file, not a PowerShell extension on the filename. The latest version of powershell now respects this rule and breaks testing as the settings file doesn't meet the requirements of the linter. Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
02c3084702
commit
f3c9bbd0ef
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/markdown/Invoke-ScriptAnalyzer.md#-settings
|
||||
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Cmdlets/Invoke-ScriptAnalyzer.md#-settings
|
||||
@{
|
||||
#CustomRulePath='path\to\CustomRuleModule.psm1'
|
||||
#RecurseCustomRulePath='path\of\customrules'
|
|
@ -152,7 +152,7 @@ PHP_PHPSTAN_FILE_NAME="phpstan.neon"
|
|||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||
PHP_PSALM_FILE_NAME="psalm.xml"
|
||||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||
POWERSHELL_FILE_NAME=".powershell-psscriptanalyzer.psd1"
|
||||
POWERSHELL_FILE_NAME=".powershell-psscriptanalyzer.txt"
|
||||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||
PROTOBUF_FILE_NAME="${PROTOBUF_CONFIG_FILE:-.protolintrc.yml}"
|
||||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||
|
|
|
@ -386,7 +386,7 @@ control "super-linter-validate-files" do
|
|||
"/action/lib/.automation/.mypy.ini",
|
||||
"/action/lib/.automation/.openapirc.yml",
|
||||
"/action/lib/.automation/.perlcriticrc",
|
||||
"/action/lib/.automation/.powershell-psscriptanalyzer.psd1",
|
||||
"/action/lib/.automation/.powershell-psscriptanalyzer.txt",
|
||||
"/action/lib/.automation/.protolintrc.yml",
|
||||
"/action/lib/.automation/.python-black",
|
||||
"/action/lib/.automation/.python-lint",
|
||||
|
|
Loading…
Reference in a new issue