Last active
August 17, 2023 05:29
-
-
Save dcd-arnold/1b7ed6274d848dbef899ba4935dff6ce to your computer and use it in GitHub Desktop.
VSCode ShellCheck AutoFix Task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "ShellCheck AutoFix", | |
"type": "shell", | |
"command": "shellcheck -f diff --enable=all ${relativeFile} | patch --strip=1 --directory='${fileWorkspaceFolder}'", | |
"problemMatcher": [], | |
"presentation": { | |
"reveal": "silent", | |
} | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment