EditorConfig -- seems to not be used #1181
Unanswered
smartwatermelon
asked this question in
Q&A
Replies: 2 comments
-
You're going to have to be more specific here. Can you give an example of a script file, including its filename, and how you ran shfmt with it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I also tried putting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've placed an
.editorconfig
in my~
homedir, with what I think are the options described as "closely resembl[ing] Google's shell style". Butshfmt FILENAME
doesn't seem to use the config file; it outputs the same results as I see with no options or config at all. When I doshfmt -d -I 2 -ci -bn FILENAME
, I do get the expected results.Has anyone else seen this, where shfmt doesn't find or use the config file?
I've attached the config file, renamed
editorconfig.txt
to comply with file attachment rules; I assure you it's named~/.editorconfig
on my system.editorconfig.txt
Beta Was this translation helpful? Give feedback.
All reactions