Latest #credo Threads Top

ream88
I’ve been running into DBConnection.ConnectionError: client exited errors in LiveView tests whenever using assign_async/3. The async task...
New
nyakio
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
gperales
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
D4no0
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
mau013
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
bradley
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
mwhitworth
TallariumCredo is a set of custom rules to enforce certain conventions in the company’s codebases that are not covered by existing Credo ...
New
Fl4m3Ph03n1x
Background I have an umbrella app with the following structure: :. ├───mix.exs ├───.mix.lock ├───.credo.exs ├───apps │ └───app1 ... W...
New
dogweather
This code generates a couple of Credo warnings: filtered_paragraphs = paragraphs |> Floki.filter_out("[align=center]"...
New
munksgaard
I have the following context: defmodule Foo.Companies.Company do use Foo.Schema schema "companies" do field :name, :string ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

ream88
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 Top

koushikuk
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
zkessin
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
Sebb
The checks PipeChainStart and ABC-Size allow a parameter excluded_functions. This does not seem to work. https://hexdocs.pm/credo/Credo...
New
Fl4m3Ph03n1x
Background I have an umbrella app with the following structure: :. ├───mix.exs ├───.mix.lock ├───.credo.exs ├───apps │ └───app1 ... W...
New
mau013
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
D4no0
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
bradley
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
mwhitworth
TallariumCredo is a set of custom rules to enforce certain conventions in the company’s codebases that are not covered by existing Credo ...
New
gperales
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
nyakio
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 Top

bsollish-terakeet
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
vrod
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
Fl4m3Ph03n1x
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
PJUllrich
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
siddhant3030
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
mariusbutuc
Several projects are being added under the same umbrella project, and some of them leverage credo. The docs mention that: Credo is con...
New
frigidcode
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
munksgaard
I have the following context: defmodule Foo.Companies.Company do use Foo.Schema schema "companies" do field :name, :string ...
New
mariusbutuc
It seems to me that credo and mix format currently calculate the line length differently. This experiment is running credo --strict ...
New
Fl4m3Ph03n1x
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
Samuel-88
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
arnodirlam
Hi! I want to match an exception in a rescue block, matching it to several exception modules. One of the modules is not defined (becaus...
New
Newxan
Hi! :slight_smile: So I saw that Credo now has support for checking only towards the git diff. credo/CHANGELOG.md at master · rrrene/cre...
New
ubill
Anyone managed to get Atom elixir-credo linter working on-the-fly? I am using linter-elixir-credo from the step 13 in the article here,...
New
xtian
Hey everyone! I wanted to let everyone know about credo_contrib, a little package I put together with some additional checks for the exc...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement