add .editorconfig and remove static indent shfmt setting from lint action

This commit is contained in:
Roni Väyrynen
2021-12-06 16:59:36 +02:00
parent a7ecc106ff
commit 94eca439ff
2 changed files with 12 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ on:
paths:
- 'xo-install.sh'
- 'xo-vm-import.sh'
jobs:
shellcheck:
runs-on: ubuntu-latest
@@ -16,11 +16,11 @@ jobs:
- uses: actions/checkout@v2
- name: run shellcheck
uses: ludeeus/action-shellcheck@1.1.0
- name: run shfmt
uses: luizm/action-sh-checker@v0.3.0
env:
SHFMT_OPTS: -i 4 -d
SHFMT_OPTS: -d
with:
sh_checker_comment: false
sh_checker_shellcheck_disable: true