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
I'm running swiftlint autocorrect --format to reformat the Swift files. But the linter was indenting using space while I'm using tab. Reading the source code I found the linter useTabs: false in the AutoCorrectCommand. But I don't know how to make that useTabs: true without cloning and recompile the code.
Is there any way user could change the useTabs in the autocorrect format config?
Thanks!
The text was updated successfully, but these errors were encountered:
@jpsim Would this be added as a stand alone option for autocorrect, or would this be a child option of the --format option? Since using tabs over spaces requires the use of the --format option, I would think it'd make sense for a child command.
If so, how can a child option be added to --format?
I'm running
swiftlint autocorrect --format
to reformat the Swift files. But the linter was indenting using space while I'm using tab. Reading the source code I found the linteruseTabs: false
in theAutoCorrectCommand
. But I don't know how to make thatuseTabs: true
without cloning and recompile the code.Is there any way user could change the
useTabs
in the autocorrect format config?Thanks!
The text was updated successfully, but these errors were encountered: