-
Notifications
You must be signed in to change notification settings - Fork 756
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use-safe-access
linter rule: Expand to check for nullable properties (
#15838) Some examples where a replacement will be suggested: ## Example 1 ### Input ```bicep param foo { bar: string? } output bar string? = foo.bar ``` ### Replacement ```bicep param foo { bar: string? } output bar string? = foo.?bar ``` ## Example 2 `module.bicep` has declared the `bar` output as a nullable string. ### Input ```bicep module foo 'module.bicep' = { name: 'foo' } output bar string? = foo.outputs.bar ``` ### Replacement ```bicep module foo 'module.bicep' = { name: 'foo' } output bar string? = foo.outputs.?bar ``` Closes #15823
- Loading branch information
1 parent
2cc1e4c
commit 1ae3143
Showing
7 changed files
with
159 additions
and
12 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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