testenv: restored eslint

This commit is contained in:
Maxim Devaev
2024-08-27 01:48:52 +03:00
parent 0c213add4a
commit 308911191a
3 changed files with 59 additions and 39 deletions

View File

@@ -1,6 +1,5 @@
[tox]
envlist = flake8, pylint, mypy, vulture, pytest, htmlhint, shellcheck
#envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint, shellcheck
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint, shellcheck
skipsdist = true
[testenv]
@@ -55,7 +54,7 @@ deps =
[testenv:eslint]
allowlist_externals = eslint
commands = eslint --cache-location=/tmp --config=testenv/linters/eslintrc.yaml --color --ext .js web/share/js
commands = eslint --cache-location=/tmp --config=testenv/linters/eslintrc.js --color web/share/js
[testenv:htmlhint]
allowlist_externals = htmlhint