You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any EditorConfig files are found, they will be used to apply formatting options. If any parser or printer flags are given to the tool, no EditorConfig formatting options will be used. A default like -i=0 can be used for this purpose.
Here's the problem: The --filename flag, which is intended to help with finding EditorConfig files when reading from stdin is listed under Parser flags and thus (according to the statement above) should stop EditorConfig formatting options from being used.
Possible solutions:
Move the --filename flag to either the Generic or Utility flags section, or
add an explicit exception for the --filename flag to the statement quoted above.
The text was updated successfully, but these errors were encountered:
A little nitpick ...
The shfmt man page states
Here's the problem: The
--filename
flag, which is intended to help with finding EditorConfig files when reading from stdin is listed under Parser flags and thus (according to the statement above) should stop EditorConfig formatting options from being used.Possible solutions:
--filename
flag to either the Generic or Utility flags section, or--filename
flag to the statement quoted above.The text was updated successfully, but these errors were encountered: