Skip to content

Commit

Permalink
Added newer linter-rules (#826)
Browse files Browse the repository at this point in the history
* Updated linter-rules in bicepconfig.json

* Change no-deployment-resources  to error as related to security

---------

Co-authored-by: Zach Trocinski <[email protected]>
Co-authored-by: Zach Trocinski <[email protected]>
  • Loading branch information
3 people authored Aug 19, 2024
1 parent 8f23c71 commit d5a5c52
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions infra-as-code/bicep/bicepconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"decompiler-cleanup": {
"level": "error"
},
"explicit-values-for-loc-params": {
"level": "off"
},
"max-asserts": {
"level": "warning"
},
"max-outputs": {
"level": "error"
},
Expand All @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down

0 comments on commit d5a5c52

Please sign in to comment.