-
2.1.0
StableAll checks were successfulpublished / fetched (push) Successful in 1spublished / deps-installed (push) Successful in 1spublished / projectfile-is-valid (push) Successful in 5spublished / signing-is-ready (push) Successful in 5spublished / source-is-compliant (push) Successful in 5spublished / source-is-secure (push) Successful in 6spublished / binaries-are-built (amd64, linux) (push) Successful in 37spublished / documentation-passes-lint (push) Successful in 56spublished / source-is-tested (push) Successful in 1spublished / projectfile-is-ok (push) Successful in 4spublished / source-passes-lint (push) Successful in 3m8spublished / binaries-are-ok (push) Successful in 1spublished / documentation-is-ok (push) Successful in 0spublished / source-is-ok (push) Successful in 0spublished / inputs-are-ok (push) Successful in 1spublished / image-is-built (amd64) (push) Successful in 10m1spublished / secrets-ready (push) Successful in 1spublished / image-has-sbom (amd64) (push) Successful in 10spublished / image-is-secure (amd64) (push) Successful in 12spublished / images-are-ok (push) Successful in 0spublished / container-is-ok (push) Successful in 0spublished / container-ready-to-test (push) Successful in 0spublished / container-is-diagnosed (push) Successful in 0spublished / container-is-verified (amd64) (push) Successful in 54spublished / image-is-ready (push) Successful in 0spublished / artifacts-are-ok (push) Successful in 0spublished / ready-to-publish (push) Successful in 0spublished / publish-image (push) Successful in 1spublished / image-is-signed (push) Successful in 0spublished / image-is-attested (kiota) (push) Successful in 55spublished / image-is-attested (dockerhub) (push) Successful in 2m56spublished / release-is-published (push) Successful in 5spublished / release-notes-are-published (push) Successful in 5spublished / published (push) Successful in 0sreleased this
2026-10-11 01:44:32 +00:00 | 89 commits to dev since this release20 commits, 1 contributor, 20 hours since 2.0.3.
Features
- action: expose output format and lint controls (
5c7aee8) - container: bundle pf-cli in the runtime image (
d99df49)
Bug fixes
Installation
Container image
Pull the published container image:
Pull from DockerHub — linux/amd64
docker pull damianbuho/ignorelint:2.1.0 alias ignorelint='docker run --rm --user "$(id -u):$(id -g)" --group-add 0 --volume "$PWD:/app/ws" --workdir /app/ws damianbuho/ignorelint:2.1.0 ignorelint'This release also publishes the
2.1and2tags — pull the precision you want to pin.If the registries above are unreachable, pull from the origin instead:
Pull from Kiota — linux/amd64
docker pull kiota.ch/damian-buho/ignorelint:2.1.0 alias ignorelint='docker run --rm --user "$(id -u):$(id -g)" --group-add 0 --volume "$PWD:/app/ws" --workdir /app/ws kiota.ch/damian-buho/ignorelint:2.1.0 ignorelint'Then run it as if it were installed — the alias runs every example as written against the current directory:
ignorelint --helpPrebuilt binary
Download the prebuilt binary for your platform from this release:
mkdir -p ~/.local/bin curl --fail --location --output ~/.local/bin/ignorelint https://kiota.ch/damian-buho/ignorelint/releases/download/2.1.0/ignorelint-linux-$(uname -m) chmod +x ~/.local/bin/ignorelint ~/.local/bin/ignorelint --helpPublished for:
linux/amd64,linux/arm64Usage
Run it as a step in a GitHub Actions workflow:
- uses: damian-buho/ignorelint@2.1.0The action takes these inputs:
Input Default Description pathsNewline-separated ignore files to lint. Empty enables auto-discovery. recursivefalseSearch subdirectories for ignore files (skips hidden dirs, node_modules, symlinks). config_fileProjectfile path read via pf-cli for the org.ignorelint policy subtree. fail_onerrorSeverity threshold that fails the job: none | error | warn | info fixfalseAutofix deterministically fixable issues (workspace will be modified). disabled_rulesComma-separated rule tags to skip entirely (e.g. IG-001,IG-020). errorComma-separated rule tags to promote to error severity. warningComma-separated rule tags to set to warning severity. infoComma-separated rule tags to demote to info severity. formatExtra report format (same values as --format). Empty emits none; sarif acts like sarif: true. no_failfalseReport every finding but always pass (beats fail_on). difffalsePreview autofix changes in the human report without writing (cannot combine with fix). plainfalseHuman report as one undecorated record per line. quietfalseOnly errors in the human report; suppresses notices (cannot combine with verbose). verbosefalseShow file discovery output on stderr (cannot combine with quiet). disable_ignore_pragmafalseParse suppression directives but apply none. file_path_in_reportRecord this path instead of the linted one in machine-readable reports. sariffalseAlso emit SARIF for github/codeql-action/upload-sarif. upload_sariffalseUpload the SARIF report to GitHub code scanning (implies sarif; needs security-events: write). commentfalsePost the human report as a sticky comment on the triggering pull request. versionImage tag to pull (e.g. latest, 1.2.3). Empty follows the release the action is pinned to, else latest. imageOverride the full image reference. Takes precedence over version.github_tokenToken used to post PR comments. Defaults to the workflow github.token when empty. ignorelint
$ ignorelint --help Description: Linter for *ignore files (.gitignore, .dockerignore, .eslintignore, etc.) Usage: ignorelint [options] [--] [<paths>...] Arguments: paths Files to lint; none discovers them in the current directory, a lone - reads stdin Options: --fail-on=FAIL-ON Exit non-zero at this severity or worse (error|warn|info|none, default: error) --no-fail Report every finding but always exit 0 (beats --fail-on) --plain Human output as one undecorated path:line [CODE] severity: message record per line --file-path-in-report=FILE-PATH-IN-REPORT Record this path instead of the linted one in machine-readable reports --format=FORMAT Output format (human|tty|gnu|json|checkstyle|junit|gitlab_codeclimate|codacy|sonarqube|sarif, default: human) -r, --recursive Search subdirectories for *ignore files (skips hidden dirs, node_modules, symlinks) --fix Auto-fix deterministically fixable issues (IG-001,002,003,008,015,018,022,023,024) --diff Preview auto-fix changes without writing (cannot combine with --fix) --stdin Lint piped content instead of files (requires --file; a lone - path does the same) --file=FILE Filename for --stdin input (drives format detection) --disabled-rules=DISABLED-RULES Skip rules entirely (comma-separated tags, e.g. IG-001,IG-020) (multiple values allowed) --error=ERROR Promote rules to error severity (comma-separated tags, e.g. IG-020) (multiple values allowed) --warning=WARNING Set rules to warning severity (comma-separated tags) (multiple values allowed) --info=INFO Demote rules to info severity (comma-separated tags; applied last) (multiple values allowed) --disable-ignore-pragma Parse suppression directives but apply none; IG-026 still lists them --config=CONFIG Projectfile read via pf-cli for the org.ignorelint policy subtree (default: ./projectfile.*) -h, --help Display help for the given command. When no command is given display help for the ignorelint command --silent Do not output any message -q, --quiet Only errors are displayed. All other output is suppressed -V, --version Display this application version --ansi|--no-ansi Force (or disable --no-ansi) ANSI output -n, --no-interaction Do not ask any interactive question -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Help: When no path is given, discovers supported *ignore files in the current directory. Discovery and diagnostics go to stderr; stdout carries only the report. Environment variables: SHELL_VERBOSITY=1 Same as -v (-1 same as -q) IGNORELINT_FAIL_ON=LEVEL Same as --fail-on (error|warn|info|none) IGNORELINT_NOFAIL=1 Same as --no-fail IGNORELINT_FORMAT=FORMAT Same as --format IGNORELINT_FIX=1 Same as --fix IGNORELINT_RECURSIVE=1 Same as --recursive IGNORELINT_DISABLED_RULES=CODES Same as --disabled-rules IGNORELINT_OVERRIDE_ERROR=CODES Same as --error IGNORELINT_OVERRIDE_WARNING=CODES Same as --warning IGNORELINT_OVERRIDE_INFO=CODES Same as --info IGNORELINT_CONFIG=PATH Same as --config IGNORELINT_DISABLE_IGNORE_PRAGMA=1 Same as --disable-ignore-pragma IGNORELINT_FILE_PATH_IN_REPORT=PATH Same as --file-path-in-report NO_COLOR=1 Disable colored output (also TERM=dumb) FORCE_COLOR=1 Color even when piped (--ansi and --no-ansi beat both)Examples and every command’s help are in Usage.
Image digests
A tag can move; a digest cannot. Pull this exact build:
docker pull docker.io/damianbuho/ignorelint@sha256:2e801f0a7a96078ba58e9414032ab681e7b7843b212604ca1ffb17dedface3eb docker pull kiota.ch/damian-buho/ignorelint@sha256:2e801f0a7a96078ba58e9414032ab681e7b7843b212604ca1ffb17dedface3ebPlatform Digest Size linux/amd64 sha256:5f4f8f44b43363a21be69e99586544bc5114c317c211326793c5bdfdbe33773e96.2 MB (+5.7 MB) Sizes are compressed layer bytes as stored in the registry.
Verify
Check that what you downloaded is what this project published.
Container image
The signature proves this project’s CI built and pushed the image; the attestation carries its software bill of materials.
COSIGN_KEY=https://kiota.ch/damian-buho/metadata/raw/branch/main/keys/ci-cosign-key.pub cosign verify --key "$COSIGN_KEY" --insecure-ignore-tlog=true docker.io/damianbuho/ignorelint@sha256:2e801f0a7a96078ba58e9414032ab681e7b7843b212604ca1ffb17dedface3eb cosign verify --key "$COSIGN_KEY" --insecure-ignore-tlog=true kiota.ch/damian-buho/ignorelint@sha256:2e801f0a7a96078ba58e9414032ab681e7b7843b212604ca1ffb17dedface3eb cosign verify-attestation --key "$COSIGN_KEY" --insecure-ignore-tlog=true --type cyclonedx docker.io/damianbuho/ignorelint@sha256:2e801f0a7a96078ba58e9414032ab681e7b7843b212604ca1ffb17dedface3eb cosign verify-attestation --key "$COSIGN_KEY" --insecure-ignore-tlog=true --type cyclonedx kiota.ch/damian-buho/ignorelint@sha256:2e801f0a7a96078ba58e9414032ab681e7b7843b212604ca1ffb17dedface3ebFull changes: https://kiota.ch/damian-buho/ignorelint/compare/2.0.3...2.1.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- action: expose output format and lint controls (