You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/06/28 10:48:28 UTC
[GitHub] [couchdb] slaykachu edited a comment on pull request #3568: Reformat src files with erlfmt
slaykachu edited a comment on pull request #3568:
URL: https://github.com/apache/couchdb/pull/3568#issuecomment-869580199
> Seems like a lot of these changes are nice improvements, but some (like the 2 I've flagged) are much more intrusive. How much control do we have over the opinions of erlfmt?
Hi! You can disable formatting of a top-level expression with:
```erlang
%% erlfmt-ignore
```
To disable formatting for the whole file, add this magic comment as first line:
```erlang
%%% % @format
```
You might also be interested by ['respecting original format'](https://github.com/WhatsApp/erlfmt#respecting-original-format) hints.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org