sh
sh copied to clipboard
cmd/shfmt: prefix editorconfig properties
You should prefix the .editorconfig properties defined by shfmt.
Similar to what JetBrains does:
Generic IntelliJ options that have the
ij_prefix and are applicable to all languages
Otherwise different tools might interpret the same key differently defeating the whole purpose of using .editorconfig in the first place.
Is this something that editorconfig themselves recommend? I don't oppose the idea, but I'd also prefer to stick to the upstream recommendations.
https://github.com/editorconfig/editorconfig/issues/516
OK thanks. I will follow that thread for now.
https://github.com/editorconfig/editorconfig/issues/332
Thanks for linking to that new thread. It seems like there still isn't a consensus for me to follow.