secretlint

Pluggable linting tool to prevent committing credential.

MIT License

Downloads
2.1M
Stars
810
Committers
26

Bot releases are visible (Hide)

secretlint - v8.4.0

Published by github-actions[bot] 14 days ago

What's Changed

Features

Other Changes

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.3.3...v8.4.0

secretlint - v8.3.3

Published by github-actions[bot] 14 days ago

What's Changed

Add single-executable binary for secretlint.

Supported Platform

Releases page includes the following platform binaries:

Platform Arch FileName
Linux x64 secretlint-<version>-linux-x64
Linux arm64 secretlint-<version>-linux-arm64
Windows x64 secretlint-<version>-windows-x64.exe
macOS x64 secretlint-<version>-darwin-x64
macOS arm64 secretlint-<version>-darwin-arm64

Checksum files are available as secretlint-<version>-sha256sum.txt

Built-in Rules

This binary includes the following rules:

Usage

#!/usr/bin/env bash
set -euo pipefail
# Get current architecture
SECRETLINT_VERSION="8.3.3"
ARCH=$(uname -m)
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
# Map architecture to the expected format
case "$ARCH" in
    x86_64)
        ARCH="x64"
        ;;
    aarch64)
        ARCH="arm64"
        ;;
    arm64)
        ARCH="arm64"
        ;;
    *)
        echo "Unsupported architecture: $ARCH"
        exit 1
        ;;
esac

# Download the binary
curl -sSL "https://github.com/secretlint/secretlint/releases/download/$(SECRETLINT_VERSION)/secretlint-$(SECRETLINT_VERSION)-$(OS)-$(ARCH)" -o secretlint
chmod +x secretlint
# init .secretlintrc.json
./secretlint --init
# Run secretlint
./secretlint "**/*"

For more details, please see https://github.com/secretlint/secretlint/tree/master/publish/binary-compiler

Bug Fixes

It make secretlint binary stable

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.3.2...v8.3.3

secretlint - v8.3.2

Published by github-actions[bot] 14 days ago

What's Changed

Other Changes

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.3.1...v8.3.2

secretlint - v8.3.1

Published by github-actions[bot] 14 days ago

What's Changed

Bug Fixes

CI

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.3.0...v8.3.1

secretlint - v8.3.0

Published by github-actions[bot] 15 days ago

What's Changed

Add single-executable binary for secretlint.

Supported Platform

[!NOTE]
secretlint 8.3.3+

Releases page includes the following platform binaries:

See 8.3.3 release page.

8.3.0's binary is broken

Platform Arch FileName
Linux x64 secretlint-<version>-linux-x64
Linux arm64 secretlint-<version>-linux-arm64
Windows x64 secretlint-<version>-windows-x64.exe
macOS x64 secretlint-<version>-darwin-x64
macOS arm64 secretlint-<version>-darwin-arm64

Checksum files are available as secretlint-<version>-sha256sum.txt

Built-in Rules

This binary includes the following rules:

Usage

#!/usr/bin/env bash
set -euo pipefail
# Get current architecture
SECRETLINT_VERSION="x.x.x"
ARCH=$(uname -m)
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
# Map architecture to the expected format
case "$ARCH" in
    x86_64)
        ARCH="x64"
        ;;
    aarch64)
        ARCH="arm64"
        ;;
    arm64)
        ARCH="arm64"
        ;;
    *)
        echo "Unsupported architecture: $ARCH"
        exit 1
        ;;
esac

# Download the binary
curl -sSL "https://github.com/secretlint/secretlint/releases/download/$(SECRETLINT_VERSION)/secretlint-$(SECRETLINT_VERSION)-$(OS)-$(ARCH)" -o secretlint
chmod +x secretlint
# init .secretlintrc.json
echo '{
  "rules": [
    {
      "id": "@secretlint/secretlint-rule-preset-recommend"
    },
    {
      "id": "@secretlint/secretlint-rule-pattern"
    }
  ]
}' > .secretlintrc.json
# Run secretlint
./secretlint "**/*"

For more details, please see publish/binary-compiler README.

Features

Dependency Updates

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.2.4...v8.3.0

secretlint - v8.2.4 Latest Release

Published by github-actions[bot] 6 months ago

What's Changed

Bug Fixes

This release allow to escape glob characters.

secretlint "./app/\(root\)/*"

Also, you not need to escape full path anymore.

secretlint "./app/(root)/test.js"

Documentation

CI

Dependency Updates

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.2.3...v8.2.4

secretlint - v8.2.3

Published by github-actions[bot] 7 months ago

What's Changed

Bug Fixes

CI

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.2.2...v8.2.3

secretlint - v8.2.2

Published by github-actions[bot] 7 months ago

What's Changed

Features

CI

Dependency Updates

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.2.1...v8.2.2

secretlint - v8.2.1

Published by github-actions[bot] 7 months ago

What's Changed

CI

Other Changes

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.2.0...v8.2.1

secretlint - v8.2.0

Published by github-actions[bot] 7 months ago

What's Changed

Features

Documentation

CI

Dependency Updates

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.1.2...v8.2.0

secretlint - v8.1.2

Published by github-actions[bot] 8 months ago

What's Changed

Bug Fixes

Dependency Updates

Other Changes

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.1.1...v8.1.2

secretlint - v8.1.1

Published by github-actions[bot] 9 months ago

What's Changed

Bug Fixes

Documentation

Dependency Updates

Other Changes

New Contributors

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.1.0...v8.1.1

secretlint - v8.1.0

Published by github-actions[bot] 10 months ago

What's Changed

Features

CI

Dependency Updates

New Contributors

Full Changelog: https://github.com/secretlint/secretlint/compare/v8.0.0...v8.1.0

secretlint - v8.0.0

Published by github-actions[bot] 11 months ago

What's Changed

Breaking Changes

@secretlint/secretlint-rule-preset-recommend includes OpenAI API key detection!

Testing

Dependency Updates

Other Changes

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.2.0...8.0.0

secretlint - v7.2.0

Published by github-actions[bot] 11 months ago

What's Changed

Features

Dependency Updates

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.1.0...7.2.0

secretlint - v7.1.0

Published by github-actions[bot] 11 months ago

What's Changed

Features

We plan to include this rule into preset in secretlint v8 #680

Maintenance

Dependency Updates

Other Changes

New Contributors

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.0.8...7.1.0

secretlint - v7.0.8

Published by github-actions[bot] 11 months ago

What's Changed

Bug Fixes

Refactoring

Dependency Updates

Other Changes

New Contributors

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.0.7...7.0.8

secretlint - v7.0.7

Published by github-actions[bot] about 1 year ago

What's Changed

Refactoring

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.0.6...7.0.7

secretlint - v7.0.6

Published by github-actions[bot] about 1 year ago

What's Changed

Bug Fixes

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.0.5...7.0.6

secretlint - v7.0.5

Published by github-actions[bot] about 1 year ago

What's Changed

Bug Fixes

Other Changes

Full Changelog: https://github.com/secretlint/secretlint/compare/v7.0.4...7.0.5