Latest #credo Threads 
It’s time to introduce metacredo — the tool heavily inspired by Credo, but running on MetaAST.
MetaCredo operates on the MetaAST repres...
New
While I am working on the Language Agnostic Code Audit SaaS, which uses MetaAST (spoiler: I am expecting it to be in a good shape for ann...
New
has anyone written custom Credo rules for projects using the Ash framework? Either existing rules or ideas that help enforce common Ash p...
New
I’ve been running into DBConnection.ConnectionError: client exited errors in LiveView tests whenever using assign_async/3. The async task...
New
Has anyone written a credo rule that will forbid calling schedule_in with a raw number?
i.e. instead of:
new(arguments, schedule_in: 60...
New
We use custom checks in one of our projects but would like to use them in other projects as well. What is the best way to package this fo...
New
Hi folks!
With the new release of Elixir 1.18, I would like to enforce pattern-matching by struct in our projects to take advantage of t...
New
I have a project currently that I want to ban calls to some functions. Currently, all of those functions are either from a library or sta...
New
Hi everyone,
I have just added Credo to my project and I really liked it. I would like to take it a step further and implement further c...
New
credo_ignore_file_plugin
I’m excited to share the credo_ignore_file_plugin for Elixir. This plugin adds a .credoignore file to your proje...
New
This Week's Trending
While I am working on the Language Agnostic Code Audit SaaS, which uses MetaAST (spoiler: I am expecting it to be in a good shape for ann...
New
This Month's Trending
This Year's Trending
has anyone written custom Credo rules for projects using the Ash framework? Either existing rules or ideas that help enforce common Ash p...
New
It’s time to introduce metacredo — the tool heavily inspired by Credo, but running on MetaAST.
MetaCredo operates on the MetaAST repres...
New
I’ve been running into DBConnection.ConnectionError: client exited errors in LiveView tests whenever using assign_async/3. The async task...
New
Last Three Year's Trending
I am using mix credo -a to check code readably. But I am getting multiple message as “Modules should have a @moduledoc tag.” I am not sur...
New
I want to add Credo to an existing project, and of course, when it runs it flags a lot of problems. What I want to know is there a built-...
New
The checks PipeChainStart and ABC-Size allow a parameter excluded_functions.
This does not seem to work.
I have this function credo d...
New
Hi everyone,
I have just added Credo to my project and I really liked it. I would like to take it a step further and implement further c...
New
Background
I have an umbrella app with the following structure:
:.
├───mix.exs
├───.mix.lock
├───.credo.exs
├───apps
│ └───app1
...
W...
New
I have a project currently that I want to ban calls to some functions. Currently, all of those functions are either from a library or sta...
New
Has anyone written a credo rule that will forbid calling schedule_in with a raw number?
i.e. instead of:
new(arguments, schedule_in: 60...
New
TallariumCredo is a set of custom rules to enforce certain conventions in the company’s codebases that are not covered by existing Credo ...
New
credo_ignore_file_plugin
I’m excited to share the credo_ignore_file_plugin for Elixir. This plugin adds a .credoignore file to your proje...
New
Hi folks!
With the new release of Elixir 1.18, I would like to enforce pattern-matching by struct in our projects to take advantage of t...
New
We use custom checks in one of our projects but would like to use them in other projects as well. What is the best way to package this fo...
New
Trending Over Three Years
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
Background
Recently I joined a new project in and I immediately saw some improvements could be done.
It so happens that many of these i...
New
Background
Recently I decided to do a Mix Task to run some script files in the project. Being my first Mix Task, I followed a tutorial an...
New
I have put some module attributes in my tests for easier reference, like this
@example Application.fetch_env!(:my_app, :thing)
but I no...
New
I am trying to integrate Credo checks into my VSCode setup, but for the love of god, I cannot make it work. Here’s what I’ve done:
Add ...
New
I have a case statement that is failing in credo. Giving me this error
“Function body is nested too deep” I know we can use “with” here ...
New
Several projects are being added under the same umbrella project, and some of them leverage credo.
The docs mention that:
Credo is con...
New
Does anyone have a Github action that will run Credo (or any command) against only the changed files for the branch/pull request? If so, ...
New
Some time ago GitHub announced Actions (still in beta, but with public access) that is like built-in CI service with great integration in...
New
I have the following context:
defmodule Foo.Companies.Company do
use Foo.Schema
schema "companies" do
field :name, :string
...
New
Apparently Credo considers single-clause with statements with an else branch a readability issue. I’m curious, what’s everybody’s opinion...
New
It seems to me that credo and mix format currently calculate the
line length differently.
This experiment is running
credo --strict (...
New
Background
Following my question on Umbrella projects:
I know have it clear that the mix.exs file of my umbrella should be for general...
New
We have been building digital products with Elixir and contributing to the community since 2014. We had a team goal to open-source the bo...
New
Hello all,
I tried to find what is the correct ordering of public and private functions in a module but I could not find an official ans...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








