Closed evanweible-wf closed 3 weeks ago
No security relevant content was detected by automated scans.
aviary.yaml
coverage of security relevant codeQuestions or Comments? Reach out on Slack: #support-infosec.
QA +1
@Workiva/release-management-p
FEDX-1727
The
hackFastFormat
command is used by some of our dev tooling like IDE auto-formatting and precommit hooks. It does not currently support organizing directives, whereas the fullformat
command does.This PR updates
hackFastFormat
to check the project's ddev config to see if it has enabledorganizeDirectives
, and if so, it ensures that the format tool it sets up matches that configuration. In other words,hackFastFormat
should now respect theorganizeDirectives
configuration of the project it is running in, which should allow IDE auto-formatting and precommit hooks that usehackFastFormat
to match behavior of runningddev format
.