Skip to content

DO NOT REVIEW: GitHub Actions: Implement ESlint #8

DO NOT REVIEW: GitHub Actions: Implement ESlint

DO NOT REVIEW: GitHub Actions: Implement ESlint #8

Workflow file for this run

name: Lint JS
on:
pull_request:
# branches: [gh-pages]
push:
# branches: [gh-pages]
jobs:
build:
name: Lint JS
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
# Run Linter against code base #
- name: Lint JS
uses: github/super-linter@v5.0.0
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
VALIDATE_JAVASCRIPT_ES: true