Skip to content

Update README.md

Update README.md #476

Workflow file for this run

---
###########################
###########################
## Linter GitHub Actions ##
###########################
###########################
name: Lint Code Base
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [main]
# Remove the line above to run when pushing to master
pull_request:
branches: [main, develop]
merge_group:
###############
# Set the Job #
###############
jobs:
linter:
timeout-minutes: 20
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-22.04
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/[email protected]
with:
# Full git history is needed to get a proper list of changed files
fetch-depth: 0
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
# JAVASCRIPT_DEFAULT_STYLE: prettier
VALIDATE_XML: false
# Evaluate JS with eslint instead of standard
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_TYPESCRIPT_STANDARD: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}