Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Lint Code Base

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read
statuses: write

jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Code Base
uses: super-linter/super-linter@v7
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
# Naming any validator puts super-linter in opt-in mode, so only these
# three run. Leaving it on the default (every validator it can detect)
# fails this repo: jscpd uses a 0% duplicate threshold and flags the
# .cjs/.js module twins that CLAUDE.md requires, and checkov flags the
# workflows' missing permissions blocks. Bash is deliberately absent —
# shellcheck reports 52 findings across bin/ and test/, which is a
# cleanup of its own, not a merge gate.
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_GITLEAKS: true
VALIDATE_YAML: true
23 changes: 0 additions & 23 deletions github/workflows/linter.yml

This file was deleted.

Loading