This post is part of the series ‘Coding style’. Be sure to check out the rest of the blog posts of the series!

GitHub Super-Linter is a simple combination of various linters to help validate your source code. The end goal of this tool:

  • Prevent broken code from being uploaded to your repository
  • Help establish coding best practices across multiple languages
  • Build guidelines for code layout and format
  • Automate the process to help streamline code reviews

Instead of using many linters individually in your CI, you can use Super-Linter to rule them all. It can currently validate 30 different kinds of files including Azure Resource Manager (ARM), AWS CloudFormation templates, CSS, Dockerfile, EditorConfig, HTML, JavaScript, JSON, Markdown, OpenAPI, PowerShell, Protocol Buffers, Python3, Shell, Terraform, TypeScript, XML, YAML.

Super-Linter is easy to integrate in a GitHub workflow thanks to the provided action. But this doesn’t mean you cannot use it in another build system such as Azure Pipelines. Indeed, Super-Linter is released as a Linux Docker image. So, if you can run a Docker image, it’s ok. Hopefully, Azure Pipelines can run Docker images from a Linux runner.

#azure devops #azure

Running GitHub Super-Linter in Azure Pipelines
1.65 GEEK