mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
shellcheck
This commit is contained in:
@@ -60,6 +60,7 @@ RUN pacman --noconfirm --ask=4 -Syy \
|
||||
socat \
|
||||
eslint \
|
||||
npm \
|
||||
shellcheck \
|
||||
&& (pacman -Sc --noconfirm || true) \
|
||||
&& rm -rf /var/cache/pacman/pkg/*
|
||||
|
||||
|
||||
@@ -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/*'
|
||||
|
||||
Reference in New Issue
Block a user