Use lint templates from common-ci-configuration
Summary
Migrates lint jobs to use the new reusable templates from common-ci-configuration, reducing boilerplate and standardizing lint configuration.
Changes
Replaces custom lint job implementations with template-based versions:
lint_bash_scripts:
extends: .haf_app_lint_bash
variables:
LINT_SCRIPTS_DIR: "."
LINT_EXCLUDE_PATHS: "haf"
lint_sql_scripts:
extends: .haf_app_lint_sql
Before: ~39 lines of custom lint configuration After: ~10 lines using shared templates
Benefits
- Standardized lint configuration across HAF apps
- Automatic shellcheck XML/HTML reports
- Automatic sqlfluff YAML reports
- Easier maintenance (fixes in one place benefit all apps)
Test plan
- lint_bash_scripts passes
- lint_sql_scripts passes