зеркало из https://github.com/Azure/ALZ-Bicep.git
Added newer linter-rules (#826)
* Updated linter-rules in bicepconfig.json * Change no-deployment-resources to error as related to security --------- Co-authored-by: Zach Trocinski <ztrocinski@outlook.com> Co-authored-by: Zach Trocinski <30884663+oZakari@users.noreply.github.com>
This commit is contained in:
Родитель
8f23c71189
Коммит
d5a5c52e95
|
@ -13,6 +13,12 @@
|
|||
"decompiler-cleanup": {
|
||||
"level": "error"
|
||||
},
|
||||
"explicit-values-for-loc-params": {
|
||||
"level": "off"
|
||||
},
|
||||
"max-asserts": {
|
||||
"level": "warning"
|
||||
},
|
||||
"max-outputs": {
|
||||
"level": "error"
|
||||
},
|
||||
|
@ -25,6 +31,15 @@
|
|||
"max-variables": {
|
||||
"level": "error"
|
||||
},
|
||||
"nested-deployment-template-scoping": {
|
||||
"level": "error"
|
||||
},
|
||||
"no-conflicting-metadata" : {
|
||||
"level": "warning"
|
||||
},
|
||||
"no-deployments-resources" : {
|
||||
"level": "error"
|
||||
},
|
||||
"no-hardcoded-env-urls": {
|
||||
"level": "error"
|
||||
},
|
||||
|
@ -80,12 +95,21 @@
|
|||
"level": "warning",
|
||||
"maxAllowedAgeInDays": 730
|
||||
},
|
||||
"use-recent-module-versions": {
|
||||
"level": "warning"
|
||||
},
|
||||
"use-resource-id-functions": {
|
||||
"level": "error"
|
||||
},
|
||||
"use-resource-symbol-reference": {
|
||||
"level": "error"
|
||||
},
|
||||
"use-safe-access": {
|
||||
"level": "warning"
|
||||
},
|
||||
"use-secure-value-for-secure-inputs": {
|
||||
"level": "error"
|
||||
},
|
||||
"use-stable-resource-identifiers": {
|
||||
"level": "error"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче