repo: Update linting for 4-spaced shell scripts
This commit is contained in:
parent
864ec3d03b
commit
f4400da743
13 changed files with 417 additions and 417 deletions
|
@ -22,9 +22,9 @@ lint:
|
||||||
- shfmt -version
|
- shfmt -version
|
||||||
script:
|
script:
|
||||||
- echo "--------- CHECKING POSIX SHELLSCRIPTS -------------"
|
- echo "--------- CHECKING POSIX SHELLSCRIPTS -------------"
|
||||||
- find . -type f -name '*.sh' | ifne xargs shfmt -d -i 2
|
- find . -type f -name '*.sh' -not -path '*/pomo-app/*' | ifne xargs shfmt -d -i 4
|
||||||
- echo "--------- CHECKING ZSH SHELLSCRIPTS -------------"
|
- echo "--------- CHECKING ZSH SHELLSCRIPTS -------------"
|
||||||
- find . -type f -name '*.zsh' | ifne xargs shfmt -d -i 2
|
- find . -type f -name '*.zsh' -not -path '*/pomo-app/*' | ifne xargs shfmt -d -i 4
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue