AlCheck

Hex.pmHex DocsHex.pm DownloadsCICoveragecheck --green run

A parallel code quality checker for Elixir projects. Runs format, compile, credo, dialyzer, and tests concurrently with smart test partitioning.

Check out how it works in the live showcase

Features

Installation

Add al_check to your list of dependencies in mix.exs:

def deps do
[
{:al_check, "~> 0.1.0"}
]
end

Then install globally:

mix deps.get
mix check.install
# if you use asdf
asdf reshim

Quick Start

check # Run default checks
check --init # Create .check.json with defaults
check --fast # Run only fast checks (format, compile, credo)
check --only format,test # Run specific checks
check --failed # Re-run only failed tests
check --fix # Apply auto-fixes
check --coverage # Show coverage report
check -v # Show version
check --help # Show all options

Available Checks

CheckCommand
formatmix format --check-formatted
compilemix compile --warnings-as-errors
compile_testMIX_ENV=test mix compile --warnings-as-errors
dialyzermix dialyzer
credomix credo --all
credo_strictmix credo --strict --only readability --all
testmix test (with parallel partitioning)
modified_testsRuns only changed test lines vs base branch (builtin)
modified_test_modulesRuns whole modified test files vs base branch (builtin)

Guides

Documentation

Full API documentation is available at https://hexdocs.pm/al_check.

Requirements

License

This project is licensed under the MIT License - see the LICENSE file for details.