shellcheck

This commit is contained in:
Maxim Devaev
2022-06-24 16:05:10 +03:00
parent f8e9036986
commit 9f4c241204
5 changed files with 23 additions and 16 deletions

View File

@@ -60,6 +60,7 @@ RUN pacman --noconfirm --ask=4 -Syy \
socat \
eslint \
npm \
shellcheck \
&& (pacman -Sc --noconfirm || true) \
&& rm -rf /var/cache/pacman/pkg/*

View File

@@ -1,5 +1,5 @@
[tox]
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint, shellcheck
skipsdist = true
[testenv]
@@ -60,3 +60,7 @@ commands = eslint --cache-location=/tmp --config=testenv/linters/eslintrc.yaml -
[testenv:htmlhint]
whitelist_externals = htmlhint
commands = htmlhint --config=testenv/linters/htmlhint.json web/*.html web/*/*.html
[testenv:shellcheck]
whitelist_externals = bash
commands = bash -c 'shellcheck --color=always scripts/*'