1 Commits
Author SHA1 Message Date
alu f5a55c23e9 add lint workflow
ProxmoxAAS-Dashboard Code Style Check / lint-check (push) Failing after 17s
2026-07-29 03:06:12 +00:00
+6 -6
View File
@@ -25,28 +25,28 @@ jobs:
- name: Verify linters
run: |
eslint --version
stylelint --version
html-validate --version
npx html-validate --version
npx stylelint --version
npx eslint --version
- name: Check out ${{gitea.repository}} ${{gitea.ref}} ${{gitea.sha}}
uses: actions/checkout@v4
- name: Run HTML Validate
id: html_lint
run: html-validate --config dev_config/.htmlvalidate.json "web/html/**/*"
run: npx html-validate --config dev_config/.htmlvalidate.json "web/html/**/*"
- name: Run Stylelint
id: style_lint
if: always()
run: stylelint --config dev_config/.stylelintrc.json --formatter verbose --fix "web/css/**/*.css"
run: npx stylelint --config dev_config/.stylelintrc.json --formatter verbose --fix "web/css/**/*.css"
- name: Run ESLint
id: js_lint
if: always()
env:
DEBUG: eslint:cli-engine
run: eslint --config dev_config/eslint.config.mjs --fix web/scripts/
run: npx eslint --config dev_config/eslint.config.mjs --fix web/scripts/
- name: Verify All Linters Passed
if: always()