Add shell linting and formatting

This commit is contained in:
Daniel Lynn 2021-08-04 10:51:46 -05:00
parent 3fd031e23e
commit ff70755af6
Signed by: daniel
GPG Key ID: 28496A140E180A9D

View File

@ -9,6 +9,12 @@
"diagnostic.warningSign": "⚠", "diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "🛈", "diagnostic.infoSign": "🛈",
"diagnostic.checkCurrentLine": true, "diagnostic.checkCurrentLine": true,
"diagnostic-languageserver.filetypes": {
"sh": "shellcheck"
},
"diagnostic-languageserver.formatFiletypes": {
"sh": "shfmt"
},
"coc.preferences.formatOnSaveFiletypes": [ "coc.preferences.formatOnSaveFiletypes": [
"css", "css",
"go", "go",