Skip to content

Add codespell linter config and fix spelling errors #2324

Add codespell linter config and fix spelling errors

Add codespell linter config and fix spelling errors #2324

Workflow file for this run

---
name: Super-Linter
# Run this workflow every time a new commit pushed to your repository
on: push
permissions: {}
jobs:
super-lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
persist-credentials: false
- name: Run Super-Linter
uses: super-linter/super-linter/slim@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Exclude SC1071 (unsupported shell) to skip zsh scripts gracefully
SHELLCHECK_OPTS: "--exclude=SC1071"
# Exclude: elpa (third-party), .venv (virtual env), zsh-specific files
# (shfmt cannot parse zsh-specific syntax)
FILTER_REGEX_EXCLUDE: .*(emacs/.emacs.d/elpa/|\.venv/|mysql-work/\.zsh\.d/rc/mysql-work\.sh|scripts/usr/bin/macupdate|zsh/\.p10k\.zsh).*
VALIDATE_ANSIBLE: false
VALIDATE_GIT_COMMITLINT: false
# Conflicts with black (both are Python formatters)
VALIDATE_PYTHON_PYINK: false
VALIDATE_PYTHON_RUFF_FORMAT: false
# Redundant with PYTHON_RUFF which covers all flake8 rules
VALIDATE_PYTHON_FLAKE8: false
# Until https://github.com/kucherenko/jscpd/issues/737 is fixed
VALIDATE_JSCPD: false