Skip to content

Instantly share code, notes, and snippets.

@MaxDac
Created August 31, 2023 17:17
Show Gist options
  • Save MaxDac/dc6a9a7ab1fd9b5e0772a748dbc45deb to your computer and use it in GitHub Desktop.
Save MaxDac/dc6a9a7ab1fd9b5e0772a748dbc45deb to your computer and use it in GitHub Desktop.
Credo efm-langserver configuration
version: 2
tools:
mix_credo: &mix_credo
lint-command: "MIX_ENV=test mix credo suggest --format=flycheck --read-from-stdin ${INPUT}"
lint-stdin: true
lint-formats:
- '%f:%l:%c: %t: %m'
- '%f:%l: %t: %m'
lint-category-map:
R: N
D: I
F: E
W: W
root-markers:
- mix.lock
- mix.exs
languages:
elixir:
- <<: *mix_credo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment