Menu
GitHub’s Super Linter is ‘one linter to rule them all’

GitHub’s Super Linter is ‘one linter to rule them all’

Super Linter is a GitHub Action that lets you automate linting for any GitHub repo, supporting some 20 programming languages

Credit: Dreamstime

GitHub has introduced the Super Linter, a GitHub Action that offers a combination of various linters to help validate source code.

By setting up a GitHub repository to call the Super Linter action, developers can have Super Linter automatically lint their code whenever they open a pull request.

Super Linter was built by the GitHub Services Devops Engineering team to maintain consistency in documentation and code while making collaboration across the company more productive. Described as “one linter to rule them all,” the Super Linter is a GitHub repo that is packaged in a Docker container and called by GitHub Actions. Thus any repo on GitHub can call Super Linter and leverage its benefits.

Super Linter offers the following benefits:

  • Prevents uploading of broken code to master branches
  • Establishes coding best practices across different languages
  • Sets build guidelines for code formatting and layout
  • Helps streamline code reviews
  • Provides for cleaner and more stable code

Some of the languages and linters supported by Super Linter:

The full list of supported linters can be found on GitHub.

Developers can use Super Linter by adding it to their GitHub Actions workflow. When developers have set up their repo to support the Super Linter action, any time a pull request is opened, linting of the code base starts and returns via the Status API. Developers will be informed if code changes passed successfully or if errors were detected and where the errors occurred.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags MicrosoftGitHub

Events

Featured

Slideshows

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments