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

Featured

Slideshows

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

Hundreds of leaders from the New Zealand IT industry gathered at the Hilton in Auckland on 17 November to celebrate the finest female talent in the Kiwi channel and recognise the winners of the Reseller News Women in ICT Awards (WIICTA) 2020.

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards
Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

The leading female front runners of the New Zealand ICT industry joined together for the annual Reseller News Women in ICT Awards event at the Hilton in Auckland, during which hundreds of guests celebrated 13 outstanding individuals who won awards, chosen from more than 50 finalists representing over 30 organisations.

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards
Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

More than 500 channel leaders gathered in Auckland on 21 October at the ​Reseller News Innovation Awards ​2020 to celebrate the achievements of the New Zealand technology industry's top partners, start-ups, vendors, distributors and individuals.

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners
Show Comments