References

GitHub Super Linter

  • GitHub Action:

    • place the following code at the root of your GitHub repo in:

.github/workflows/main.yml

WARNING!

Never, never, never add this file in or touch it in Repl.it. ONLY add it in from GitHub.

(If you do touch it in Repl.it, it will most likely lock your Repl and you will have to start all over again!)

###############################################

# Run GitHub's Super Linter against code base #

###############################################


name: GitHub's Super Linter

on: push


jobs:

run-linters:

name: GitHub's Super Linter

runs-on: ubuntu-latest


steps:

- name: Check out Git repository

uses: actions/checkout@master

- name: Run GitHub Super Linter

uses: github/super-linter@master

env:

VALIDATE_ALL_CODEBASE: true

DEFAULT_BRANCH: main

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  • Then place the following code in a README.md file, after the repo's title, in your root folder:

    • Make sure you replace <OWNER> with your Github Account name, and <REPOSITORY> with the name of your project!

[![GitHub's Super Linter](https://github.com/<OWNER>/<REPOSITORY>/workflows/GitHub's%20Super%20Linter/badge.svg)](https://github.com/<OWNER>/<REPOSITORY>/actions)


[![Run on Repl.it](https://repl.it/badge/github/<OWNER>/<REPOSITORY>)](https://repl.it/github/<OWNER>/<REPOSITORY>)


Comments