Fixing Bicep.psm1 to replace the unicode elipsis. (#138)

Adding an ignore file for npm json lint to ignore the BenchPress/bicep path.
Adding --stdout to the bicep linter to prevent creating the ARM files when linting.
Adding --check to the Prettier linter to prevent auto formatting.
This commit is contained in:
marclerwick 2023-02-03 10:07:42 -08:00 коммит произвёл GitHub
Родитель 1cc80f0240
Коммит f3322fdd21
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -13,5 +13,7 @@ DISABLE_ERRORS_LINTERS:
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
LINTER_RULES_PATH: .github/config/linter
POWERSHELL_POWERSHELL_FILTER_REGEX_EXCLUDE: (.*/Generators/templates/|.*/BenchPress.Azure/Bicep.psm1)
POWERSHELL_POWERSHELL_FILTER_REGEX_EXCLUDE: (.*/Generators/templates/)
JSON_JSONLINT_FILTER_REGEX_EXCLUDE: (.vscode/)
BICEP_BICEP_LINTER_ARGUMENTS: --stdout
JAVASCRIPT_PRETTIER_ARGUMENTS: --check

Просмотреть файл

@ -0,0 +1 @@
BenchPress/bicep/

Просмотреть файл

@ -30,7 +30,7 @@
Errors
-----------
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]...
.EXAMPLE
Pipe multiple paths into Confirm-AzBPBicepFile
@ -48,7 +48,7 @@
Errors
-----------
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]...
.EXAMPLE
Provide -BicepPath Parameter
@ -62,7 +62,7 @@
Errors
-----------
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]...
.EXAMPLE
Path without -BicepPath Parameter
@ -76,7 +76,7 @@
Errors
-----------
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]
{@{Path=../../../examples/actionGroupErrors.bicep; ErrorResults=System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]...
.INPUTS
System.String[]