Consistent hyphens in CODESTYLE.md

This commit is contained in:
Hundrec
2025-04-22 18:41:41 -04:00
committed by Cameron Taylor
parent 4b883d4339
commit ccaa3d1070
+3 -3
View File
@@ -14,8 +14,8 @@ Code Quality is handled by the `vshaxe.haxe-checkstyle` extension, which include
* `IndentationCharacter` checks what is used to indent, `Indentation` checks how deep the indentation is. * `IndentationCharacter` checks what is used to indent, `Indentation` checks how deep the indentation is.
* `CommentedOutCode` check is in place because old code should be retrieved via Git history. * `CommentedOutCode` check is in place because old code should be retrieved via Git history.
* TODO items: Enable these one-by-one and fix them to improve the overall code quality. * TODO items: Enable these one-by-one and fix them to improve the overall code quality.
- Reconfigure `MethodLength` - Re-configure `MethodLength`
- Reconfigure `CyclomaticComplexity` - Re-configure `CyclomaticComplexity`
- Re-enable `MagicNumber` - Re-enable `MagicNumber`
- Re-configure `NestedControlFlow` - Re-configure `NestedControlFlow`
- Re-configure `NestedIfDepth` - Re-configure `NestedIfDepth`
@@ -28,5 +28,5 @@ Prettier automatically handles formatting of JSON files, and can be configured i
### Prettier Notes ### Prettier Notes
* Prettier will automatically attempt to place expressions on a single line if they fit, but will keep them multi-line if they are manually made multi-line. * Prettier will automatically attempt to place expressions on a single line if they fit, but will keep them multi-line if they are manually made multi-line.
* This means that long singleline objects are automatically expanded, and short multiline objects aren't automatically collapsed. * This means that long single-line objects are automatically expanded, and short multi-line objects aren't automatically collapsed.
* You may want to use regex replacement to manually remove the first newline in short multi-line objects to convince Prettier to collapse them. * You may want to use regex replacement to manually remove the first newline in short multi-line objects to convince Prettier to collapse them.