Open
Description
Summary of the new feature
This is a proposal to add additional formatting rule to have an empty line after brace to keep code more readable with OTBS scheme. It's a separate rule comparing to inserting a new line.
Current behaviour:
...
foreach ($account in $Permissions.Keys) {
foreach ($permission in $Permissions[$account].Keys) {
foreach ($folder in $Permissions[$account][$permission]) {
cNtfsPermissionEntry $folder {
Ensure = 'Present'
Path = $folder
Principal = $account
AccessControlInformation = @(
cNtfsAccessControlInformation {
FileSystemRights = $permission
}
)
}
}
}
}
...
Proposed behaviour:
...
foreach ($account in $Permissions.Keys) {
foreach ($permission in $Permissions[$account].Keys) {
foreach ($folder in $Permissions[$account][$permission]) {
cNtfsPermissionEntry $folder {
Ensure = 'Present'
Path = $folder
Principal = $account
AccessControlInformation = @(
cNtfsAccessControlInformation {
FileSystemRights = $permission
}
)
}
}
}
}
...