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 - name: Verify linters
run: | run: |
eslint --version npx html-validate --version
stylelint --version npx stylelint --version
html-validate --version npx eslint --version
- name: Check out ${{gitea.repository}} ${{gitea.ref}} ${{gitea.sha}} - name: Check out ${{gitea.repository}} ${{gitea.ref}} ${{gitea.sha}}
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run HTML Validate - name: Run HTML Validate
id: html_lint 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 - name: Run Stylelint
id: style_lint id: style_lint
if: always() 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 - name: Run ESLint
id: js_lint id: js_lint
if: always() if: always()
env: env:
DEBUG: eslint:cli-engine 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 - name: Verify All Linters Passed
if: always() if: always()