Update .gitea/scoped_workflows/style-web.yaml

This commit is contained in:
alu
2026-09-01 23:45:32 +00:00
parent cedb2ea473
commit 5616a09c45
+6 -6
View File
@@ -49,27 +49,27 @@ jobs:
id: style-html
if: always()
run: |
CONFIG_FILE=".htmlvalidate.json"
CONFIG_FILE="dev_config/.htmlvalidate.json"
if [ -f "$CONFIG_FILE" ]; then
npx html-validate '**/*.html'
npx html-validate --config="$CONFIG_FILE" '**/*.html'
fi
- name: Run stylelint
id: style-css
if: always()
run: |
CONFIG_FILE=".stylelintrc.json"
CONFIG_FILE="dev_config/.stylelintrc.json"
if [ -f "$CONFIG_FILE" ]; then
npx stylelint --formatter verbose '**/*.css'
npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css'
fi
- name: Run eslint
id: style-js
if: always()
run: |
CONFIG_FILE="eslint.config.mjs"
CONFIG_FILE="dev_config/eslint.config.mjs"
if [ -f "$CONFIG_FILE" ]; then
npx eslint '**/*.js'
npx eslint --config "$CONFIG_FILE" '**/*.js'
fi
- name: Verify Linters