Please check following WIP discuss. https://github.com/lassik/emacs-format-all-the-code/issues/198 Also following PR: https://github.com/lassik/emacs-format-all-the-code/pull/200#issuecomment-1172305274