mix check.code (neo_faker v0.13.0)
View SourceRuns a series of code quality checks: formatting, testing, static analysis, and linting.
This Mix task executes the following commands sequentially:
mix format- Ensures code is properly formatted.mix test- Runs the test suite to verify correctness.mix dialyzer- Performs static analysis to detect type errors.mix credo- Checks for code style and best practices.
Requirements
Contributors MUST run this task before submitting a Pull Request (PR). All checks must pass to maintain code quality, consistency, and correctness.
Usage
mix check.codeNotes
- If any command fails, the process will stop, and the corresponding error must be resolved.
- Running
mix dialyzermay take longer on the first run due to PLT building.