blob: 0ce8fcb4c94762996de49b749fcb25cb98092785 [file] [log] [blame]
avm999634bfb4ad2021-02-11 19:17:49 +01001- name: Run the web-ext linter
2 shell:
avm9996342426032021-02-17 15:18:51 +01003 cmd: |
4 set -o pipefail
5 set -e
Adrià Vilanova Martínez5d353c02024-05-04 01:34:32 +02006 {{ 'web-ext' if use_standalone_web_ext else web_ext_command }} \
7 lint --no-input --boring \
avm9996342426032021-02-17 15:18:51 +01008 {{ '--source-dir=' + source_dir if source_dir else '' }} \
9 {{ extra_lint_flags }} | tee -a web-ext-lint.txt
avm999634bfb4ad2021-02-11 19:17:49 +010010 chdir: "{{ zuul.project.src_dir }}"
avm9996342426032021-02-17 15:18:51 +010011 executable: /bin/bash
12 changed_when: false