diff --git a/.gitea/scoped_workflows/style-web.yaml b/.gitea/scoped_workflows/style-web.yaml index a7296b8..59ce1d9 100644 --- a/.gitea/scoped_workflows/style-web.yaml +++ b/.gitea/scoped_workflows/style-web.yaml @@ -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