alexskrypnyk/shell-var-lint

This package is abandoned and no longer maintained. No replacement package was suggested.

Lint and fix shell vars to ${VAR} format.

0.3.0 2023-12-18 06:28 UTC

This package is auto-updated.

Last update: 2024-03-07 22:37:46 UTC


README

The functionality of this utility was moved to https://github.com/AlexSkrypnyk/shellvar

Project logo

shell-var-lint

GitHub Issues GitHub Pull Requests Test codecov GitHub release (latest by date) LICENSE Renovate

Lint and fix shell vars to ${VAR} format.

Features

  • Report on shell variables that are not in ${VAR} format.
  • Fix shell variables that are not in ${VAR} format.

Installation

composer require --dev alexskrypnyk/shell-var-lint

Usage

# Lint file.
vendor/bin/shell-var-lint <file>

# Fix file.
vendor/bin/shell-var-lint <file> --fix

Maintenance

composer install
composer lint
composer test