Skip to content

Elixir project template for code consistency, quality, and security — ready-to-use with tests, linting, Dialyzer, coverage, docs, security checks, and Hex audits.

License

Notifications You must be signed in to change notification settings

PanyPy/elixir-ensure-consistency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnsureConsistency

A ready-to-use and reference Elixir project template for code consistency, quality, and security. This template brings together Elixir tools and best practices for ensuring your codebase remains clean, consistent, and maintainable — before you even start writing application logic.

It includes:

  • Code formatting via mix format.
  • Linting & style checks with Credo.
  • Static type analysis using Dialyzer.
  • Test coverage reports with ExCoveralls.
  • Documentation with ExDoc.
  • Security auditing via Sobelow.
  • Dependency vulnerability check using mix hex.audit.

Getting Started

Clone this repository if you want to give it a try:

git clone [email protected]:PanyPy/elixir-ensure-consistency.git
cd my_app
mix deps.get

Run All Consistency Checks

Run all quality and consistency checks in one go:

MIX_ENV=ci mix ensure_consistency

Learn More

This project was inspired by concepts from Adopting Elixir and aims to provide a practical foundation for building maintainable Elixir systems from day one.

For more details, see the full article: Ensuring Code Consistency with Elixir

About

Elixir project template for code consistency, quality, and security — ready-to-use with tests, linting, Dialyzer, coverage, docs, security checks, and Hex audits.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages