Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/shfmt: test that -i=0 does not skip ignore=true from EditorConfig
The man page says: 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. Since ignore=true is not a formatting option, and it's still useful when formatting options are given as flags, it should still work then. The docs said so, but we had no specific test for it. For #1095.
- Loading branch information