credo
credo copied to clipboard
A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
### Environment * Credo version (`mix credo -v`): 1.7.7-ref.dependabot-hex-gettext-0.26.1.58e9c1b08 * Erlang/Elixir version (`elixir -v`): Elixir 1.17.2 (compiled with Erlang/OTP 26) * Operating system: Ubuntu 22.04.3 LTS ### What were you...
### Environment * Credo version (`mix credo -v`): 1.7.7 * Erlang/Elixir version (`elixir -v`): 1.16.3 * Operating system: OSX 13.6 ### What were you trying to do? Hello, I have...
### Precheck * Proposals for new features should be submitted via: https://github.com/rrrene/credo-proposals * For bugs, please do a quick search and make sure the bug has not yet been reported...
### Environment * Credo version (`mix credo -v`): 1.7.7 * Erlang/Elixir version (`elixir -v`): Erlang 24/Elixir 1.16.3 * Operating system: macos 14.6.1 ### What were you trying to do? use...
[The link](https://github.com/rrrene/credo/blob/master/README.md?plain=1#L52) to Stickler CI redirects to a [domain parking page](https://www.godaddy.com/forsale/stickler-ci.com?utm_source=TDFS_BINNS&utm_medium=parkedpages&utm_campaign=x_corp_tdfs-binns_base&traffic_type=TDFS_BINNS&traffic_id=binns&).
This expands the `Credo.Check.Refactor.FilterFilter` and related checks (`FilterReject`, `RejectFilter`, and `RejectReject`) to detect chains of the `Map` and `Keyword` versions of those functions in addition to `Enum`. Thus, we can...
Hi René! Thanks so much for your work on Credo. It's one of the first things I set up on a new project. ☺️ This PR adds a new condition...
I'm rolling out a custom check slowly and have 68 files to exclude from it initially. The check works fine without exclusions: ``` > mix credo suggest -C ci Checking...
I have the following function component in my project: ```elixir def my_component(assigns) do ~H""" {dbg(assigns)} """ end ``` When I run `mix credo` (with the mentioned check enabled and running...
My take on a fix for #1164 For functions that aren't sigils but begin with "sigil_" it checks the names as it would any other function.