-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PSCloseBrace rule to not wrongly flag closing brace of one-line h…
…ashtable, which lead to incorrect formatting (#1309) * Ignore Hashtables for PlaceCloseBrace rule * suppress only single line hash tables * Add test and make fix in proper place where RCurly of hashtable gets wrongly associated to the LCurly of the one line if statement * cleanup code * revert change to minimise diff * final cleanup * Apply suggestions from code review Co-Authored-By: Robert Holt <[email protected]>
- Loading branch information
1 parent
171c81d
commit 4f82d81
Showing
2 changed files
with
23 additions
and
1 deletion.
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