chore: add elixir analyzers #1105

Closed
opened 2026-03-28 04:31:43 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #3029
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/3029
Original created: 2026-03-12T20:07:03Z


Is your feature request related to a problem?

styler notes:

# .credo.exs
checks:[
  # Disable these so they don't fight Styler:
  {Credo.Check.Readability.AliasOrder, false},
  {Credo.Check.Readability.MultiAlias, false},
  {Credo.Check.Readability.BlockPipe, false},
  {Credo.Check.Readability.SinglePipe, false},
  {Credo.Check.Readability.StrictModuleLayout, false},
  {Credo.Check.Readability.StringSigils, false},
  
  # ... keep all other Credo checks enabled
]

If you set this up correctly, your CI (GitHub Actions, GitLab CI, etc.) pipeline should look exactly like this:
mix deps.get && mix deps.compile
mix format --check-formatted (Handles mix format, Styler, and HEEx formatting)
mix compile --warnings-as-errors (Handles native types & built-in warnings)
mix credo --strict (Handles code idioms and complexity)
mix dialyzer (Handles @spec type enforcement)
mix sobelow --config (Handles Phoenix/LiveView security)
mix hex.audit && mix deps.audit (Handles supply chain security)
mix test

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Imported from GitHub. Original GitHub issue: #3029 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/3029 Original created: 2026-03-12T20:07:03Z --- **Is your feature request related to a problem?** - [x] dialyzer - [x] credo - [x] sobelow - [x] https://github.com/adobe/elixir-styler ? - [x] mix_audit - [ ] HexAudit - [x] Boundary - [x] mix xref - [ ] rustywind - [x] https://github.com/dannote/ex_dna - [x] https://github.com/dannote/ex_slop styler notes: ``` # .credo.exs checks:[ # Disable these so they don't fight Styler: {Credo.Check.Readability.AliasOrder, false}, {Credo.Check.Readability.MultiAlias, false}, {Credo.Check.Readability.BlockPipe, false}, {Credo.Check.Readability.SinglePipe, false}, {Credo.Check.Readability.StrictModuleLayout, false}, {Credo.Check.Readability.StringSigils, false}, # ... keep all other Credo checks enabled ] ``` If you set this up correctly, your CI (GitHub Actions, GitLab CI, etc.) pipeline should look exactly like this: mix deps.get && mix deps.compile mix format --check-formatted (Handles mix format, Styler, and HEEx formatting) mix compile --warnings-as-errors (Handles native types & built-in warnings) mix credo --strict (Handles code idioms and complexity) mix dialyzer (Handles @spec type enforcement) mix sobelow --config (Handles Phoenix/LiveView security) mix hex.audit && mix deps.audit (Handles supply chain security) mix test **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/3029#issuecomment-4064730131
Original created: 2026-03-16T02:54:56Z


closing, completed

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/3029#issuecomment-4064730131 Original created: 2026-03-16T02:54:56Z --- closing, completed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#1105
No description provided.