-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: restructure bicepparams (#517)
A precursor for #275 - Use objects and user defined types: <https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/user-defined-data-types> - Exporting types in order to make it cleaner and to add additional validation. Validation was not taken place for the module itself, but only in the main bicep file. Now we have validation all the way from bicepparam to the module in use. <https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-import#import-user-defined-data-types-preview> - Add biceppconfig with some sane lint rules --------- Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
- Loading branch information
Showing
11 changed files
with
180 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
// See https://aka.ms/bicep/config for more information on Bicep configuration options | ||
// Press CTRL+SPACE/CMD+SPACE at any location to see Intellisense suggestions | ||
"analyzers": { | ||
"core": { | ||
"rules": { | ||
"no-unused-params": { | ||
"level": "error" | ||
}, | ||
"no-unused-vars": { | ||
"level": "error" | ||
}, | ||
"no-hardcoded-env-urls": { | ||
"level": "error" | ||
}, | ||
"secure-secrets-in-params": { | ||
"level": "error" | ||
}, | ||
"no-unnecessary-dependson": { | ||
"level": "error" | ||
}, | ||
"outputs-should-not-contain-secrets": { | ||
"level": "error" | ||
} | ||
} | ||
} | ||
}, | ||
"experimentalFeaturesEnabled": { | ||
"compileTimeImports": true, | ||
"userDefinedFunctions": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.