_russellb

_russellb

Ale linting with vim

Does anyone have ale linting with live reload working for phoenix projects? If so can you tell me how you fixed the issue?

First Post!

NobbZ

NobbZ

Which issue?

Most Liked

NobbZ

NobbZ

Just guessing but it might be solvable by running the linters in its own mix env. Because lintung causes recompiling. If though the printer compiles faster then Phoenix, it doesn’t see anything to recompile as all beam files are newer as their source files when phoenix gets aware of the change of the source. I do assume similar problems with other editors and linters, but I do not use any lint integration for mine (except for compiling errors), nor do I currently do phoenix.

You’'ll probably need to change the source of your plugin to test, to make it run mix credo with MIX_ENV=lint, you’ll also need to provide conf/lint.exs, which can be a copy of conf/dev.exs for the test.

Last Post!

gregvaughn

gregvaughn

Interesting! I’ll have to give that a try when I get some spare time.

Where Next?

Popular in Questions Top

vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement