Skip to content

ARM

Linters

Linter Additional
arm-ttk
ARM_ARM_TTK
GitHub stars

Linted files

  • File extensions:
    • .json
  • Detected file content:
    • schema\.management\.azure\.com

Configuration in MegaLinter

Variable Description Default value
ARM_PRE_COMMANDS List of bash commands to run before the linters None
ARM_POST_COMMANDS List of bash commands to run after the linters None
ARM_FILTER_REGEX_INCLUDE Custom regex including filter
ARM_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation

  • Dockerfile commands :
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
    && mkdir -p /opt/microsoft/powershell/7 \
    && tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
    && chmod +x /opt/microsoft/powershell/7/pwsh \
    && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh